
Free 1z1-106 Questions for Oracle 1z1-106 Exam [Mar-2025]
Validate your 1z1-106 Exam Preparation with 1z1-106 Practice Test (Online & Offline)
The Oracle 1z1-106 exam consists of 70 multiple-choice questions which the candidates have to complete within 105 minutes. The candidate must score a minimum of 63% to pass the exam. 1z1-106 exam is conducted in English and is available online or at an authorized testing center.
NEW 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?
- A. 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.
- B. Symbolic link /dev/sparedisk is created linking to /dev/hdb and with an ide-disk device driver, thus overwriting existing symbolic links.
- C. The matching device will have the kernel device name /dev/hdb.
- D. 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.
- E. The matching device will be named /dev/sparedisk.
Answer: A,C
Explanation:
Option C (Correct):If a device named/dev/hdbwith theide-diskdriver is discovered, a symbolic link/dev
/sparediskwill be created, pointing to/dev/hdb.
Option D (Correct):TheKERNEL=="hdb"match specifies that the device will have the kernel device name
/dev/hdb.
Option A (Incorrect):This is incorrect because existing symbolic links are not overwritten unless explicitly defined.
Option B (Incorrect):The device itself is not renamed to/dev/sparedisk; rather, a symbolic link is created.
Option E (Incorrect):The rule specifically requires bothKERNEL=="hdb"andDRIVER=="ide-disk"to match; it is not an either/or condition.
NEW QUESTION # 17
Examine this command:
# auditctl -w /etc/passwd -p w -k pass
Which two statements are true upon execution?
- A. An audit is defined that creates a log entry every time a write occurs to /etc/passwd.
- B. A write occurs to /etc/audit/audit.rules.
- C. An audit rule is defined with the keyword pass.
- D. An audit rule is defined that creates a log entry every time /etc/passwd is read.
- E. A write occurs to /etc/audit/rules.d/audit.rules.
Answer: A,C
Explanation:
* Option C (Correct):The-k passpart of theauditctlcommand defines a keyword (pass) for the audit rule.
This keyword helps in filtering and searching logs in the audit trail.
* Option D (Correct):The-w /etc/passwd -p wpart of the command sets up a watch on the/etc/passwdfile for write (w) operations. This audit rule will generate a log entry every time there is a write operation to
/etc/passwd.
* Option A (Incorrect):This command does not write directly to/etc/audit/rules.d/audit.rules; it defines a rule in memory that could be saved to this file later.
* Option B (Incorrect):The rule only logs write (w) operations; it does not log read operations.
* Option E (Incorrect):The command does not directly cause a write to/etc/audit/audit.rules.
Oracle Linux Reference:Refer to:
* OracleLinux 8: Auditing and System Logs
* man auditctlfor details on audit rules and options.
NEW QUESTION # 18
Which two components are used for creating a new rsyslog rule?
- A. action
- B. filter
- C. parser
- D. module
- E. security policy
Answer: A,B
NEW QUESTION # 19
Which two methods of changing kernel parameters can you use to modify values for the running system?
- A. Adding to or modifying parameters and values in the /etc/sysctl.conf file followed by issuing the sysctl - p command.
- B. Issuing the sysctl -w command to write values to specific files in the /proc/sys directory.
- C. Using the echo command to write values to specific files in the /proc/sys directory.
- D. Issuing the sysctl -w command to write values to specific files in the /sys directory.
- E. Using the echo command to write values to specific files in the /sys directory.
Answer: B,C
Explanation:
Explanation of Answer A:Thesysctl -wcommand is used to modify kernel parameters at runtime. It allows you to set the value of a specific parameter in the/proc/sysdirectory. For example,sysctl -w net.ipv4.
ip_forward=1will enable IP forwarding by writing the value directly to the corresponding file in/proc/sys.
Explanation of Answer B:Using theechocommand to write values directly to specific files in the/proc
/sysdirectory is another method to change kernel parameters dynamically for the running system. For instance, echo 1 > /proc/sys/net/ipv4/ip_forwardachieves the same effect as thesysctl -wcommand.
NEW QUESTION # 20
Examine this command:
# useradd -m -s /bin/bash alice
Which statement is true about the account?
- A. It is not assigned a home directory.
- B. It is assigned a home directory and a password.
- C. It is assigned a shell but without a password.
- D. It is a member of the wheel group.
Answer: C
Explanation:
* Option B (Correct):Theuseraddcommand with-mcreates a home directory for the user, and the-s /bin
/bashoption assigns the Bash shell. However, no password is set when the user is created withuseraddunless explicitly done with thepasswdcommand afterward.
* Option A (Incorrect):There is no mention of adding the user to thewheelgroup; theuseraddcommand does not imply this.
* Option C (Incorrect):The command does not automatically set a password; it only creates the user account with the specified shell.
* Option D (Incorrect):The-moption ensures that a home directory is created.
Oracle Linux Reference:Refer to:
* OracleLinux 8: Managing Users and Groups
NEW QUESTION # 21
Which two statements are true about fdisk?
- A. fdisk -l displays disk size information for all disks.
- B. It can divide logical devices into one or more block disks called partitions.
- C. It understands GPT, MBR, and HFS partition tables.
- D. It cannot partition disks larger than 2 TB by using a GPT partition table.
- E. It can partition disks larger than 2 TB by using a GPT partition table.
Answer: A,D
Explanation:
* Option B (Correct):Thefdisk -lcommand lists information about all available disks, including their sizes, partition tables, and partition details.
* Option E (Correct):fdiskcannot handle disks larger than 2 TB because it is limited to the Master Boot Record (MBR) partitioning scheme. To manage larger disks (over 2 TB), the GUID Partition Table (GPT) is required, andfdiskdoes not fully support GPT.
* Option A (Incorrect):fdiskdoes not support HFS (Hierarchical File System, used by macOS). It primarily supports MBR and has limited support for GPT.
* Option C (Incorrect):fdiskdoes not support partitioning disks larger than 2 TB with GPT; gdiskorpartedshould be used instead.
* Option D (Incorrect):fdiskdoes not divide logical devices into block disks called partitions; it operates on physical storage devices to create partitions.
Oracle Linux Reference:Refer to:
* OracleLinux 8: Managing Disks and Partitions
* man fdiskfor more details on the usage and limitations of thefdiskutility.
NEW QUESTION # 22
Which statement is true about slice units?
- A. The system.slice contains all system services and user sessions.
- B. Processes in a slice unit are named at the same level as scopes and services.
- C. A slice unit accepts multiple names by the creation of additional symlinks to the unit file.
- D. A slice unit is a concept for hierarchically managing resources in a group of processes.
Answer: D
NEW QUESTION # 23
Which two default user account settings are contained in /etc/login.defs?
- A. Decryption method used to decrypt passwords.
- B. Password aging controls.
- C. Group hashed passwords.
- D. User hashed passwords.
- E. Encryption method used to encrypt passwords.
Answer: B,E
Explanation:
Explanation of Answer D:The/etc/login.defsfile in Oracle Linux contains configuration settings related to user account policies, including password aging controls. This includes settings such asPASS_MAX_DAYS, PASS_MIN_DAYS, andPASS_WARN_AGE, which define the maximum number of days a password is valid, the minimum number of days between password changes, and the number of days before password expiration to warn users, respectively.
Explanation of Answer E:The/etc/login.defsfile also contains settings for the encryption method used to encrypt user passwords. TheENCRYPT_METHODparameter specifies the hashing algorithm, such as SHA512, that is used to encrypt user passwords stored in/etc/shadow.
NEW QUESTION # 24
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?
- 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: No such file or directory
bash-4.4# pwd
/root
bash-4.4# ls
bash: ls: command not found - C. 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 - D. 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
Answer: A
NEW QUESTION # 25
Which two statements are true about the configuration and use of cron or anacron?
- A. The crond daemon looks for jobs only in /etc/crontab.
- B. cron jobs may run only once a minute.
- C. anacron jobs may run only once a day.
- D. anacron jobs are used to run cron jobs if the system was powered off when they were scheduled to run.
- E. All crontabs are held in the /etc/cron.d directory.
Answer: C,D
Explanation:
Option D: anacron jobs may run only once a day.
* Explanation:
* Anacronis designed for systems that are not running continuously (e.g., desktops or laptops that may be powered off at night). It ensures that scheduled tasks are executed at the specified intervals.
* Anacron jobs are defined with periods indays. The minimal unit of time for scheduling in Anacron isone day. Therefore, Anacron can schedule jobs to runonce a dayat most.
* It is not intended for tasks that need to run multiple times per day.
* Oracle Linux Reference:
* OracleLinux 8: Scheduling Tasks- Section onAnacron Configuration Files:
"Anacron is used to run commands periodically with a frequency specified in days." Option E: anacron jobs are used to run cron jobs if the system was powered off when they were scheduled to run.
* Explanation:
* Anacron complements Cron by ensuring thatscheduled jobs are not missedif the system is powered off or in standby mode at the time they were supposed to run.
* When the system boots up, Anacron checks for any scheduled jobs that did not run and executes them accordingly.
* This is particularly useful for laptops or desktops that are not always on.
* Oracle Linux Reference:
* OracleLinux 8: Scheduling Tasks- Section onUnderstanding Anacron:
"Anacron is designed to run commands periodically with specified frequency, but unlike cron, it does not assume that the system is running continuously." Why Other Options Are Not Correct:
* Option A:cron jobs may run only once a minute.
* Explanation:
* Cron allows scheduling tasks with a minimum granularity ofone minute. However, this means that tasks can be scheduled to runevery minute, not limited to only once a minute.
* Multiple cron jobs can be scheduled to run at the same minute.
* Therefore, the statement is misleading; cron jobs can runas frequently as every minute, but notonly once a minute.
* Option B:All crontabs are held in the /etc/cron.d directory.
* Explanation:
* The /etc/cron.d directory is used for system-wide cron jobs provided by packages or administrators.
* User-specific cron jobs are stored in /var/spool/cron/ or managed via the crontab command and not placed in /etc/cron.d.
* Additionally, the system crontab file is /etc/crontab, and there are also directories like /etc
/cron.hourly, /etc/cron.daily, etc.
* Option C:The crond daemon looks for jobs only in /etc/crontab.
* Explanation:
* The crond daemon checks multiple locations for scheduled jobs:
* User crontabs managed via the crontab -e command (stored in /var/spool/cron/).
* System-wide crontab file (/etc/crontab).
* The /etc/cron.d/ directory.
* The /etc/cron.hourly/, /etc/cron.daily/, /etc/cron.weekly/, and /etc/cron.monthly/ directories.
* Therefore, crond does not look for jobsonlyin /etc/crontab.
Conclusion:
OptionsDandEare correct because they accurately describe the characteristics and purposes of Anacron in the context of scheduling tasks on an Oracle Linux system.
NEW QUESTION # 26
Examine these commands, which execute successfully:
# firewall-cmd --zone=public --add-service=cockpit --permanent
# firewall-cmd --zone=public --add-port=1313/tcp --permanent
# firewall-cmd --reload
Which are true upon execution?
- A. The Cockpit service is added only to the public zone.
- B. The custom Cockpit service configuration file is updated in /usr/lib/firewalld/services.
- C. Egress traffic is allowed for the Cockpit service only when using port 1313.
- D. Runtime firewall configuration is not lost when the firewalld process is restarted or the system is rebooted.
- E. Port 1313 blocks all traffic for the public zone except for ingress traffic to the Cockpit service.
Answer: A,D
NEW QUESTION # 27
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?
- A. It remains mounted until you switch to a directory outside the current mount point.
- B. It remains mounted until you log out from the first session.
- C. It was unmounted when the second session began.
- D. It remains mounted as long as the system is running.
- E. It was unmounted from the first session when the timer expired.
Answer: A,B
Explanation:
Understanding AutoFS Behavior:
* AutoFSautomatically mounts file systems when accessed and unmounts them after a period of inactivity (default is 5 minutes).
* A file system remains mounted as long as it isactive, meaning processes are accessing files or directories within it.
Scenario Analysis:
* First Session:
* Changed to a directory under AutoFS control (mount point is active).
* Second Session:
* Changed to /etc (does not affect the first session).
* Idle Time Expires:
* AutoFS checks for idle mounts to unmount.
Implications:
* The mount point remainsactivebecause the shell in the first session is in the AutoFS directory.
* AutoFS willnotunmount the file system while it is active.
Oracle Linux Reference:
* OracleLinux 8: Configuring File Systems-Using the Automounter:
"A file system remains mounted as long as there are open files or directories within it." Correct Options:
* Option B:The file system remains mounted until you log out from the first session.
* Option E:The file system remains mounted until you switch to a directory outside the current mount point.
Why Other Options Are Incorrect:
* Option A:Incorrect because the mount does not persist indefinitely; it's unmounted when no longer active.
* Option C:Incorrect because the mount is still active; the timer does not cause unmounting in this case.
* Option D:Incorrect because the second session does not influence the mount status in the first session.
NEW QUESTION # 28
Which two features does a user private group provide?
- A. Capability to prevent other users from modifying a file
- B. Ability for only a group's users to read files in a new directory
- C. Capability to create new group users
- D. Provision of a unique group.
- E. Capability to execute sudo
Answer: A,D
NEW QUESTION # 29
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?
- A. ausearch -r -k mkdir
- B. ausearch --format text -k mkdir
- C. ausearch -a 83 -k mkdir
- D. ausearch -sc 83 -k mkdir
- E. ausearch -I -k mkdir
Answer: D,E
Explanation:
* Option B (Correct):The-Ior--interpretoption inausearchconverts the numerical system call numbers into their corresponding text names, making the output easier to understand.
* Option C (Correct):The-scoption specifies the system call by name (mkdir), which helps in finding audit logs related to that particular system call in text format.
* Option A, D, E (Incorrect):These options do not specifically translate the numeric system call numbers into human-readable text. OptionAfilters by the numeric ID,Dis an invalid option, andEreverses the search order but does not affect the format.
Oracle Linux Reference:Refer to:
* OracleLinux 8: Auditing and System Logs
* man ausearchfor more details on audit search and interpretation commands.
NEW QUESTION # 30
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?
- A. 1, 2, 3, 6
- B. 1, 2, 4, 6
- C. 1, 2, 6
- D. 1, 2, 3, 4, 5, 6
- E. 1, 2, 3, 5, 6
- F. 1, 2, 4, 5, 6
Answer: F
NEW QUESTION # 31
The ss command was invoked with options to:
* limit output to all listening and non-listening TCP ports
* display ports instead of the protocols that typically use those ports
* display all available internal TCP information
* display only connections whose source or destination port is 80
Which two results are produced by the command?
- A. tcp CLOSE-WAIT 32 0 server.example.com:44732 12.21.0.15:https
- B. LISTEN 0 511 *:80 *:* cubic cwnd:10
- C. icmp6 UNCONN 0 0 *:58 *:*
- D. UNCONN 0 0 [::1]:323 [::]:*
- E. ESTAB 0 0 10.12.18.92:50384 169.254.169.254:80 cubic wscale:9,7 rto:201 rtt: 0.226/0.113 ato:40 mss:8948 pmtu:9000 rcvmss:1728 advmss:8948 cwnd:10 bytes_sent:142 bytes_acked:143 bytes_received:1728 segs_out:4 segs_in:3 data_segs_out:1 data_segs_in:1 send 3167433628bps lastsnd:
11351 lastrcv: 11351 lastack:11351 pacing_rate 6334867256bps delivery_rate 504112672bps delivered:
2 app_limited rcv_space:62720 rcv_ssthresh:56588 minrtt:0.142
Answer: B,E
Explanation:
Explanation of Answer C:Thesscommand can be used to display all available internal TCP information, including established connections with detailed TCP metrics, which matches the output in Answer C.
Explanation of Answer D:Thesscommand can display listening ports (TCP in this case) with details like congestion control algorithms (cubic), which aligns with Answer D. The output indicates a listening TCP socket on port 80.
NEW QUESTION # 32
Which takes precedence for ssh program configuration?
- A. /etc/ssh/ssh_config
- B. /etc/ssh/sshd_config
- C. Command line
- D. ~/.ssh/config
Answer: C
NEW QUESTION # 33
Examine this command and output:
# cat deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
spec:
selector:
matchLabels:
app: nginx
replicas: 2
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
Now examine this command which executes successfully:
$ kubectl create -f deployment.yaml
Which two statements are true?
- A. The command specifies port 80 as the port that the container exposes.
- B. The command creates a pod named nginx.
- C. The command creates and guarantees the availability of a specified number of identical pods.
- D. The command creates a deployment named nginx.
- E. The command specifies nginx image version 1.14.2 and will fail if the image version is not available.
Answer: A,C
NEW QUESTION # 34
Examine this command:
# useradd -m -s /bin/bash alice
Which statement is true about the account?
- A. It is not assigned a home directory.
- B. It is assigned a home directory and a password.
- C. It is assigned a shell but without a password.
- D. It is a member of the wheel group.
Answer: C
NEW QUESTION # 35
Which three are features of the btrfs file system?
- A. Online resizing
- B. Cluster file system
- C. Copy-on-write metadata
- D. Block devices mirroring
- E. Efficient storage for small files
- F. Automatic defragmentation
- G. General-purpose volume manager
Answer: A,C,F
Explanation:
* Option B (Correct):Btrfs uses a copy-on-write mechanism for both data and metadata, which ensures that the file system is more resilient to crashes and data corruption.
* Option E (Correct):Btrfs supports online resizing, meaning that you can change the size of a mounted Btrfs file system without unmounting it.
* Option G (Correct):Btrfs automatically defragments files in the background to maintain performance.
* Option A (Incorrect):While Btrfs does support mirroring, it is not strictly block device mirroring in the traditional sense like RAID; it uses a different approach to redundancy.
* Option C (Incorrect):Btrfs is not a cluster file system; it is designed for local file systems.
* Option D (Incorrect):While Btrfs can store small files efficiently, it is not its primary design goal compared to other file systems optimized specifically for small files.
* Option F (Incorrect):Btrfs is a file system with integrated volume management capabilities but is not a general-purpose volume manager like LVM.
Oracle Linux Reference:Refer to:
* OracleLinux 8: Btrfs File System
* man btrfsfor features and management.
NEW QUESTION # 36
Which two directories store PAM authentication modules?
- A. /var/lib
- B. /lib/security
- C. /lib64/security
- D. /usr/lib
- E. /etc/pam.d
Answer: B,C
NEW QUESTION # 37
......
Oracle 1Z0-106 exam is a challenging certification that requires significant preparation and study. Candidates must have a deep understanding of Oracle Linux 8 and be proficient in a range of advanced system administration tasks. 1z1-106 exam consists of multiple-choice questions and requires candidates to demonstrate their knowledge of the subject matter through practical exercises. Those who pass the exam will have demonstrated their expertise in Oracle Linux 8 Advanced System Administration and will be well-prepared to take on the challenges of managing complex enterprise systems.
Check Real Oracle 1z1-106 Exam Question for Free (2025): https://actual4test.torrentvce.com/1z1-106-valid-vce-collection.html