Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free Oracle Linux 8 Advanced System Administration 1Z0-106 Exam Questions

Last updated: · 14 practice questions with answers and explanations

Page: 1 / 6 Total 60 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Understanding and Configuring the Linux Boot Process and Service Administration

Skill tested: Configures a persistent GRUB kernel argument and regenerates the Oracle Linux boot configuration.

A database appliance running Oracle Linux 8 must enable a kernel boot parameter on every normal boot. The change must be made through the supported persistent configuration mechanism, survive kernel package updates, and take effect only after a planned reboot. The host uses the standard GRUB 2 configuration generated from `/etc/default/grub`; administrators must not edit generated files under `/boot` directly. Which approach should the administrator use?

Correct Answer: B. Add the parameter to `/etc/default/grub`, then regenerate the GRUB configuration at the appropriate boot-directory path.
Explanation:

`/etc/default/grub` is the persistent source for GRUB configuration settings; after changing it, regenerate the configuration file using `grub2-mkconfig` and the correct target path for the system's boot layout. This makes the parameter part of generated boot entries and allows the change to persist through regeneration. `grubby` can also update kernel command lines, but the scenario explicitly requires the standard `/etc/default/grub` mechanism. `sysctl` changes runtime or sysctl-managed kernel parameters, not arbitrary boot arguments. Directly editing generated `grub.cfg` is fragile and can be overwritten.

Question 2

New Single answer

Topic: Understanding System Configuration Options

Skill tested: Makes persistent kernel parameter changes through sysctl configuration and validates their runtime effect.

A security baseline requires a networking-related kernel parameter to remain enabled after reboot on a fleet of Oracle Linux 8 systems. An administrator has confirmed that the parameter is exposed through `/proc/sys` and that changing it at runtime with `sysctl` works. A configuration-management run must be able to reapply the setting, while operators also need a clear record of the persistent policy. Which implementation best meets these requirements?

Correct Answer: C. Create a dedicated file under `/etc/sysctl.d/` containing the parameter assignment, then load it with `sysctl --system`.
Explanation:

Files in `/etc/sysctl.d/` provide a persistent, auditable configuration source for sysctl settings. `sysctl --system` reads the system's sysctl configuration directories and applies the assignments, and the configuration is reapplied during boot through the system's normal sysctl setup. A direct write to `/proc/sys` and `sysctl -w` alter runtime state but do not, by themselves, preserve the policy across reboot. `/etc/fstab` controls filesystem mounts and is not the mechanism for configuring kernel sysctl parameters.

Question 3

New Single answer

Topic: Installing and Maintaining Packages

Skill tested: Diagnoses DNF repository metadata failures without disabling repository signature verification.

A change window is blocked because `dnf install` fails while contacting an internal Oracle Linux 8 repository. The error reports that the repository metadata cannot be downloaded; the repository URL was recently changed, and the repository's signing key is already installed. Other configured repositories work. The organization requires signature verification to remain enabled, and an administrator wants to distinguish stale local metadata from a broken repository endpoint before changing policy. What is the best next action?

Correct Answer: A. Clear the affected repository's cached metadata and retry while inspecting the repository URL and DNF error output.
Explanation:

Clearing cached repository data and retrying helps determine whether stale metadata is responsible, while the resulting error and configured URL help identify an endpoint or access problem. This preserves the required package-signature verification. Disabling `gpgcheck` weakens package integrity controls and does not fix a metadata download failure. Removing all repository definitions is disproportionate and disrupts working sources. Installing an arbitrary cached RPM with dependency checks bypassed is unsafe and does not establish a trustworthy package source.

Question 4

New Multiple answers

Topic: Automating Tasks

Skill tested: Selects cron and anacron scheduling mechanisms appropriate to periodic jobs on intermittently powered hosts.

A facilities group needs two maintenance tasks on Oracle Linux 8. A report must run every weekday at 02:15 on a server that stays powered on continuously. A separate cleanup script should run daily on a small workstation that is routinely shut down overnight; it must catch up when the machine next starts, rather than requiring the exact scheduled minute to have occurred while powered on. The scripts run as root, and neither task needs a one-time execution time. Which two scheduling choices meet the requirements? Select TWO answers.

Correct Answer: A. Schedule the weekday report in root's crontab with the required weekday and time fields.; D. Add the cleanup task to an anacron configuration with a daily period and an appropriate execution delay.
Explanation:

Cron is appropriate for a precise recurring weekday schedule on a continuously running host, so root's crontab can express 02:15 on weekdays. Anacron is designed to run periodic jobs on machines that may be powered off when a job is due; it runs overdue jobs when the system becomes available, subject to its configured delay. `at` schedules one-time jobs, and `batch` runs a queued job when system load permits rather than at an exact time. Ordinary cron does not generally replay a job missed while the machine was off.

Question 5

New Single answer

Topic: Oracle Ksplice

Skill tested: Uses Ksplice Uptrack to apply available kernel updates and verify running-kernel patch status.

A production Oracle Linux 8 host must receive a Ksplice kernel security update without a reboot during the current service window. The host is already registered with the applicable Ksplice service, and the administrator has verified that an update is available for the running kernel. The change requires confirmation that the update was applied to the live kernel, not merely installed as a package for a later reboot. Which action is most appropriate?

Correct Answer: C. Run `uptrack-upgrade` to apply available Ksplice updates, then inspect the Uptrack status.
Explanation:

`uptrack-upgrade` applies available Ksplice updates to the running kernel without requiring a reboot; checking Uptrack status provides evidence that the live-kernel updates are active. Updating the kernel RPM normally places a new kernel on disk for a future boot and does not establish that the currently running kernel received a live patch. Restarting a service does not itself apply kernel patches, and changing the default GRUB entry affects which kernel is selected at boot, not the running kernel.

Question 6

New Single answer

Topic: Managing Users and Groups

Skill tested: Configures account password aging limits using user-management tools and verifies the resulting policy.

An audit finds that a privileged service operator's local account has no maximum password lifetime. Policy requires the account password to expire after 90 days, with a warning beginning 14 days before expiration. The account must remain enabled, and administrators should change only its aging settings rather than reset its current password or alter its group membership. Which action meets the requirement?

Correct Answer: C. Use `chage` to set the maximum password age to 90 days and the warning period to 14 days.
Explanation:

`chage` manages password-aging attributes, including maximum password age and the number of days of warning before expiration. Setting a 90-day maximum age and a 14-day warning period addresses the audit finding without changing the password itself, disabling the account, or modifying group membership. `passwd -l` locks password authentication rather than establishing the requested lifetime. A shell restriction and account expiration are different controls, and `/etc/group` does not hold password-aging or password-hashing policy.

Question 7

New Multiple answers

Topic: Managing Filesystems and Swap

Skill tested: Chooses filesystem-specific growth procedures for ext and XFS filesystems on Oracle Linux 8.

A storage team presents two mounted data volumes whose underlying block devices have already been enlarged. One volume contains an ext4 filesystem mounted at `/srv/archive`; the other contains an XFS filesystem mounted at `/srv/telemetry`. Both filesystems must grow online, and the team cannot unmount either volume during business hours. The administrator has verified that the block devices expose the additional capacity. Which two actions are appropriate? Select TWO answers.

Correct Answer: A. Run `resize2fs` against the ext4 block device while the filesystem is mounted read-write.; C. Run `xfs_growfs /srv/telemetry` while the XFS filesystem is mounted.
Explanation:

An ext4 filesystem can be grown online with `resize2fs` when its underlying device has been enlarged. XFS growth is performed on the mounted filesystem, typically by naming its mount point to `xfs_growfs`. XFS is not grown with `resize2fs`, and the XFS procedure does not require an unmount. Reformatting with `mkfs` would destroy existing filesystem contents rather than grow the filesystems.

Question 8

New Multiple answers

Topic: Managing Storage Devices

Skill tested: Recovers a degraded MD RAID1 array by replacing a failed member and monitoring resynchronization.

An Oracle Linux 8 file server uses an MD RAID1 array assembled as `/dev/md0`. Monitoring shows that one member has failed, while the array remains accessible in a degraded state. The administrator has identified a replacement partition of adequate size and confirmed it is not in use. The service must stay available, and the existing healthy mirror member must not be overwritten. Which two actions are the appropriate recovery steps? Select TWO answers.

Correct Answer: A. Add the failed member's replacement partition to `/dev/md0` with `mdadm --add`, then monitor array recovery.; C. Use `mdadm --detail /dev/md0` to confirm array state and identify the failed member before changing membership.
Explanation:

First inspect the array with `mdadm --detail` to confirm its state and member identities. Once the failed device is correctly identified and the replacement is verified unused and suitable, `mdadm --add` adds it as a replacement member and MD resynchronizes data from the surviving mirror. Monitoring recovery confirms progress while the array remains available. Formatting the healthy member would destroy the valid copy, and stopping or rebuilding the array is unnecessary and risks availability. Reducing a mirror to one device does not restore redundancy.

Question 9

New Single answer

Topic: Managing the Network Configuration

Skill tested: Uses NetworkManager connection profiles to persistently configure a static IPv4 address and gateway.

A server has a working NetworkManager connection profile on its Ethernet interface. The network team assigns a new static IPv4 address and default gateway, and requires the configuration to survive reboot. The interface is managed by NetworkManager, and operators must avoid temporary `ip` changes that disappear when the profile is reactivated. Which method is most appropriate?

Correct Answer: D. Edit the active NetworkManager connection profile with `nmcli`, set manual IPv4 addressing and the gateway, then reactivate the profile.
Explanation:

NetworkManager connection profiles are the persistent configuration mechanism for interfaces managed by NetworkManager. Using `nmcli connection modify` to configure the IPv4 method as manual, assign the address and gateway, and then reactivate the profile applies and persists the configuration. `ip` commands change runtime kernel networking state but do not update the profile. `/etc/hosts` maps names to addresses, while `/etc/resolv.conf` concerns DNS resolver configuration rather than the default gateway. An administrator's shell startup file is not a reliable network service mechanism.

Question 10

New Single answer

Topic: Managing Linux Security

Skill tested: Creates a restricted chroot environment with the required runtime files and safe access boundaries.

A support organization must provide a diagnostic utility to an external technician in a restricted filesystem view. The technician must not be able to browse the host's ordinary directory tree through the utility's process, and the host's production data must not be copied into the environment. The tool is dynamically linked, so it needs its executable and required shared libraries inside the proposed root. Which design best satisfies the requirement?

Correct Answer: D. Create a chroot tree containing the utility and required libraries, then enter it with `chroot` under a suitably restricted account.
Explanation:

A chroot changes the process's apparent root directory, so the utility and its required shared libraries must be present within the chroot tree. Keeping production data out of that tree and running with restricted privileges limits exposure. A changed working directory does not constrain filesystem path resolution, so an unprivileged process can still access any host files permitted by its normal permissions. Binding the host root into the environment defeats the restriction, and file modes on the executable do not create a filesystem boundary. Chroot alone is not a complete security boundary against privileged escape.

Question 11

New Single answer

Topic: Managing System Logging

Skill tested: Configures persistent journald storage and verifies that system logs survive reboot.

A production server's incident-response policy requires systemd journal entries to remain available after reboot. Administrators find that the journal is currently volatile and do not want to rely on forwarding logs to another host for this requirement. They also need to confirm that the journal is persistent after the configuration change. Which action is most appropriate?

Correct Answer: B. Configure journald with `Storage=persistent`, create `/var/log/journal` if needed, restart or signal journald as appropriate, and verify with `journalctl --list-boots` after reboot.
Explanation:

With `Storage=persistent`, systemd-journald stores journal data under `/var/log/journal`; ensuring the directory exists and applying the configuration enables on-disk retention. `journalctl --list-boots` can show records from previous boots when persistent data is available. Volatile journals reside under `/run` and are lost at reboot. Logrotate cannot make volatile runtime files persistent, and discarding rsyslog messages does not alter journald's storage mode.

Question 12

New Multiple answers

Topic: Monitoring and Troubleshooting Linux

Skill tested: Correlates iostat and sar evidence to distinguish device saturation from broader performance symptoms.

Users report intermittent slow writes on an Oracle Linux 8 database server. During an incident, `iostat` shows one device with sustained high utilization and a long average queue, while CPU utilization remains moderate. The team must determine whether the storage bottleneck is recurring and whether the symptom coincides with historical periods of elevated I/O, without adding intrusive tracing during peak load. Which two steps are most appropriate? Select TWO answers.

Correct Answer: C. Use `sar` I/O activity records, if collection is enabled, to compare device activity across the affected time windows.; E. Collect repeated `iostat` samples during the incident and compare per-device utilization, throughput, and wait indicators.
Explanation:

Repeated `iostat` samples provide current per-device I/O rates and latency-related indicators, helping validate whether the observed device remains the bottleneck. `sar` can provide historical I/O statistics when system activity data collection is enabled, which helps correlate the issue with prior time windows. `mpstat` reports processor activity rather than identifying a disk queue. Formatting a device is destructive and cannot diagnose the issue, while `ss` reports socket information, not block-device performance.

Question 13

New Single answer

Topic: Managing Pluggable Authentication Modules (PAM)

Skill tested: Diagnoses PAM authentication failures by reviewing the effective service stack and its control flow.

After a PAM policy change, users can log in through one service but not another. The affected service reports authentication failure even for a known-good account, while password aging and account lock status are normal. The organization uses Oracle Linux 8's authselect-managed configuration, and administrators must avoid editing generated PAM files directly. What should the administrator do first to locate the cause while preserving the managed configuration model?

Correct Answer: A. Inspect the PAM service configuration and authselect-selected profile and features, then review authentication logs for the failing service's stack path.
Explanation:

PAM behavior is determined by the service-specific stack and the included common configuration, while Oracle Linux 8's authselect manages generated PAM files. Inspecting the service file, selected authselect profile/features, and relevant authentication logs is a safe first step for identifying the module or control-flow failure. Direct edits to generated files can be overwritten and may break managed configuration. The scenario already excludes account aging and lock problems; changing all passwords is unsupported by the symptoms. Disabling SELinux without evidence is an unrelated and unsafe diagnostic shortcut.

Question 14

New Single answer

Topic: Advanced Networking

Skill tested: Plans NetworkManager VLAN interfaces with correct parent-device and VLAN-ID relationships.

A virtualization host uses a physical Ethernet interface managed by NetworkManager. The network team requires a tagged management network with VLAN ID 120, using the same physical link as other traffic. The change must create a distinct logical interface without replacing the existing untagged connection, and the configuration must persist. Which design is appropriate?

Correct Answer: B. Create a VLAN connection with VLAN ID 120 whose parent is the physical Ethernet interface, and configure the new connection's addressing as required.
Explanation:

A VLAN connection in NetworkManager associates a VLAN ID with a parent interface, creating a distinct logical interface that carries tagged traffic while leaving the existing physical connection available. The VLAN ID is not an MTU or IP address, so changing MTU to 120 or assigning address 120 does not create a VLAN. A one-member bond is unrelated to VLAN tagging and would not meet the requirement to preserve the untagged connection as a separate logical path. A static route controls packet forwarding, not layer-2 VLAN encapsulation.