1Z0-409 Oracle Linux Fundamentals Practice Exam Set 2

You have a file named newbackup on the server1.example.com server. To download the file
through lftp as user bob, you issued the following command:
[bob@station2 ~]$ lftp ftp.server1.example.com/pub/> get newbackup &
After a while, before the download is completed, you quit lftp. Which statement about lftp holds
true in this context?


Options are :

  • It will continue to run in the background until the entire file has been downloaded (Correct)
  • It ignores the quit signal and continues the download until it completes it.
  • It will continue to run in the background but stops downloading the file.
  • It will run as a foreground process until the file is downloaded completely and then quits.

Answer : It will continue to run in the background until the entire file has been downloaded

1Z0-517 Oracle EBS R12.1 Payables Essentials Practice Exam Set 2

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?


Options are :

  • The MD5 signature, file size, and modification time have changed. (Correct)
  • The user ownership, group ownership and file type have changed
  • The permissions, group ownership and file type have changed
  • The permissions, user ownership, and file type have changed.

Answer : The MD5 signature, file size, and modification time have changed.

The user smith issued the egrep "^[[:upper:]]" words.txt command.
What does this command do?


Options are :

  • displays all lines in the words.txt file that contains an uppercase letter
  • displays all lines in the words.txt file after translating uppercase letters to lowercase
  • displays all lines in the words.txt file after translating lowercase letters to uppercase
  • displays all lines in the words.txt file that begins with an uppercase letter (Correct)

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

Which statements are true about a source RPM? (Choose all that apply.)
A. Source RPM cannot be used to build a binary rpm.
B. Source RPMs can be compiled and installed directly.
C. Source RPMs allow to customize the package for a particular CPU.
D. Source RPM does not contain information about how to install the software.


Options are :

  • A,B
  • D,A
  • C,D
  • B,C (Correct)

Answer : B,C

As user smith you want the CPU utilization of all the users logged on to server1 server. You want
the information available automatically as soon as you login to the bash login shell and want the
information available only to smith. What would you do on server1, which has all the default shell
configuration files, to accomplish the task?


Options are :

  • Add the who command to ~/.profile file.
  • Add the w command to ~/.profile file.
  • Add the w command to ~/.bash_profile file (Correct)
  • Add the who command to ~/.bash_profile file.

Answer : Add the w command to ~/.bash_profile file

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


Options are :

  • /usr/share/info/man
  • /usr/man/share/locale
  • /usr/share/man (Correct)
  • /usr/share/locale/man

Answer : /usr/share/man

You have downloaded a DOS-formatted text file through anonymous ftp using binary transfer
mode to your Linux machine. What impact does this have on the downloaded text file?


Options are :

  • The text file gets corrupted because of incompatibility in the format.
  • The text file is stripped off the line feed character.
  • The text file is stripped off the carriage return.
  • The text file does not undergo any processing because of the binary transfer mode (Correct)

Answer : The text file does not undergo any processing because of the binary transfer mode

1Z0-520 Oracle EBS R12.1 Purchasing Essentials Practice Test Set 5

You have executed the following command as root user:
find /home | cpio -o -H tar -F root@stationX:/dev/nst0 --rsh-command=/usr/bin/ssh
What could be the purpose of issuing this command?


Options are :

  • to archive the contents of the /home directory in cpio and tar format to a remote machine's tape drive
  • to archive the contents of the /home directory in tar format to a remote machine's tape drive (Correct)
  • to archive the contents of the /home directory in cpio format to a remote machine's tape drive
  • to archive the contents of the /home directory to the remote machine's tape drive

Answer : to archive the contents of the /home directory in tar format to a remote machine's tape drive

You have created the user smith on your Linux machine. What is the default location of smith's mail spool on the machine?


Options are :

  • /var/spool/mail/smith. (Correct)
  • /var/spool/smith/mail.
  • /var/mail/smith/spool.
  • /var/mail/spool/smith.
  • ~smith/mbox.

Answer : /var/spool/mail/smith.

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?


Options are :

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

Answer : While logging out by selection, log out from the action menu. Click the save current setup option.

1Z1-574 Oracle IT Architecture Essentials Practice Exam Set 5

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?


Options are :

  • The share will be accessed with the credentials of bob without being prompted for a password (Correct)
  • bob will be prompted for a password to access the share
  • All the shares on server1 accessible to bob will be displayed.
  • All the samba shares on server1 will be displayed.

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

You have logged in at the tty1 terminal on your local machine and want to display all the child
processes that have an associated terminal. Which command would help you achieve this task?


Options are :

  • ps
  • ps -e
  • ps a
  • ps -a (Correct)

Answer : ps -a

The user scott issues the cp -f ~/file1 /tmp/dir2 command. Which of these statements are true
about this command? (Choose all that apply.)
A. The /root/file1 file is copied to the /tmp/dir2 directory.
B. If /tmp/dir2 exists and is a file, it will be overwritten by file1.
C. The file1 file is copied from scott's home directory to /tmp/dir2.
D. If /tmp/dir2 does not exist, ~/file1 will be copied as /tmp/file1.


Options are :

  • A,C
  • A,B
  • D,C
  • B,C (Correct)

Answer : B,C

1Z0-517 Oracle EBS R12.1 Payables Essentials Practice Exam Set 5

Which statements are correct about a command shell? (Choose all that apply.)
A. It initializes synchronous interrupts.
B. It enables task automation using scripts.
C. It handles all communications with devices attached to the system.
D. It handles interaction between the user and the kernel when a user is operating at the
command line.


Options are :

  • C,D
  • D,C
  • A,D
  • B,D (Correct)

Answer : B,D

Which statements are true about xauth? (Choose all that apply.)
A. It stores all tokens in a file on the system.
B. It must be available to use X11 forwarding.
C. It distributes token on a host-by-host basis.
D. It can be used to control token-based access control.
E. It is not possible to install just xauth without installing the entire X server.


Options are :

  • B,C,D
  • B,D,C
  • A,B,C
  • A,B,D (Correct)

Answer : A,B,D

You have opened a file called newfile.txt in the vi editor and in command mode, you enter :0,$
s/hello/init/g. What could be the purpose of issuing this command?


Options are :

  • to replace the word init with the word hello globally in the newfile.txt file
  • to replace the word hello with the word init globally in the newfile.txt file (Correct)
  • to delete all the lines containing the word hello and init in the newfile.txt file
  • to replace the word hello with the word init from the cursor position in the newfile.txt file

Answer : to replace the word hello with the word init globally in the newfile.txt file

1Z0-518 Oracle EBS R12 Receivables Essentials Practice Exam Set 3

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


Options are :

  • to ensure application-level diversity
  • to avoid POSIX Compliance
  • to ensure compatibility among distributions (Correct)
  • to avoid interoperability

Answer : to ensure compatibility among distributions

Which statement is true about a normal user created with UID less than 500?


Options are :

  • The user will have the privilege to mount and unmount file systems
  • The user will have all normal user features like home directory, shell, and so on, by default. (Correct)
  • The user will be restricted from logging in to the system because the UID < 500 is reserved for system users or pseudo accounts
  • The user account can be used only for system service-related tasks
  • The user will not have an interactive login shell.

Answer : The user will have all normal user features like home directory, shell, and so on, by default.

You have the ps program and several child processes running in the tty1 terminal. What signal will
the child processes receive if the tty1 terminal is killed?


Options are :

  • SIGSTOP
  • HUP (Correct)
  • SIGTERM
  • SIGINT

Answer : HUP

1Z1-574 Oracle IT Architecture Essentials Practice Exam Set 3

Your system is running in text-based mode. During the next reboot, you want it to directly boot into
the graphical mode. How would you achieve this task?


Options are :

  • Edit the configuration file /etc/inittab and change the default run level to 5. (Correct)
  • Edit the configuration file /etc/inittab and change the default run level to 1.
  • Edit the configuration file /etc/inittab and change the default run level to 6.
  • Edit the configuration file /etc/inittab and change the default run level to 3.

Answer : Edit the configuration file /etc/inittab and change the default run level to 5.

Which three statements are true about the mount command? (Choose three.)
A. It supports labels for mounting.
B. It can be used only by root to mount the local file system.
C. By default it can be used by an ordinary user to mount the local file system.
D. It will list all the currently mounted file systems, if executed without any arguments.
E. It will list only the file systems listed in /etc/fstab if executed without any arguments


Options are :

  • B,E,C
  • A,B,C
  • B,D,C
  • A,B,D (Correct)

Answer : A,B,D

1Z0-409 Oracle Linux Fundamentals Practice Test Set 3

The user smith issued the egrep "^[[:alnum:]]{4,}$" file1.txt | wc -l command. What would be the
expected output from this command?


Options are :

  • the total number of lines that have 4 or more characters (Correct)
  • the total number of words that are shorter than 4 characters
  • the total number of lines that are shorter than 4 characters
  • the total number of words that have 4 or more characters

Answer : the total number of lines that have 4 or more characters

After logging in as root, you want to install a new kernel. How would you install the new kernel?


Options are :

  • Upgrade the existing kernel with the new kernel using the -U option with the rpm command
  • Install the new kernel by using rpm with the -i option (Correct)
  • Install the new kernel by using rpm with the --force option
  • Install the new kernel by using rpm with the --F option

Answer : Install the new kernel by using rpm with the -i option

Observe the script below:
echo " Enter your name : "
read name
echo " Hello $name , Good Morning. "
What does read do in this script? (Choose all that apply.)
A. It will store the input in the name variable.
B. It will accept only file name as the input.
C. It will make the script stop execution if numbers are given as input.
D. It will make the program pause till the input is given through the standard input.


Options are :

  • A,C
  • A,D (Correct)
  • D, A
  • A,B

Answer : A,D

1Z0-520 Oracle EBS R12.1 Purchasing Essentials Practice Test Set 5

View the script given below:
for i in $(seq 5)
do
echo $i
done
What is the output of this script?


Options are :

  • 5 4 3 2 1
  • 1 2 3 4 5
  • 54321
  • 12345 (Correct)

Answer : 12345

You are writing a script and add the following line at the beginning of the script:
#!/bin/bash
What implications does this have on the shell script if the script is called directly at the c shell
prompt?


Options are :

  • The script will be executed using bash as the shell interpreter (Correct)
  • The current shell will attempt to parse and execute the script
  • The script will treat the line as a comment.
  • The script will be executed using bourne as the shell interpreter

Answer : The script will be executed using bash as the shell interpreter

Match the bash file with its description:
File name Description
1. .bash_history a. a list of commands to be executed when you log in
2. .bash_logout b. contains a list of commands that is executed every time you open a new shell\                                                    3. .bash_profile c. keeps a list of the commands you have been typing                                                                                                  4. .bashrc d. a list of auto run commands to be executed when you leave the shell


Options are :

  • 1-b, 2-c, 3-d, 4-a
  • 1-b, 2-c, 3-a, 4-d
  • 1-c, 2-d, 3-b, 4-a
  • 1-c, 2-d, 3-a, 4-b (Correct)

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

1Z1-574 Oracle IT Architecture Essentials Practice Exam Set 8

Match the following backslash-escaped characters with their description:
1. \c a. newline
2 . \v b. carriage return
3 . \r c. vertical tab
4 . \n d. suppressing trailing newline


Options are :

  • 1-d, 2-c, 3-b, 4-a (Correct)
  • 1-a, 2-b, 3-d, 4-c
  • 1-b, 2-d, 3-c, 4-a
  • 1-c, 2-b, 3-a, 4-d

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

bob wants to send the contents of the /project/javaclass file to smith using mail through the
command line. Which command would help him achieve the task?


Options are :

  • mail smith@example.com > /project/javaclass
  • mail smith@example.com < /project/javaclass. (Correct)
  • mail smith@example.com >> /project/javaclass
  • mail smith@example.com << /project/javaclass.

Answer : mail smith@example.com < /project/javaclass.

Match the following rpm options with their functions:
1. -i a. replaces any older versions of a package with the new package
2. -U b. upgrades packages, but only if an earlier version exists on your system                                                                                  3. -F c. uninstalls the specified package                                                                                                                                                      4. -e d. installs a new package


Options are :

  • 1-d, 2-b, 3-a, 4-c
  • 1-a, 2-c, 3-b, 4-d
  • 1-d, 2-a, 3-b, 4-c (Correct)
  • 1-a, 2-b, 3-c, 4-d

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

1Z0-520 Oracle EBS R12 Purchasing Essentials Practice Exam Set 8

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions