Oracle Linux Fundamentals (Oracle PartnerNetwork)
Question No: 51 – (Topic 1)
The user smith has issued the command:
cut -f1,3 -d: /etc/passwd | tr a-z A-Z gt; file1.txt
What could be the purpose of using this command?
to map the username, UID, GID on the system in uppercase to file1.txt
to map the username along with UIDs on the system in uppercase to file1.txt
to map the username, UID, passwords on the system in lowercase to file1.txt
to map the username along with passwords on the system in uppercase to file1.txt
Question No: 52 – (Topic 1)
What is the minimum number of disk partitions required to have a successful Linux installation?
Question No: 53 – (Topic 1)
Which statements are true about a process? ( Choose all that apply.)
It is associated with a nice value.
It is associated with a Process ID (PID).
It does not inherit the environment from the parent process that spawns it.
It uses only RAM irrespective of the amount of memory available in the system.
Each process will normally be associated with the UID and GID of the user that launched the program.
Question No: 54 – (Topic 1)
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.
a logout script
the id command
an interactive shell
the login command
the chroot command
Question No: 55 – (Topic 1)
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.)
lpadmin -d printer1.
lpadmin -x printer1.
lpadmin -p printer1 -E parallel:/dev/lp0.
lpadmin -p printer1 -E -v parallel:/dev/lp0.
Question No: 56 – (Topic 1)
Match the following Linux kernel virtual hierarchies with their content:
/proc a) Per process information directories and other tunables
/sys b) RAM drive for POSIX shared memory operations
/dev/pts c) Kernel object data structures
/dev/shm d) Auto-ownership of terminals (ttys)
A. 1-a, 2-c, 3-d, 4-b
B. 1-b, 2-a, 3-d, 4-c
C. 1-a, 2-b, 3-d, 4-c
D. 1-b, 2-a, 3-c, 4-d
Question No: 57 – (Topic 1)
What would be the output of the nested for loop given below?
for (( i=1; ilt;=5; i )) do
for (( j=1; jlt;=5; j )) do
echo -n quot;$iquot; done
echo #### done
A. 1 1 1 1 12 2 2 2 23 3 3 3 34 4 4 4 45 5 5 5 5
B. 1 2 3 4 51 2 3 4 51 2 3 4 51 2 3 4 51 2 3 4 5
C. 5 4 3 2 15 4 3 2 15 4 3 2 15 4 3 2 15 4 3 2 1
D. 5 5 5 5 54 4 4 4 43 3 3 3 32 2 2 2 21 1 1 1 1
Question No: 58 – (Topic 1)
Which statement is true about a normal user created with UID less than 500?
The user will not have an interactive login shell.
The user will have the privilege to mount and unmount file systems.
The user account can be used only for system service-related tasks.
The user will have all normal user features like home directory, shell, and so on, by default.
The user will be restricted from logging in to the system because the UID lt; 500 is reserved for system users or pseudo accounts.
Question No: 59 – (Topic 1)
You want to archive a directory and its subdirectories (excluding a list of subdirectories from a file) using the tar command. Which option would help you to do this?
Question No: 60 – (Topic 1)
View the Exhibit.
What is the output of the shell script when executed at the bash shell?
|Lowest Price Guarantee||Yes||No||No|
|Free VCE Simulator||Yes||No||No|