1Z0-409 Oracle Linux Fundamentals Practice Test Set 5

You located a file created in /home successfully by using the slocate command. You found that the slocate command could locate that file even after deletion. What could be the possible solution to stop listing deleted files? (Choose all that apply.)
A. Run updatedb to update the database.
B. Run slocate -u to update the database.
C. Use the locate command instead of slocate.
D. Delete the /var/lib/slocate/slocate.db file because it buffers all search results.
E. Reboot the system so that it will update the kernel memory because the kernel stores all results in the memory. 


Options are :

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

Answer : A,B

What are the improvements of vim over vi? (Choose all that apply.)
A. multi-level undo
B. online help system
C. command-line completion
D. multiple windows and buffers
E. supports using arrow keys in command mode
F. search and replace operations in command mode


Options are :

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

Answer : A,B,C,D

OCP Oracle 12C Advanced Administration(1Z0-063) Set 1

The user smith executes the following command: awk -F: '/bash$/ {nlines++; print $1;} END {print "\n", nlines}' /etc/passwd. What could be the purpose of using this command?


Options are :

  • to print and count the names of the users who use the bash shell (Correct)
  • to print all lines in /etc/passwd that ends with bash
  • to print the total number of lines in /etc/passwd that ends with bash
  • to print the name of all normal users in /etc/passwd

Answer : to print and count the names of the users who use the bash shell

You want to access data relevant to some running processes in the system. Which directory contains the system information describing the system and processes (for example, PID files) since the system was booted?


Options are :

  • /sys
  • /proc
  • /var/run (Correct)
  • /srv

Answer : /var/run

You have logged in as root and have invoked the mount command without any options to mount the device /dev/hda8 mount /dev/hda8 What does mount do in this context? (Choose two.)
A. It checks the /etc/mtab for the required options to mount the device. B. It checks the /etc/fstab for the required options and the mount point to mount the device.
C. It checks the /etc/inittab for the required options and the mount point to mount the device.
D. It reports an error message "mount point doesn't exist" if the entry for /dev/hda8 doesn't exist in the /etc/fstab file.


Options are :

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

Answer : B,D

OCA Oracle Database 11g Administrator Certified Associate Set 3

What is the effect of issuing ZZ and ZQ in the vi editor command mode?


Options are :

  • The command ZZ will save changes and exit, whereas ZQ will exit the editor without saving changes (Correct)
  • The command ZZ will thrash all changes, whereas ZQ will ask for confirmation before saving.
  • The command ZZ will exit the editor without saving changes, whereas ZQ will save changes and exit
  • The command ZZ will zoom in the vi editor command mode and ZQ will zoom out the view
  • None

Answer : The command ZZ will save changes and exit, whereas ZQ will exit the editor without saving changes

Match the following file redirection operators with their functions:
1) < a) redirects STDOUT to a file (overwrite)
2) > b) redirects STDIN from a file
3) >> c) redirects both STDOUT and STDERR
4) 2> d) redirects STDOUT to a file (append) 5) 2>> e) redirects STDERR to a file (overwrite)
6) &> f) redirects STDERR to a file (append)
7) 2>&1 g) redirects both STDOUT and STDERR


Options are :

  • 1-c, 2-a, 3-d, 4-f, 5-e, 6-g, 7-b
  • 1-b, 2-a, 3-d, 4-e, 5-f, 6-c, 7-g (Correct)
  • 1-c, 2-e, 3-f, 4-a, 5-d, 6-b, 7-g
  • 1-b, 2-e, 3-f, 4-a, 5-d, 6-g, 7-c

Answer : 1-b, 2-a, 3-d, 4-e, 5-f, 6-c, 7-g

Which statements are true about the File Extensions? (Choose all that apply.)
A. File extensions are just part of the file name.
B. File extensions are cared by all applications.
C. File content depends upon the file extensions.
D. File extensions do not always say what the file is.
E. File extensions have no special meaning to the kernel. 


Options are :

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

Answer : A,D,E

1Z0-516 Oracle EBS R12 General Ledger Essentials Exam Set 8

Examine the following output:  [root@station1]ps -f UID PID PPID C STIME TTY TIME CMD root 3944 3820 1 03:32 tty1 01:57 -bash root 3984 3944 0 03:32 tty1 01:57 ksh root 3985 3984 0 03:32 tty1 01:57 ps -f Which columns would you analyze to find the most recently invoked shell?


Options are :

  • Analyze both the PID and PPID. (Correct)
  • Analyze only the PID
  • Analyze only the UID
  • Analyze only the PPID

Answer : Analyze both the PID and PPID.

You want to check any particular user is consuming a large amount of CPU. Which command would you use to check the CPU used by a user?


Options are :

  • free
  • users
  • w (Correct)
  • who

Answer : w

As root user you have set the environment variable HISTIGNORE="ls:man:pwd:cat" with the other history-related shell variables at their default. What impact does it have on shell history?


Options are :

  • History will ignore only the commands, issued with any valid switch, listed in the HISTIGNORE variable.
  • History will save only the first occurrence of the commands listed in the HISTIGNORE variable
  • History will save only the first occurrence of the commands, issued with any valid switch, listed in the HISTIGNORE variable
  • History will ignore only the commands listed in the HISTIGNORE variable. (Correct)

Answer : History will ignore only the commands listed in the HISTIGNORE variable.

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

You are planning to add the new printer1 print queue and also want to make it the default print queue. Which of the following two commands would help you achieve the task? (Choose two.)
A. lpadmin -d printer1.
B. lpadmin -x printer1.
C. lpadmin -p printer1 -E parallel:/dev/lp0.
D. lpadmin -p printer1 -E -v parallel:/dev/lp0.


Options are :

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

Answer : A,D

User scott issued the following command at the bash prompt: [scott@station1 ~]$read -t15 -n10 -s DAX
What is the purpose of issuing this command?


Options are :

  • to make the read statement provide 15 seconds to enter a minimum of 10 characters echoing onto the terminal
  • to make the read statement provide 15 seconds to enter a minimum of 10 characters withoutechoing onto the terminal
  • to make the read statement provide 15 seconds to enter up to 10 characters silently (no echo to terminal) into the $DAX variable (Correct)
  • to make the read statement provide 15 seconds to enter up to 10 characters, echoing onto to terminal, into the $DAX variable

Answer : to make the read statement provide 15 seconds to enter up to 10 characters silently (no echo to terminal) into the $DAX variable

Which command would you use to save the name of all the users in your system in alphabetical order to a newfile file after removing the duplicate entries?


Options are :

  • cut -f1 -d: < /etc/passwd | sort | uniq | less < new file
  • cut -f1 -d: /etc/passwd | sort -a | uniq | new file
  • cut -f1 -d: /etc/passwd | sort | uniq | > new file
  • cut -f1 -d: /etc/passwd | sort -d | uniq > new file (Correct)

Answer : cut -f1 -d: /etc/passwd | sort -d | uniq > new file

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

What is the minimum number of disk partitions required to have a successful Linux installation? 


Options are :

  • 1 (one) (Correct)
  • 3 (three)
  • 2 (two)
  • 4 (four

Answer : 1 (one)

The user scott tries to create a directory hierarchy and encounters the following error: [scott@server1 tmp]$ mkdir test/test1/stored/all
mkdir: cannot create directory `test/test1/stored/all`: No such file or directory [scott@server1 tmp]$pwd /tmp Which two commands can the user scott use to create the directory hierarchy successfully? (Choose two.)
A. mkdir /test/test1/stored/all
B. mkdir -p test/test1/stored/all
C. mkdir -r test/test1/stored/all
D. mkdirhier /test/test1/stored/all
E. mkdir -r /tmp/test/test1/stored/all
F. mkdirhier /tmp/test/test1/stored/all


Options are :

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

Answer : B,F

smith is trying to send a message to the local user bob using the write command and he receives an error as shown below:
[smith@station2 ~]$write bob Write: bob has messages disabled [smith@station2 ~]$ What could be done to overcome the error?


Options are :

  • smith should indicate the terminal on which bob is logged in.
  • bob should accept messages using the mesg y command. (Correct)
  • bob should set the logged in terminal to the tty group.
  • bob should enable talk and ntalk on his system.

Answer : bob should accept messages using the mesg y command.

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

Which statements are true about a process? ( Choose all that apply.) A. It is associated with a nice value.
B. It is associated with a Process ID (PID).
C. It does not inherit the environment from the parent process that spawns it.
D. It uses only RAM irrespective of the amount of memory available in the system.
E. Each process will normally be associated with the UID and GID of the user that launched the program.


Options are :

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

Answer : A,B,E

You have issued the following command: mkdir -p test/a{dax,connor,bryan}g/vo{in,out,tmp} Which of the following directories will it create? (Choose all that apply.)
A. test/voin/adaxg
B. test/adaxg/voout
C. test/aconnorg/voin
D. test/adaxnnorg/voinout
E. test/aconnoyang/vointmp


Options are :

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

Answer : B,C

dentify the two true statements about FTP servers. (Choose two.)
A. FTP servers typically listen on port 21.
B. FTP servers typically listen on port 20.
C. FTP servers send data to clients on port 21.
D. FTP servers send data to clients on port 20.
E. FTP servers do not provide anonymous login by default.


Options are :

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

Answer : A,D

OCP Oracle Database 11g Administrator Certified Professional Set 4

The user smith has logged in to the system and his current working directory is /tmp. Which command changes the user current working. Which command changes the user's current working directory to the user's home directory? (Choose all that apply.)
A. cd
B. cd ..
C. cd ~
D. cd ../~
E. cd /home
F. cd $HOME


Options are :

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

Answer : A,C,F

As root you have changed the default login shell to one of the shells listed in /etc/shells file. Which file entry is modified as a result of this?


Options are :

  • /etc/passwd (Correct)
  • /etc/shells
  • /etc/shadow
  • /etc/default/useradd

Answer : /etc/passwd

The user smith has issued the command: cut -f1,3 -d: /etc/passwd | tr a-z A-Z > file1.txt What could be the purpose of using this command?


Options are :

  • to map the username, UID, passwords on the system in lowercase to file1.txt
  • to map the username along with UIDs on the system in uppercase to file1.txt (Correct)
  • to map the username along with passwords on the system in uppercase to file1.txt
  • to map the username, UID, GID on the system in uppercase to file1.txt

Answer : to map the username along with UIDs on the system in uppercase to file1.txt

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

Which command is used for compilation when installing software from the source code? 


Options are :

  • make install
  • ./configure
  • install
  • make (Correct)

Answer : make

The /data directory that belongs to the apps group is set with 1770 permissions. The details of the apps group members are given below.
# groups smith bob scott smith : smith apps scott : scott apps bob : bob apps What are the effective permissions for each of these users on other users' files and directories in the /data directory?


Options are :

  • Read, write, and execute permissions on files and directories
  • Read and write permissions on files and read, write, and execute permissions on directories.
  • Read permission on files and read and execute permissions on directories (Correct)
  • Read permissions only because full permission is set to the owner of the files and directories only

Answer : Read permission on files and read and execute permissions on directories

Which command would help you identify and count how many lines have the letter "w" and the letters (together) in the words.txt file?


Options are :

  • grep 'w' 'is' words.txt | wc -l
  • grep w words.txt | grep is | wc -c
  • grep '\.w' '\.is' words.txt | wc -l
  • grep w words.txt | grep is | wc -l (Correct)

Answer : grep w words.txt | grep is | wc -l

1Z0-521 Oracle E-Business Suite R12 Oracle Order Managment Set 2

Match the following signal values with their description. 1. 9 a. Hangup
2 . 19 b. Terminate the process and dump core
3. 11 c. Kill signal
4. 1 d. Stop the process


Options are :

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

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

Note the command given below: ls -l | grep hello\.gif Which statement is true about this command?


Options are :

  • It will long-list the file hello.gif
  • It will long-list the files in the hello*gif format from the current working directory
  • It will return an error because an escape character \ is used
  • It will long-list the hello.gif, hello-gif files or any file in the hello? gif format. (Correct)

Answer : It will long-list the hello.gif, hello-gif files or any file in the hello? gif format.

A new user smith wants to customize the bourne shell by creating a new alias for the ls -l command. He wants to make the new alias persistent across logouts and also reboots. What could be done to make the new alias persistent only for smith? 


Options are :

  • Add the new alias to ~/bash_profile.
  • Add the new alias to ~/.bashrc.
  • Add the new alias to ~/.profile (Correct)
  • Add the new alias to /etc/profile

Answer : Add the new alias to ~/.profile

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

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


Options are :

  • 5 4 3 2 15 4 3 2 15 4 3 2 15 4 3 2 15 4 3 2 1
  • 1 1 1 1 12 2 2 2 23 3 3 3 34 4 4 4 45 5 5 5 5 (Correct)
  • 1 2 3 4 51 2 3 4 51 2 3 4 51 2 3 4 51 2 3 4 5
  • 5 5 5 5 54 4 4 4 43 3 3 3 32 2 2 2 21 1 1 1 1

Answer : 1 1 1 1 12 2 2 2 23 3 3 3 34 4 4 4 45 5 5 5 5

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions