Oracle Linux 8 Advanced System Administration Free Sample Questions

Create a free account to browse all 17 sample questions. The full practice test includes 205 questions. Use the simulator for timed and flashcard mode.

Try Simulator

1Z0-106 Sample Questions

  1. Question 1

    Q1

    An administrator deploys a custom web service that is configured to listen on TCP port 8080. The service fails to start, and the journalctl logs show a "Permission denied" error when trying to bind to the port. The system is running in SELinux enforcing mode. The administrator confirms that firewalld is not blocking the port. What is the correct, persistent method to allow the web service to bind to port 8080?

    flowchart TD Start([Start]) --> CheckService{Service fails to start} CheckService --> CheckLogs{journalctl} CheckLogs --> |'Permission Denied'| IsSELinux{SELinux Enforcing?} IsSELinux --> |Yes| IsFirewall{Firewall Blocking?} IsFirewall --> |No| SELinuxPortContext{Check SELinux Port Context} SELinuxPortContext --> Solution[Apply Correct Port Context] Solution --> Restart[Restart Service] Restart --> Success([Success])

    Show answer & explanation

    Correct answer: C

    The issue is that SELinux policy, by default, only allows services with the httpd_t context to bind to ports labeled http_port_t (like 80, 443, 8008, etc.). Port 8080 is typically labeled http_cache_port_t or may not have a web-related label. The correct and persistent solution is to use semanage port to add a new rule to the SELinux policy, labeling port 8080 with the http_port_t type. This allows the web service to bind to it successfully. Disabling SELinux is insecure. Using audit2allow is for cases where no appropriate label exists, but http_port_t is the correct existing label for this purpose. setsebool is for toggling booleans, not for defining port labels.

  2. Question 2

    Q2

    You are configuring a new Oracle Linux 8 server that will serve as a high-performance database node. The network team has provisioned a specific static IP address, gateway, and DNS servers. You need to configure the 'eno1' interface using nmcli in a single command line to minimize downtime. Which command successfully creates and activates this connection with the specified parameters?

    Show answer & explanation

    Correct answer: A

    This command correctly adds a new connection profile of type ethernet with manual IPv4 configuration, specifying the address, gateway, and DNS servers in the correct format, and immediately activates it. The syntax for ipv4.dns accepts space-separated IPs within quotes.

  3. Question 3

    Q3

    A system administrator needs to configure a Virtual Data Optimizer (VDO) volume on an Oracle Linux 8 server to save space for a backup repository. The physical device is /dev/sdb. Which sequence of commands correctly creates a VDO volume named vdo_backup with a logical size of 50TB on this 10TB physical disk?

    Show answer & explanation

    Correct answer: A

    To use VDO, the software packages must be installed. The vdo create command initializes the volume. Specifying --vdoLogicalSize allows for thin provisioning where the presented size (50T) exceeds the physical size (10T), relying on deduplication and compression.

  4. Question 4

    Q4

    You are troubleshooting a performance issue on an Oracle Linux 8 web server. You suspect that the system is paging heavily to swap, causing latency. Which specific sar command and column would best confirm that pages are being actively swapped in and out of disk, rather than just normal memory allocation activity?

    Show answer & explanation

    Correct answer: A

    sar -W reports swapping statistics. The fields pswpin/s and pswpout/s indicate the number of swap pages the system brought in and out per second. High values here confirm active swapping to disk, which degrades performance.

  5. Question 5

    Q5

    An administrator needs to analyze the boot time of an Oracle Linux 8 server to identify which services are slowing down the startup process. Which command provides a hierarchical view of the critical chain of units, highlighting the time each unit took to initialize and which units delayed the boot?

    Show answer & explanation

    Correct answer: A

    systemd-analyze critical-chain displays a tree of the time-critical chain of units. It shows how much time each unit took to start and highlights units that significantly delayed the boot process.

  6. Question 6

    Q6

    You are managing an Oracle Linux 8 system and need to persistently modify a kernel parameter related to network performance. You want to ensure this setting survives reboots and takes precedence over default system settings. Which is the recommended location to create a new configuration file for this parameter?

    Show answer & explanation

    Correct answer: A

    The /etc/sysctl.d/ directory is the standard location for custom kernel parameter configuration files in Oracle Linux 8. Files are processed in lexicographical order, so prefixing with a high number (like 99) ensures it overrides defaults found in /usr/lib/sysctl.d/.

  7. Question 7

    Q7

    A critical application requires the xfs filesystem on /dev/mapper/data_vg-app_lv to be expanded while mounted and online. The underlying logical volume has already been extended. Which command must be run to resize the filesystem to occupy the newly available space?

    Show answer & explanation

    Correct answer: A

    The xfs_growfs command is used to resize XFS filesystems. Crucially, it takes the mount point as the argument (e.g., /mnt/app_data), not the device path, and it supports online expansion.

  8. Question 8

    Q8

    You have configured a custom service listening on TCP port 9090. SELinux is in Enforcing mode, and the service fails to bind to the port. You have identified that the port type http_port_t is appropriate for this service. Which command persistently adds port 9090 to the http_port_t SELinux policy?

    Show answer & explanation

    Correct answer: A

    The semanage port command is used to manage network port definitions in the SELinux policy. The -a flag adds a definition, -t specifies the type (http_port_t), and -p specifies the protocol and port number. This change is persistent.

Register free to unlock 9 more sample questions

Create a free account to continue with the rest of the 1Z0-106 sample set.

Lifetime One

Own this practice test forever.

$79.99
$75.99
one-time
  • Full access to 205 questions
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • Brainy AI Assistant
  • Lifetime updates

Two

Any 2 exams per month.

$20.00/exam
$39.99
/month
  • 2 active exam slots
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • 1,000 Brainy AI Credits
  • Cancel anytime

Premium Twelve

Any 12 exams over 3 months.

$15.00/exam
$179.99
/3 months
  • 4 active exam slots
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • 15,000 Brainy AI Credits
  • Dedicated support
  • Friend seat included — full access

Trusted by professionals at

NvidiaSupabaseGitHubOpenAITursoClerkClaude AIAmazon