Exam Information
Free practice questions with explanations
Oracle 1Z0-106 Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 15
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Managing Filesystems and Swap
A media company runs a transcoding service on an Oracle Linux 8 host with a 2 TB XFS filesystem mounted at /srv/media. The team must grow the filesystem online after an LVM logical volume extension and must not lose the existing XFS quota configuration. The host has no spare capacity for a second filesystem, and downtime is not permitted during business hours. Which action should the administrator take to complete the expansion?
Correct Answer: CExplanationXFS can only grow, and xfs_growfs performs the expansion online against the mount point, so the existing quota configuration and data remain intact. Running resize2fs is wrong because it is the tool for ext2, ext3 and ext4, not XFS. Running xfs_repair requires the filesystem to be unmounted and is a consistency check rather than a resize, which breaks the no-downtime constraint. Recreating the filesystem would destroy the data and quota state, requiring a restore that the timeline does not allow.
-
2 Question 2 Multiple choice Managing Storage Devices
A database team on Oracle Linux 8 needs a RAID 1 mirror built from two partitions on separate disks to protect a volume that holds write-ahead logs. The administrator must create the array with mdadm and make it persist across reboots. Which two actions are required? (Choose two.)
Correct Answer: C, DExplanationA RAID 1 array is created with mdadm --create, specifying the level and the member count with both devices listed. For persistence across reboots the array definition must be recorded in /etc/mdadm.conf and the initramfs refreshed so early boot assembles the array. Formatting members before creating the array is unnecessary because mdadm writes its own superblock. Level 5 requires at least three devices and is not a mirror. Listing /dev/md0 in fstab does not make the kernel assemble the array; that depends on mdadm configuration.
-
3 Question 3 Order list Managing Storage Devices
An administrator must replace a failed member of a software RAID 5 array /dev/md1 that holds an LVM physical volume. The failed disk has been physically swapped for a new disk with the same partition layout already present. The array must return to full redundancy without data loss. Arrange the steps in the correct order.
Drag the steps into the correct order, or use the arrows.
- Add the new partition to /dev/md1 using mdadm --add so the rebuild starts.
- Mark the failed partition as faulty and remove it from /dev/md1 with mdadm.
- Update /etc/mdadm.conf if the array UUID or device names have changed.
- Partition the replacement disk to match the layout of the surviving members.
- Monitor /proc/mdstat until the resync completes and the array reports all members active.
Correct Answer:- Mark the failed partition as faulty and remove it from /dev/md1 with mdadm.
- Add the new partition to /dev/md1 using mdadm --add so the rebuild starts.
- Partition the replacement disk to match the layout of the surviving members.
- Monitor /proc/mdstat until the resync completes and the array reports all members active.
- Update /etc/mdadm.conf if the array UUID or device names have changed.
ExplanationThe replacement disk must be partitioned before it can be added, so partitioning comes first. The failed member is removed from the array before a new one is added, since mdadm refuses to add a device while the old member is still attached in a way that blocks replacement. Adding the new partition triggers the rebuild, which is then monitored in /proc/mdstat. Verifying or updating the configuration file comes after the array is healthy so the final state is recorded correctly.
-
4 Question 4 Single choice Managing Users and Groups
A financial services firm must enforce a password policy on Oracle Linux 8 workstations: passwords expire every 90 days, users receive a warning seven days before expiry, and accounts for contractors must be locked automatically on 31 March 2025. Some existing accounts were created before the policy and already have aging values. The firm wants the defaults to apply to newly created accounts without altering the existing ones. Which combination of configuration changes meets these requirements?
Correct Answer: CExplanationThe defaults for new accounts come from /etc/login.defs, which controls the values applied when useradd creates an account. Account-specific expiry dates are set per user with chage -E, which is the right tool for the contractor deadline. The pwquality.conf file governs password complexity rather than aging, and usermod -L only locks an account immediately rather than on a date. Editing /etc/shadow directly is fragile and bypasses the tooling, while the useradd defaults file does not hold aging values, and passwd -e forces an immediate password change rather than expiry.
-
5 Question 5 Drag and drop Managing Linux Security
A web hosting provider runs Oracle Linux 8 servers that must accept only HTTPS and SSH from the management subnet, reject all other inbound traffic by default, and allow outbound DNS from the server itself. The administrator is choosing how to express each requirement using firewalld and nftables. Match each requirement to the mechanism that implements it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Restrict SSH access to the management subnet onlyPermit inbound HTTPS from any address on the public zoneSet the default policy to drop unmatched inbound packetsThe default target of the public zone set to DROP or REJECTfirewall-cmd --add-port=443/udp at runtime onlyA rich rule with a source address in the firewalld zonefirewall-cmd --permanent --add-service=httpsAn iptables OUTPUT chain rule for DNS port 53Correct Answer:- Permit inbound HTTPS from any address on the public zone → firewall-cmd --permanent --add-service=https
- Restrict SSH access to the management subnet only → A rich rule with a source address in the firewalld zone
- Set the default policy to drop unmatched inbound packets → The default target of the public zone set to DROP or REJECT
ExplanationExposing a predefined service such as https uses firewall-cmd with --add-service, which works persistently with --permanent. Restricting SSH to a subnet is expressed as a firewalld rich rule with a source element. Unmatched inbound traffic is governed by the zone target, which should be DROP or REJECT rather than ACCEPT. The UDP 443 option is wrong because HTTPS is TCP, and the iptables OUTPUT rule belongs to a different framework than the firewalld mechanisms the question asks about.
-
6 Question 6 Single choice Automating Tasks
A logistics company runs a nightly reporting job from cron on an Oracle Linux 8 server. The host is powered off for maintenance most nights, and the report must still run once after any missed night so the dashboard is current. The job runs daily at 02:30 and must not be scheduled at all if the machine is offline for longer than a day. Which scheduling approach is the BEST fit?
Correct Answer: CExplanationAnacron is designed for machines that are not running continuously, and it runs a job that was missed during downtime once the system is back up, based on day-count periods. A one-day period matches the nightly requirement. Batch runs based on load rather than time and does not address missed runs. Repeating cron every hour produces many redundant runs and does not catch up on missed nights. Adding at jobs at boot is fragile and cannot reliably reconstruct the missed schedule.
-
7 Question 7 Dropdown Control Groups (Cgroups)
A shared Oracle Linux 8 build host runs compilation jobs for several teams. The administrator must place all user compile processes in a systemd slice that is capped at 4 CPU cores and 8 GB of memory, and the cap must survive reboots. Complete the unit configuration for the slice by selecting the correct value for each blank.
Choose the correct value for each blank.
CPUQuota=400% and MemoryMax=8G, placed in /etc/systemd/system/builds.slice, then systemctl daemon-reload. Set the property with systemctl set-property --runtime=false builds.slice to make it persistent, and assign processes with systemd-run --slice=builds.sliceCorrect Answer:CPUQuota=400% CPUQuota=400% and MemoryMax=8G, placed in /etc/systemd/system/builds.slice, then systemctl daemon-reload. Set the property with systemctl set-property --runtime=false builds.slice --runtime=false to make it persistent, and assign processes with systemd-run --slice=builds.slice --scope
ExplanationCPUQuota is expressed as a percentage of one CPU, so four cores corresponds to 400%, and MemoryMax takes a size with a suffix. The set-property command persists changes to the unit when run without the runtime-only flag, so the flag must be omitted or set to false for a permanent change. Running an existing process group into a slice for a transient scope is achieved with systemd-run --scope, which is how an ad hoc command joins the slice. CPUQuota=4 lacks the percentage form, CPUShares is a relative weight rather than a cap, and CPUWeight is not a valid cap value.
-
8 Question 8 Single choice Linux Auditing System
A regulated healthcare provider must record every write and attribute change to /etc/passwd and /etc/shadow, and every successful use of the unlink and rename system calls performed by a non-root user, on an Oracle Linux 8 server. The rules must survive a reboot and must not be changed by a running process without a reboot. Which set of auditctl configurations meets the requirements?
Correct Answer: CExplanationFile watches use the -w option with -p to select write and attribute permissions, and the auid filter restricts syscall rules to non-root users with a login UID of 1000 or higher. Persistence across reboots requires the rules to be placed in a file under /etc/audit/rules.d, and setting -e 2 locks the configuration until reboot so running processes cannot change it. The rwx option watches reads too, which is broader than needed, and -e 1 does not lock. Using open rather than unlink and rename misses the required events, and -e 0 disables auditing. Omitting the auid filter records root activity the requirement does not ask for, and -e 1 is not a lock.
-
9 Question 9 Multiple choice Managing the Network Configuration
A data center runs an Oracle Linux 8 hypervisor that must bond two 10 GbE NICs in active-backup mode for failover and attach a VLAN 120 interface on top of the bond for management traffic. The configuration must be managed by NetworkManager so it persists across reboots. Which two nmcli actions are required to build this configuration? (Choose two.)
Correct Answer: B, DExplanationNetworkManager builds the bond with a bond connection that specifies the mode and then attaches each physical NIC as a slave connection. A VLAN connection is created with type vlan and an explicit parent device and VLAN ID, which stacks it on the bond. Using ip link add creates a non-persistent interface that is lost on reboot. The balance-rr mode is not active-backup and does not provide the requested failover semantics. Editing ifcfg files with a wrong master name ignores the NetworkManager management requirement.
-
10 Question 10 Order list Managing System Logging
A security team on Oracle Linux 8 requires that authentication failures from sshd are forwarded to a central rsyslog server over TCP, that the local journal retains entries across reboots, and that the central server is the only authoritative copy of the entries. The administrator must make the changes safely on a production host. Arrange the steps in the correct order.
Drag the steps into the correct order, or use the arrows.
- Restart systemd-journald and confirm that journal files appear under /var/log/journal.
- Validate the rsyslog configuration with rsyslogd -N1 before reloading the service.
- Add a rule in /etc/rsyslog.d/ that sends auth and authpriv messages to the central server over TCP.
- Restart rsyslog and verify with logger that the test message reaches the central server.
- Enable persistent journal storage by creating the /var/log/journal directory with correct ownership.
Correct Answer:- Enable persistent journal storage by creating the /var/log/journal directory with correct ownership.
- Add a rule in /etc/rsyslog.d/ that sends auth and authpriv messages to the central server over TCP.
- Restart systemd-journald and confirm that journal files appear under /var/log/journal.
- Validate the rsyslog configuration with rsyslogd -N1 before reloading the service.
- Restart rsyslog and verify with logger that the test message reaches the central server.
ExplanationPersistent journal storage requires the /var/log/journal directory to exist, so it is created first and journald is restarted to begin writing there. The forwarding rule is then placed in the rsyslog configuration drop-in directory. The configuration is syntax-checked with rsyslogd -N1 before rsyslog is restarted, which avoids an outage from a bad file. The final restart is followed by an end-to-end test with logger to confirm delivery to the central host.
-
11 Question 11 Single choice Managing Pluggable Authentication Modules (PAM)
A university lab on Oracle Linux 8 wants to lock a local account for 15 minutes after five consecutive failed SSH logins, while keeping the lockout from affecting the root account and without locking out administrators during a scheduled maintenance window handled by a service account. Which PAM configuration best meets these requirements in /etc/pam.d/sshd and /etc/pam.d/system-auth?
Correct Answer: CExplanationThe pam_faillock module tracks consecutive failed authentications and locks the account for unlock_time seconds once deny is reached, so deny=5 with unlock_time=900 gives the 15-minute lockout. Root can be governed separately, and exemptions for trusted accounts are achieved by configuring the module's per-account behavior and admin-group handling rather than blanket denial. pam_tally2 is an older module that has been superseded on this release and provides no automatic unlock. The remember option governs password reuse, not failed logins. pam_access controls source hosts and does not count failures.
-
12 Question 12 Dropdown Understanding System Configuration Options
A telecom operator runs Oracle Linux 8 routers that must forward IPv4 packets between interfaces and must not accept ICMP redirects from neighbours. The change must persist across reboots and be applied without rebooting. Complete the sysctl drop-in by selecting the correct value for each blank.
Choose the correct value for each blank.
File /etc/sysctl.d/90-routing.conf contains: net.ipv4.ip_forward = and net.ipv4.conf.all.accept_redirects = . Apply the file immediately with sysctl --system or with sysctlCorrect Answer:File /etc/sysctl.d/90-routing.conf contains: net.ipv4.ip_forward = 1 and net.ipv4.conf.all.accept_redirects = 0. Apply the file immediately with sysctl --system or with sysctl -p /etc/sysctl.d/90-routing.conf
ExplanationSetting ip_forward to 1 enables IPv4 forwarding, and accept_redirects set to 0 stops the host from honouring ICMP redirects. Drop-in files under /etc/sysctl.d are loaded at boot and by sysctl --system, and sysctl -p with a path applies a specific file immediately. Using 2 for ip_forward is not a valid switch, and yes and no are not numeric kernel values for these keys. The -w form on a directory path does not apply a file and does not persist, and --reload-all is not a sysctl option.
-
13 Question 13 Single choice Managing the Network Configuration
An operations team on Oracle Linux 8 is troubleshooting intermittent packet loss on a server with a NetworkManager-managed static address. The administrator must first confirm the configuration NetworkManager actually applied to the interface, including the active connection profile and the IP addresses bound to it, without changing anything. Which command sequence should the administrator run first?
Correct Answer: DExplanationnmcli connection show --active lists which profile is currently active on each device, and nmcli device show reports the live IP configuration NetworkManager has applied, which is the non-disruptive way to verify the runtime state. Flushing addresses with ip changes the system and would worsen the outage. Reading the ifcfg file shows the stored configuration, which can differ from what is active, so it is not authoritative. Restarting NetworkManager disrupts connectivity and is not an investigative first step.
-
14 Question 14 Single choice Oracle Ksplice
A bank's Oracle Linux 8 fleet must apply a critical kernel security fix within 24 hours. Maintenance windows are unavailable, and the administrator must confirm which fixes are currently applied and whether the running kernel is covered by Ksplice before scheduling any reboot. Which uptrack command should the administrator run to view the fixes applied to the running kernel?
Correct Answer: CExplanationuptrack-show lists the Ksplice updates currently applied to the running kernel, which is the read-only check needed before deciding on further action. uptrack-upgrade --install applies available fixes, which changes the system before the administrator has confirmed its state. uptrack-remove --all rolls back every applied update, and uptrack-install --reboot is not a supported invocation for this task. The question requires a non-modifying inspection, so only the status command fits.
-
15 Question 15 Single choice Monitoring and Troubleshooting Linux
A batch-processing server on Oracle Linux 8 shows periodic latency spikes every few minutes. Application owners suspect disk saturation, but the administrator must identify the device responsible over a full 20-minute window, reporting extended device statistics in one-minute intervals so the spikes can be correlated with timestamps. Which command best meets this requirement?
Correct Answer: CExplanationiostat -x reports extended per-device statistics such as utilization and await, and the arguments 60 20 produce twenty samples at sixty-second intervals, covering the full window. vmstat 1 1 captures a single one-second sample and is not device-specific. mpstat reports CPU utilization rather than disk statistics. The ss utility reports socket statistics and does not accept the interval form shown.
These are 15 of the 60 questions in the full 1Z0-106 pack.
Get All 60 QuestionsGet all 60 questions & answers
Full access options for Oracle 1Z0-106
Self-study
PDF Version
- 60 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 60 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 60 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the 1Z0-106 Exam (Oracle Linux 8 Advanced System Administration) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.