1Z0-409 Oracle Linux Fundamentals Practice Exam Set 4

Which three statements are true about Local Shell variables? (Choose three.)
A. set by the shell
B. user modifiable
C. accessible by child processes
D. value restricted to a single shell
E. passed to programs started by the shell


Options are :

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

Answer : A,B,D

How does the file command report the type of file? (Choose all that apply.)
A. By examining the file contents
B. By examining md5 checksum
C. By examining the file extensions
D. By comparing the file extensions with a local database available on the system
E. By examining magic numbers that occur at specific offsets and matching them against known
file types


Options are :

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

Answer : A,E

While using the vi editor in command mode, which key sequences will delete six words? (Choose
all that apply.)
A. d6w
B. 6dw
C. dw6
D. wd6
E. 6dd


Options are :

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

Answer : A,B

Oracle 1Z0-976 Cloud Service Implementation Essentials Exam Set 2

Which two statements about bzip2 are correct? (Choose two.)
A. It supports recovery from media errors.
B. It is portable, works in 32/64 bit platform.
C. It has lower compression ratio than gzip.
D. Its default action saves original file after creating new compressed file.
E. It first does all of the decompression in memory, and then sends out the contents of the
decompressed file to STDOUT


Options are :

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

Answer : A,B

You log in as normal user bob and execute the mount command without any arguments. What
would be the output of this command?


Options are :

  • mount will prompt for the device to mount
  • All the file systems defined only in /etc/fstab will be displayed.
  • All the currently mounted file systems will be displayed (Correct)
  • mount will report an error which says the mount command is not found

Answer : All the currently mounted file systems will be displayed

Which command could help a user to output the data appended to a text file at the shell prompt,
as the file grows?


Options are :

  • xxd
  • tail (Correct)
  • strings
  • head
  • cat
  • more

Answer : tail

Oracle 1Z0-976 Cloud Service Implementation Essentials Exam Set 3

As a normal user on a Linux system, you are trying to execute the /bin/ls command. What
happens when you execute the command at the shell prompt?


Options are :

  • The shell executes the program, breaks memory into small chunks called pages, and initializes a system call to the kernel
  • The shell passes asynchronous interrupts to the kernel and returns to the prompt waiting to display the output
  • The shell makes a system call asking the kernel to start the command as a child process and goes to sleep, waits for the command to finish (Correct)
  • The shell executes the program, sets a priority value of -19, and waits for the system calls from the kernel.

Answer : The shell makes a system call asking the kernel to start the command as a child process and goes to sleep, waits for the command to finish

Which statement is true about the files and directories created inside the /project directory that
have 2777 permissions?


Options are :

  • All files and directories will have the same group as that of the /project directory (Correct)
  • All files inside the /project directory will have permissions set to 2644 and the subdirectories will have them set to 2755.
  • All executables inside the /project directory will run with the effective group ID (EGID) of the group of the /project directory
  • All files and directories will have the default group set to the primary group of the user who creates them in /project directory

Answer : All files and directories will have the same group as that of the /project directory

The Linux file system contains a directory by default on which all users have rwx permissions.
Only the root user has the permission to delete any file created by any user. Identify the directory
and find out why it is so


Options are :

  • /home, because home directories will have 770 permissions
  • /usr, because all users will have rwx permissions and sticky bit set on that
  • /home, because no user will have write permission on files owned by others
  • / (root file system), because of 1777 permissions
  • /tmp, because sticky bit is set on that (Correct)

Answer : /tmp, because sticky bit is set on that

OCP Oracle Database 11g Administrator Certified Professional Set 4

Observe the code given below:
a=5.56
b=4.32
c=`echo $a + $b | bc`
echo "$a + $b = $c"
echo " Final Output is $c"                                                                                                                                                                            What would be the final output of this code?


Options are :

  • 9.8
  • 9.9
  • 9
  • 9.88 (Correct)

Answer : 9.88

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 :

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

Answer : A,D,E

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

Multiple users can share a UNIX machine. This is made possible by the OS by using one user's
idle time to service other users. What is this feature of an operating system identified as?


Options are :

  • time sharing (Correct)
  • interrupt driven process handling
  • one-time initialization
  • data sharing
  • light weight kernel threading

Answer : time sharing

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 :

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

Answer : A,B

The root user on your system has issued the ln -s file1.txt file2.txt command. Which two
statements are true? (Choose two.)
A. file2.txt will have 777 permissions.
B. file1.txt will be symbolically linked to file2.txt.
C. file2.txt will be symbolically linked to file1.txt.
D. file2.txt and file1.txt will have the same inode number.
E. file2.txt and file1.txt should exist on the same file system.


Options are :

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

Answer : A,C

OCP Oracle Database 11g Administrator Certified Professional Set 2

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?


Options are :

  • set rsize=32768 and wsize=32768.
  • set rsize=8192 and wsize=8192. (Correct)
  • set wsize=32768 and keep the read packet size at the default.
  • set rsize=8192 and keep the write packet size at the default
  • set rsize=32768 and keep the write packet size at the default.
  • set wsize=8192 and keep the read packet size at the default.

Answer : set rsize=8192 and wsize=8192.

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 listed in the HISTIGNORE variable (Correct)
  • History will save only the first occurrence of the commands listed in the HISTIGNORE variable.
  • 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, issued with any valid switch, listed in the HISTIGNORE variable

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

You have the /tools directory on a system with critical system files reserved for future use. As a
Linux administrator which command would you use to protect these files from a user who might
get the UID or GID as shown below?
[root@server1 ~]# ls -ld /tools/
drwxrwx--- 108 517 527 4096 Mar 26 20:00 /tools/


Options are :

  • chmod u+s /tools
  • chown -R 0.0 /tools (Correct)
  • chmod o+t /tools
  • chown -R nobody.nobody /tools

Answer : chown -R 0.0 /tools

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

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 name of all normal users in /etc/passwd
  • to print the total number of lines in /etc/passwd that ends with bash

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

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-e, 3-d, 4-a, 5-f, 6-c, 7-g
  • 1-b, 2-a, 3-d, 4-f, 5-e, 6-c, 7-g
  • 1-b, 2-e, 3-f, 4-a, 5-d, 6-g, 7-c
  • 1-c, 2-e, 3-f, 4-a, 5-d, 6-b, 7-g
  • 1-b, 2-a, 3-d, 4-e, 5-f, 6-c, 7-g (Correct)

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

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 :

  • users
  • finger
  • w (Correct)
  • free
  • who

Answer : w

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

Identify the program that runs with the real and effective UID and GID of the switched user when
you switch from one user to another using su command.


Options are :

  • a logout script
  • the chroot command
  • an interactive shell (Correct)
  • the login command
  • the id command

Answer : an interactive shell

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


Options are :

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

Answer : 1 (one)

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 :

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

Answer : B,D

OCP Oracle Database 11g Administrator Certified Professional Set 2

As root you have issued the following command :[root@station2]# rpmbuild --rebuild sendmail-8.12.8-9.80.src.rpm
What does the rpmbuild command do? (Choose two.)
A. It builds the sendmail source package.
B. It only installs the binary software produced from the sendmail source package.
C. It only compiles the binary software produced from the sendmail source package.
D. It does both the compilation and installation of the binary software produced from the sendmail
source package.


Options are :

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

Answer : A,D

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 :

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

Answer : A,C,F

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 :

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

Answer : A,B,E

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

What would be the default permissions on files and directories created by a user with umask 027?


Options are :

  • Files will have 640 permissions and directories will have 750 permissions (Correct)
  • Files will have 639 permissions and directories will have 750 permissions
  • Files will have 666 permissions and directories will have 777 permissions because 027 is not a valid umask.
  • Files and directories will have default permissions as of the default umask because 027 is not a valid umask.
  • Files and directories will have 000 permissions because 027 is not a valid umask

Answer : Files will have 640 permissions and directories will have 750 permissions

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 :

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

Answer : /var/run

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-d, 2-a, 3-c, 4-b
  • 1-c, 2-b, 3-a,4-b
  • 1-d, 2-b, 3-c, 4-a
  • 1-c, 2-d, 3-b, 4-a (Correct)

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

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

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 -l (Correct)
  • grep '\.w' '\.is' words.txt | wc -l
  • grep w words.txt | grep is | wc -c

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

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions