New Year Special Limited Time Flat 70% Discount offer - Ends in 0d 00h 00m 00s - Coupon code: 70spcl

Oracle 1z0-106 Oracle Linux 8 Advanced System Administration Exam Practice Test

Page: 1 / 6
Total 60 questions

Oracle Linux 8 Advanced System Administration Questions and Answers

Question 1

Examine this content from /etc/chrony.conf:

...

pool pool.ntp.org offline

driftfile /var/lib/chrony/drift

keyfile /etc/chrony.keys

...

Which statement is true about pool.ntp.org?

Options:

A.

chronyd polls a maximum of 3 sources from pool.ntp.org after it is enabled.

B.

chronyd does not poll pool.ntp.org until it is enabled to do so by chronyd.

C.

chronyd takes pool.ntp.org offline automatically when sending a request to the pool fails.

D.

chronyd does not poll pool.ntp.org until it is enabled to do so by chronyc.

Question 2

Examine these commands executed by root:

# mkdir -p /jail /jail/bin /jail/lib64

# cp $(which bash) /jail/bin/

# ldd $(which bash)

linux-vdso.so.1 (0x00007ffd574f5000)

libtinfo.so.6 => /lib64/libtinfo.so.6 (0x00007fb458c2c000)

libdl.so.2 => /lib64/libdl.so.2 (0x00007fb458a28000)

libc.so.6 => /lib64/libc.so.6 (0x00007fb458666000)

/lib64/ld-linux-x86-64.so.2 (0x00007fb459177000)

# cp /lib64/libtinfo.so.6 /jail/lib64/

# cp /lib64/libdl.so.2 /jail/lib64/

# cp /lib64/libc.so.6 /jail/lib64/

# cp /lib64/ld-linux-x86-64.so.2 /jail/lib64/

# chroot /jail

What is the output from the cd, pwd, and ls commands?

Options:

A.

bash-4.4# cd

bash: cd: /root: No such file or directory

bash-4.4# pwd

/

bash-4.4# ls

bin lib64

B.

bash-4.4# cd

bash: cd: /root: Unable to access chrooted file or directory /root

bash-4.4# pwd

/

bash-4.4# ls

bin lib64

C.

bash-4.4# cd

bash: cd: /root: No such file or directory

bash-4.4# pwd

/root

bash-4.4# ls

bash: ls: command not found

D.

bash-4.4# cd

bash: cd: command not found

bash-4.4# pwd

bash: pwd: command not found

bash-4.4# ls

bash: ls: command not found

Question 3

Which two components are used for creating a new rsyslog rule?

Options:

A.

filter

B.

action

C.

parser

D.

module

E.

security policy

Question 4

Examine this command and output:

$ ftp host01.example.com

Connected to host01.example.com (192.168.40.131).

220 (vsFTPd 3.0.2)

Name (host01.example.com:oracle):

After entering a carriage return, this error message is displayed:

530 Permission denied

Login Failed

ftp>

Why is the oracle user denied access to the FTP server on host01.example.com?

Options:

A.

The oracle user does not exist on host01.example.com.

B.

LOCAL_ENABLE is set to NO in /etc/vsftpd/vsftpd.conf.

C.

The oracle user is listed in /etc/vsftpd/user_list and USERLIST_ENABLE is set to NO in /etc/vsftpd/vsftpd.conf.

D.

The oracle user is listed in /etc/vsftpd/ftpusers.

E.

The oracle user is listed in /etc/vsftpd/user_list and USERLIST_ENABLE is set to YES in /etc/vsftpd/vsftpd.conf.

Question 5

Which two statements are true about control groups (cgroups) in Oracle Linux 8?

Options:

A.

Oracle Linux 8 implements cgroups v2 by default.

B.

A cgroup is a collection of processes bound to a set of limits or parameters defined in the cgroups filesystem.

C.

Different controllers from cgroups version 1 and cgroups version 2 cannot be used at the same time.

D.

The cgroups filesystem allows limits to be overwritten in the lower levels of the hierarchy.

E.

Cgroups allow processes to be organized into hierarchical groups whose resource usage cannot be limited and monitored.

Question 6

Which three statements are true about DNF modules?

Options:

A.

Modules are a group of packages that are installed together along with dependencies.

B.

Installing a module allows a user to select a specific stream.

C.

Profiles are used to provide alternate versions of the same module.

D.

Streams are used to define optional configurations of modules.

E.

Streams cannot declare dependencies on the streams of other modules.

F.

Packages exist in multiple streams, where each stream contains a different version.

G.

Switching an enabled module stream automatically changes installed packages.

Question 7

Which two features does a user private group provide?

Options:

A.

Provision of a unique group.

B.

Capability to create new group users

C.

Capability to execute sudo

D.

Ability for only a group’s users to read files in a new directory

E.

Capability to prevent other users from modifying a file

Question 8

Examine this command:

$ podman run –name=oracleshell -it oraclelinux:8 -slim

Which two statements are true upon execution?

Options:

A.

The container creates and starts an interactive shell.

B.

The container named oracleshell must already exist; otherwise, the command fails.

C.

The command fails if the oraclelinux:8 -slim image does not exist on the local machine.

D.

The container is created and started in a single command.

E.

The container is removed by typing exit at the bash shell prompt.

Question 9

Which is true about the /etc/sysconfig directory in an Oracle Linux 8 system?

Options:

A.

It is used to access device and device driver information.

B.

Files in this directory hierarchy contain information about running processes.

C.

Its contents depend on the packages installed on the system.

D.

Files in this directory hierarchy contain information about system hardware.

Question 10

Which two statements are true about the proc and sys file systems?

Options:

A.

proc contains information about memory and CPUs.

B.

sys contains a list of running processes.

C.

sys contains information about memory and CPUs.

D.

proc contains a list of network drivers.

E.

sys contains a list of mounted devices.

Question 11

Which command configures a fully functional and accessible interface on VLAN 800?

Options:

A.

modprobe 8021q ip link add link eth0 name eth0.800 type vlan id 800 ip link set eth0.800 up

B.

modprobe 8021q ip link add link eth0 name eth0.800 VLAN 800 ip address add 10.135.1.120/24 dev eth0.800 ip link set eth0.800 up

C.

modprobe 8021q ip link add link eth0 name eth0.800 type vlan id 800 ip address add 10.135.1.120/24 dev eth0.800 ip link set eth0.800 up

D.

modprobe 8021q ip address add 10.135.1.120/24 dev eth0.800 ip link set eth0.800 up

Question 12

Which three are features of the btrfs file system?

Options:

A.

Block devices mirroring

B.

Copy-on-write metadata

C.

Cluster file system

D.

Efficient storage for small files

E.

Online resizing

F.

General-purpose volume manager

G.

Automatic defragmentation

Question 13

Which two directories store PAM authentication modules?

Options:

A.

/lib64/security

B.

/etc/pam.d

C.

/usr/lib

D.

/lib/security

E.

/var/lib

Question 14

Examine this udev device naming rule which gets processed successfully:

makefile

KERNEL=="hdb", DRIVER=="ide-disk", SYMLINK+="sparedisk"

Which two statements are true?

Options:

A.

Symbolic link /dev/sparedisk is created linking to /dev/hdb and with an ide-disk device driver, thus overwriting existing symbolic links.

B.

The matching device will be named /dev/sparedisk.

C.

Symbolic link /dev/sparedisk is created for a device named /dev/hdb which has an ide-disk device driver if such a device is discovered.

D.

The matching device will have the kernel device name /dev/hdb.

E.

Symbolic link /dev/sparedisk is created for a device named /dev/hdb or one that has an ide-disk device driver, whichever is discovered first.

Question 15

Examine these commands and output:

# cat /etc/auto.master

/net -hosts

/- auto.direct ro

# cat /etc/auto.direct

/nfs1 host01:/export/share1

/nfs2 -sync host01:/export/share2

/nfs3 host02:/export/share3

Automounter must be used to mount these filesystems. Which mount options will it use?

Options:

A.

/nfs1 and /nfs3 are mounted read-only, async while /nfs2 is mounted read-only, sync.

B.

All three filesystems are mounted read-write, sync.

C.

All three filesystems are mounted read-only, sync.

D.

All three filesystems are mounted read-only, async.

E.

/nfs1 and /nfs3 are mounted read-only, async while /nfs2 is mounted read-write, sync.

Question 16

Which two actions are performed by the logrotate utility?

Options:

A.

rotating log files as specified

B.

encrypted log files

C.

compressing log files

D.

duplicating log files

E.

hashing log files

Question 17

Examine these Kubernetes components:

Question # 17

Which option correctly matches the components with their description?

Options:

A.

1-d, 2-f, 3-e, 4-a, 5-c, 6-b

B.

1-b, 2-a, 3-e, 4-c, 5-f, 6-d

C.

1-a, 2-d, 3-b, 4-c, 5-e, 6-f

D.

1-c, 2-f, 3-d, 4-b, 5-e, 6-a

E.

1-d, 2-f, 3-c, 4-e, 5-a, 6-b

Question 18

Which two statements are true about naming network interfaces?

Options:

A.

Consistent device naming is enabled by default.

B.

The udev device manager generates device names based on a series of schemes.

C.

The udev device manager uses a random number if all other schemes fail.

D.

Device names cannot be manually configured.

E.

Device names incorporate the physical location and hot plug slot index number.

Page: 1 / 6
Total 60 questions