Exit demo 1Z0-402 Oracle Enterprise Linux: Fundamentals PDF format · free preview

Oracle 1Z0-402 - Questions & Answers

Free preview · every answer includes a full explanation

Product page: https://prepkeys.com/1z0-402.html

Question 1
Single choice

Identify the true statement about configure script.

A.

It depends on make to create the Makefiles.

B.

It creates the necessary Makefiles based on the user information.

C.

It creates the required directories and subdirectories on the system.

D.

It does not depend on the autoconf tool for the package installation.

Question 2
Single choice

You have logged in as a normal user bob and use write and wall to chat with other users.

How are you able to chat with other user terminals?

A.

because the SGID bit is set on both the write and wall commands, and the group ownership

is set to root

B.

because the SUID bit is set on both the write and wall commands, and the group ownership

is set to tty

C.

because the SUID bit is set on both the write and wall commands, and the group ownership

is set to root

D.

because the SGID bit is set on both the write and wall commands, and group ownership is set

to tty

Question 3
Single choice

The user smith issued the egrep "^[[: upper:]]" words.txt command.

What does this command do?

A.

displays all lines in the words.txt file that contains an uppercase letter

B.

displays all lines in the words.txt file that begins with an uppercase letter

C.

displays all lines in the words.txt file after translating uppercase letters to lowercase

D.

displays all lines in the words.txt file after translating lowercase letters to uppercase

Question 4
Multiple choice

User smith on station2 is trying to chat with the remote user bob on station1 using the talk command, smith receives an error message as shown below:

[smith@station2 ~]$talk [email protected]
[No connection yet]
[ Error on read from talk daemon: Connection refused ]
[smith@station2 ~]$

What can the root user do to resolve the issue? (Choose two.)

A.

let smith retry talk by reading from STDIN and sending to bob

B.

let smith retry talk after changing the group of talk command to tty

C.

let smith retry the talk request with UDP port 518 open on both systems

D.

let smith retry talk after restarting the xinetd service with ntalk enabled on both systems

E.

let smith retry talk after restarting the network service with the UDP port 517 blocked on

both systems

Question 5
Single choice

Which command could user smith use to change the time stamps of the file1 and dir1 given below, to the current system time?

[smith@server1 ~]$ Is -I
-rw-rw-r--1 smith smith 6 Jan 20 10:01 file1
drwxrwxr-x 2 smith smith 4096 Jan 20 10:54 dir1

A.

cat

B.

stat

C.

time

D.

file

E.

touch

Question 6
Single choice

The /projects directory is being shared by server1 with the share name datashare through samba.
To access the shared directory as bob you issue the following command:
smbclient //server1/datashare -U 'bob%foouser'

What happens when you execute the command?

A.

All the samba shares on server1 will be displayed.

B.

Bob will be prompted for a password to access the share.

C.

All the shares on server1 accessible to bob will be displayed.

D.

The share will be accessed with the credentials of bob without being prompted for a

password.

Question 7
Single choice

What would be the output of the nested for loop given below?
for(( r=1; i<=5; i++ ))
do
for(( i=1; j<=i; j++ ))
do
echo -n "$j"
done
echo " "
done

A.

1
12345

B.

12345

C.

12345
12345
12345
12345
12345

D.

12345
12345

Question 8
Single choice

Why is a Linux operating system always developed and released under a common standard known as Linux Standard Base (LSB)?

A.

to avoid interoperability

B.

to avoid POSIX Compliance

C.

to ensure application-level diversity

D.

to ensure compatibility among distributions

Question 9
Single choice

Match the following shell special characters with their usage:
1.
\ a. used in pairs to quote other special characters so they will not be interpreted by the

shell or to embed blanks
2.
' ? b. variable substitution
3.
{} ~  c. used to escape the special meaning of the next character
4.
$    d. wildcard file name expansion
A.

1-c, 2-b, 3-a, 4-d

B.

1-b, 2-d, 3-c, 4-a

C.

1-c, 2-a, 3-d, 4-b

D.

1-c, 2-a, 3-b, 4-d

E.

1-d, 2-a, 3-c, 4-b

F.

1-d, 2-c, 3-b, 4-a

Question 10
Single choice

As an administrator, you mounted the /exports/projects NFS exported directory from a server on a LAN using the default NFS settings. You find the performance to be low.

Which NFS mount options can you use to increase the performance?

A.

set rsize=8192 and wsize=8192.

B.

set rsize=32768 and wsize=32768.

C.

set wsize=8192 and keep the read packet size at the default.

D.

set rsize=8192 and keep the write packet size at the default.

E.

set rsize=32768 and keep the write packet size at the default.

F.

set wsize=32768 and keep the read packet size at the default.

Showing 10 of 223 questions · Unlock the full set