Weekend Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70percent

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

Demo: 18 questions
Total 60 questions

Oracle Linux 8 Advanced System Administration Questions and Answers

Question 1

Examine this command, which executes successfully:

# nmcli con add con-name eth2 type ethernet ifname eth2 \ Ipv6.address 2804:14c:110:ab2f:c3lb:1212:7917:708a/64 \ Ipv6.gateway 2804:14c:110:ab2f::1003 \ Ipv4.address 192.168.0.5/24 ipv4.gateway 192.168.0.254

The eth2 connection does not exist. Which two statements are true?

Options:

A.

Ethernet connection eth2 is created.

B.

The configuration is saved in /etc/sysconfig/network.

C.

A static IP address is assigned to the eth2 connection

D.

It configures an automatic IPV6 address.

Question 2

Which two statements are true about the configuration and use of cron or anacron?

Options:

A.

cron jobs may run only once a minute.

B.

All crontabs are held in the /etc/cron.d directory.

C.

The crond daemon looks for jobs only in /etc/crontab.

D.

anacron jobs may run only once a day.

E.

anacron jobs are used to run cron jobs if the system was powered off when they were scheduled to run.

Question 3

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 4

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 5

Which two statements are true about kernel boot parameters?

Options:

A.

Boot parameters are defined as values for the GRUB_CMDLINE_LINUX directive in the /etc/default/grub file.

B.

Boot parameters defined as values for the GRUB_BOOT command-line interface are persistent and apply to all subsequent reboots.

C.

Each kernel version's boot parameters are stored in independent configuration files in/boot/loader/entries.

D.

Parameters passed to the kernel from the GRUB 2 menu are persistent and apply to all subsequent reboots.

Question 6

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 7

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 8

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 9

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

Question 10

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 11

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 12

Which two statements are true about the GRUB 2 bootloader?

Options:

A.

Its configuration can be changed by editing /etc/default/grub2 and executing grub2-mkconfig to regenerate grub2.cfg.

B.

It can load many free operating systems directly and chain-load proprietary operating systems.

C.

Its configuration file is /boot/grub2/grub2.conf on BIOS-based systems.

D.

It understands file systems and kernel executable formats, allowing the loading of operating systems without recording the on-disk physical location of the kernel.

Question 13

Examine this command and output:

# ausearch -k mkdir

type=SYSCALL msg=audit(1604360199.719:44733): arch=c000003e syscall=83 success=no a0=55dec0b47400 a1=lc0 a2=0 a3=0

items=2 ppid=1354 pid=284632 auid=4294967295 uid=996 gid=996 euid=998 suid=998 fsuid=998 egid=996 sgid=996 fsgid=996

tty=(none) ses=429 comm="pkla-check-auth" exe="/usr/bin/pkla-check-authorization" subj=system_u:system_r:policykit_auth_t:s0 key="mkdir"

Which command displays the syscall in text format instead of numerical format?

Options:

A.

ausearch -a 83 -k mkdir

B.

ausearch -I -k mkdir

C.

ausearch -sc 83 -k mkdir

D.

ausearch --format text -k mkdir

E.

ausearch -r -k mkdir

Question 14

You must prevent Ksplice from reapplying updates at the next system reboot. Which two commands or parameters can do this?

Options:

A.

uptrack-upgrade -n

B.

nouptrack

C.

uptrack-remove –all

D.

uptrack=0

E.

touch /etc/uptrack/disable

Question 15

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 16

You must add an additional swap device and you add this entry to /etc/fstab:

/.swapfile none swap defaults 0 0

Examine these commands and output:

# dd if=/dev/zero of=/.swapfile bs=1024 count=1048576

1048576+0 records in

1048576+0 records out

1073741824 bytes (1.1 GB, 1.0 GiB) copied, 4.32499 s, 248 MB/s

# swapon -a

swapon: /.swapfile: insecure permissions 0644, 0600 suggested.

swapon: /.swapfile: read swap header failed

Which two actions must you perform to add this swap device?

Options:

A.

Initialize the .swapfile file by using the mkswap command.

B.

Execute swapon -all.

C.

Change defaults to user in the /etc/fstab entry.

D.

Assign a label to the .swapfile file by using the swaplabel command.

E.

Execute swapon -L swapfile /.swapfile after adding a label.

F.

Use a physical disk partition type of 82 (Linux swap).

Question 17

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 18

Which two statements are true about fdisk?

Options:

A.

It understands GPT, MBR, and HFS partition tables.

B.

fdisk -l displays disk size information for all disks.

C.

It can partition disks larger than 2 TB by using a GPT partition table.

D.

It can divide logical devices into one or more block disks called partitions.

E.

It cannot partition disks larger than 2 TB by using a GPT partition table.

Demo: 18 questions
Total 60 questions