Halloween Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Oracle 1z0-106 Dumps

Page: 1 / 5
Total 60 questions

Oracle Linux 8 Advanced System Administration Questions and Answers

Question 1

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.

Buy Now
Question 2

Examine this command:

# auditctl -w /etc/passwd -p w -k pass

Which two statements are true upon execution?

Options:

A.

A write occurs to /etc/audit/rules.d/audit.rules.

B.

An audit rule is defined that creates a log entry every time /etc/passwd is read.

C.

An audit rule is defined with the keyword pass.

D.

An audit is defined that creates a log entry every time a write occurs to /etc/passwd.

E.

A write occurs to /etc/audit/audit.rules.

Question 3

Which two statements are true about the Oracle Linux 8 boot process?

Options:

A.

The bootloader loads the initramfs file into memory and extracts the vmlinuz file into a temporary file system (tmpfs).

B.

The kernel loads driver modules from vmlinuz that are required to access the root file system.

C.

The bootloader loads the initramfs file into memory and extracts the vmlinuz file into the /boot file system.

D.

The kernel loads driver modules from initramfs that are required to access the root file system.

E.

Both the vmlinuz file and the initramfs file are located in the /boot directory.

Question 4

Examine the access privileges on this directory:

drwx------ 2 user1 test 4096 Nov 6 10:12 my_directory/

You must enable another user to read and navigate to my_directory. Which command will do this?

Options:

A.

setfacl --default --modify user:user2:rw- my_directory

B.

setfacl --modify user:user2:r-- my_directory

C.

setfacl -x user:user2 my_directory

D.

setfacl --modify user:user2:r-x my_directory

E.

setfacl --modify group:test:r-- my_directory

Question 5

Which command produces human-readable timestamps in kernel ring buffer messages?

Options:

A.

dmesg -t

B.

dmesg -x

C.

dmesg -T

D.

dmesg -W

Question 6

As root you configured a file system using AutoFS with default settings. In the first session, you changed to a directory under AutoFS control. In a second session, you changed to /etc. Now the idle time for the session expires. Which two statements are true about the status of the file system mounted in the first session?

Options:

A.

It remains mounted as long as the system is running.

B.

It remains mounted until you log out from the first session.

C.

It was unmounted from the first session when the timer expired.

D.

It was unmounted when the second session began.

E.

It remains mounted until you switch to a directory outside the current mount point.

Question 7

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 8

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 9

Examine these requirements for a host with a user oracle:

    Network services must run in a confined domain.

    The oracle user must be confined.

    The oracle user must be able to use Mozilla Firefox.

    Access to files and directories must be granted based only on SELinux contexts.

    The SELinux configuration must be persistent across system restarts.

    Users must be able to publish private HTML content.

Now examine these commands and output:

# sestatus

SELinux status: enabled

SELinuxfs mount: /sys/fs/selinux

SELinux root directory: /etc/selinux

Loaded policy name: targeted

Current mode: permissive

Mode from config file: permissive

Policy MLS status: enabled

Policy deny_unknown status: allowed

Memory protection checking: actual (secure)

Max Kernel policy version: 31

# setenforce enforcing

# semanage login -a -s guest_u oracle

# setsebool -P http_enable_homedirs on

Which requirements are satisfied?

Options:

A.

1, 2, 4, 5, 6

B.

1, 2, 3, 4, 5, 6

C.

1, 2, 3, 5, 6

D.

1, 2, 6

E.

1, 2, 4, 6

F.

1, 2, 3, 6

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 statement is true about slice units?

Options:

A.

A slice unit is a concept for hierarchically managing resources in a group of processes.

B.

Processes in a slice unit are named at the same level as scopes and services.

C.

The system.slice contains all system services and user sessions.

D.

A slice unit accepts multiple names by the creation of additional symlinks to the unit file.

Question 12

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

Options:

A.

filter

B.

action

C.

parser

D.

module

E.

security policy

Question 13

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 14

Examine this command:

# nft add rule inet filter input tcp dport 80 drop

Which two statements are true upon execution?

Options:

A.

The rule is applied to both IPv4 and IPv6 packets.

B.

The rule updates the configuration on disk.

C.

All traffic inbound on port 80 is dropped.

D.

The rule applies to the input table.

E.

TCP packets inbound on port 80 are dropped.

F.

TCP packets outbound on port 80 are dropped.

Question 15

Which three statements are true about the journalctl command?

Options:

A.

journalctl -bl -p err fails if journal persistence is not configured.

B.

journalctl -p err shows only error log level.

C.

journalctl -p notice..warning shows all messages from notice to warning log level since the last boot.

D.

journalctl -k shows kernel logs since the last boot.

E.

journalctl -p 6 shows all info log level messages and above.

Question 16

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 17

Which two types of reports does iostat generate?

Options:

A.

Storage Utilization Report

B.

Device Utilization Report

C.

Memory Utilization Report

D.

Swap Utilization Report

E.

CPU Utilization Report

Question 18

Which two commands relabel an SELinux system after a reboot?

Options:

A.

Set kernel parameter autorelabel=0

B.

fixfiles -F relabel

C.

echo “relabel=1” > /.selinux

D.

touch /.autorelabel

E.

Set kernel parameter selinux=0

F.

fixfiles -F onboot

Page: 1 / 5
Total 60 questions