Oracle Linux Fundamentals (Oracle PartnerNetwork) v4.0 (1z0-409)

Page:    1 / 16   
Total 230 questions

As a root user you execute the commands as shown below:
[root@station1]# a=$((10 % 4 + 6 * 2))
[root@station1]# echo $a
What would be the output of the echo statement?

  • A. 2
  • B. 12
  • C. 14
  • D. 10


Answer : C

You executed the following command to verify the integrity of sendmail:
[root@station1 ~]# rpm -Va sendmail
.......T. c /etc/mail/sendmail.cf
S.5....T. c /var/log/mail/statistics
[root@station1 ~]#
What do infer about the /var/log/mail/statistics file from the output?

  • A. The permissions, user ownership, and file type have changed.
  • B. The permissions, group ownership and file type have changed.
  • C. The user ownership, group ownership and file type have changed.
  • D. The MD5 signature, file size, and modification time have changed.


Answer : D

You have the copy of all the rpms in the /RPMS directory on your local Linux machine.
After logging in as root and changing to the /RPMS directory, you try to install the mysql package using the rpm command. You end up with an error message as shown below:
Error: Failed dependencies: Perl(DBI) is needed by mysql.
How would you overcome this error and install mysql successfully by resolving the dependencies?

  • A. by installing the software using rpm with the -F option
  • B. by installing the software using rpm with the --aid option
  • C. by installing the software using rpm with the --force option
  • D. by installing the software using rpm with the --nodeps option


Answer : B

View the Exhibit.
As bob you have logged in at the tty1 terminal and run the commands as shown in the
Exhibit. You want to list the background jobs in the current terminal and issue the jobs command.
Which statement is true in this context?

  • A. The plus sign indicates the previous job.
  • B. The plus sign indicates the last stopped job.
  • C. Only the job with a minus sign can be made to run in the foreground again.
  • D. Only the job with a plus sign can be made to run in the foreground again.


Answer : B

You have opened three terminals and the Firefox browser at Graphical User Interface
(GUI). How can you ensure that the same applications and windows start on your next login to GUI?

  • A. While logging out, save the settings in the ~/.Xresources file.
  • B. While logging out, use the hot key, [Control] + [Alt] + [Backspace].
  • C. While logging out, use the kill command with signal 12 to kill gdm-binary.
  • D. While logging out by selection, log out from the action menu. Click the save current setup option.


Answer : D

The user smith , whose primary group is smith, would like to create a file in his home directory, which belongs to the group apps.
Which two statements are correct? (Choose two.)

  • A. SGID should be set on the destination directory to let users create files that belong to the group other than their primary group.
  • B. The user smith could create a file that belongs to the apps group only if his private group is the apps group as per /etc/group.
  • C. The user smith could use the newgrp command to log in to the apps group and his private group will be changed to apps group for a particular session if his name is listed in /etc/group as a member of apps group.
  • D. The user smith could use the newgrp command to log in to the apps group, but a password is required to change his private group to apps group for a particular session if his name is not listed in /etc/group as a member of apps group.


Answer : C,D

Which system help facility gives the help page exactly as using -k switch with man?

  • A. info
  • B. whatis
  • C. apropos
  • D. --help option with the command


Answer : C

Where do the manual (man) pages for all commands reside in the File System Hierarchy
(FSH)?

  • A. /usr/share/man
  • B. /usr/share/info/man
  • C. /usr/man/share/locale
  • D. /usr/share/locale/man


Answer : A

Match the mpage options with their functionalities.
1. mpage -r a. toggle printing on both sides of the paper (duplex mode)
2. mpage -t b. print in landscape mode instead of the default portrait
3. mpage -l c. reverse the order in which the pages are printed

  • A. 1-c, 2-a, 3-b
  • B. 1-b, 2-c, 3-a
  • C. 1-c, 2-b, 3-a
  • D. 1-b, 2-a, 3-c


Answer : A

What are the extra features that the Bourne Again Shell (bash) has compared to the
Bourne Shell (sh)? (Choose all that apply.)

  • A. background exit status
  • B. read values from the terminal
  • C. combine STDOUT and STDERR
  • D. file name completion and command history
  • E. allows functions and variables with the same name
  • F. expansion of positional parameters beyond $9 with ${num}


Answer : D,E,F

Match the following arguments with their actions when used with the find command:
1) -print a) Allows a command to be run against each matching file
2) -ls b) Is the default action and displays matches
3) -exec c) Displays full details on matches
4) -ok d) Can be used when you want a confirmation prompt

  • A. 1-b, 2-c, 3-a, 4-d
  • B. 1-b, 2-a, 3-d, 4-c
  • C. 1-c, 2-a, 3-b, 4-d
  • D. 1-c, 2-d, 3-a, 4-b


Answer : A

Which statement is true about the privileges granted to a user with the UID of 0?

  • A. The system ignores privileges to modify software installed on the system.
  • B. Privileges are granted as per the permissions set on every file and device known to the system.
  • C. Privileges are granted only to read most of the configuration files and documentation files in the system directories, not modify them.
  • D. The system ignores all permissions when responding to commands from the user and provides read and write permissions to every file and device known to the system.


Answer : D

View the Exhibit.
As the user bob, you list all the background jobs using the jobs command. You want to bring the last job stopped into the foreground. Which three commands would you use to achieve this task? (Choose three.)

  • A. fg
  • B. %2
  • C. %3
  • D. %1
  • E. fg 2
  • F. fg 3
  • G. fg 1


Answer : A,C,F

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


Answer : D

Match the following Regular Expression Character classes with their class descriptions:
1) [:alnum:] a) match all control characters
2) [:alpha:] b) match all printable characters (not including space)
3) [:graph:] c) match all letters and digits
4) [:print:] d) match all letters
5) [:cntrl:] e) match all printable characters

  • A. 1-d, 2-c, 3-b, 4-e, 5-a
  • B. 1-c, 2-d, 3-e, 4-a, 5-b
  • C. 1-d, 2-c, 3-e, 4-b, 5-a
  • D. 1-c, 2-d, 3-b, 4-e, 5-a


Answer : D

Page:    1 / 16   
Total 230 questions