1z1-106 Exam Dumps Free Test Engine Verified By Professional Oracle Linux 8 System Administrator Certified Experts
Use Real Oracle Achieve the 1z1-106 Dumps - 100% Exam Passing Guarantee
NEW QUESTION # 34
Examine this command:
# auditctl -w /etc/passwd -p w -k pass
Which two statements are true upon execution?
- A. An audit rule is defined with the keyword pass.
- B. An audit is defined that creates a log entry every time a write occurs to /etc/passwd.
- C. An audit rule is defined that creates a log entry every time /etc/passwd is read.
- D. A write occurs to /etc/audit/audit.rules.
- E. A write occurs to /etc/audit/rules.d/audit.rules.
Answer: A,B
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 # 35
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?
- A. It configures an automatic IPV6 address.
- B. Ethernet connection eth2 is created.
- C. A static IP address is assigned to the eth2 connection
- D. The configuration is saved in /etc/sysconfig/network.
Answer: B,C
Explanation:
Explanation of Answer A:Thenmcli con addcommand is used to create a new network connection namedeth2. The parameters specify the connection type (ethernet), the interface name (ifname eth2), and the connection name (con-name eth2), creating a new configuration for theeth2interface.
Explanation of Answer C:Theipv4.addressparameter assigns a static IPv4 address (192.168.0.5/24) to theeth2connection. Therefore, the connection will have this static IP once created.
NEW QUESTION # 36
Which are three of the network bonding modes supported in Oracle Linux 8?
- A. Passive Backup
- B. Split Horizon
- C. 802.3ad
- D. Active Backup
- E. Poison Reverse
- F. Multicast
- G. Round-robin
Answer: C,D,G
NEW QUESTION # 37
Which two statements are true about kernel boot parameters?
- A. Each kernel version's boot parameters are stored in independent configuration files in /boot/loader/entries.
- B. Parameters passed to the kernel from the GRUB 2 menu are persistent and apply to all subsequent reboots.
- C. Boot parameters are defined as values for the GRUB_CMDLINE_LINUX directive in the /etc/default/grub file.
- D. Boot parameters defined as values for the GRUB_BOOT command-line interface are persistent and apply to all subsequent reboots.
Answer: A,C
NEW QUESTION # 38
Examine this command and output:
# mdadm --detail /dev/md0
/dev/md0:
Creation Time: Tue Oct 27 16:53:38 2020
Raid Level: raid5
Array Size: 207872 (203.03 MiB 212.86 MB)
Used Dev Size: 103936 (101.52 MiB 106.43 MB)
Raid Devices: 3
Total Devices: 3
Persistence : Superblock is persistent
Update Time: Tue Oct 27 16:53:38 2020
State: clean, degraded, recovering
Active Devices: 2
Working Devices: 3
Failed Devices: 0
Spare Devices: 1
Layout: left-symmetric
Chunk Size: 512K
Rebuild Status: 60% complete
Name: ol8.example.com:0 (local to host ol8.example.com)
UUID: 70f8bd2f:0505d92d:750a781e:c224508d
Events: 66
Number Major Minor RaidDevice State
0 8 49 0 active sync /dev/sdd1
1 8 65 1 active sync /dev/sde1
3 8 81 2 spare rebuilding /dev/sdf1
Which two are true?
- A. A new RAID device was just added to replace a failed one.
- B. A RAID device failed and has returned to normal operating status.
- C. An extra device was added to this RAID set to increase its size.
- D. The RAID set read and write performance is currently sub-optimal.
- E. Only write performance is currently sub-optimal on this RAID set.
Answer: A,D
NEW QUESTION # 39
Which two features does a user private group provide?
- A. Provision of a unique group.
- B. Capability to prevent other users from modifying a file
- C. Ability for only a group's users to read files in a new directory
- D. Capability to create new group users
- E. Capability to execute sudo
Answer: A,B
NEW QUESTION # 40
Which two default user account settings are contained in /etc/login.defs?
- A. Encryption method used to encrypt passwords.
- B. Group hashed passwords.
- C. Password aging controls.
- D. Decryption method used to decrypt passwords.
- E. User hashed passwords.
Answer: A,C
NEW QUESTION # 41
Which two statements are true about naming network interfaces?
- A. The udev device manager generates device names based on a series of schemes.
- B. The udev device manager uses a random number if all other schemes fail.
- C. Device names incorporate the physical location and hot plug slot index number.
- D. Consistent device naming is enabled by default.
- E. Device names cannot be manually configured.
Answer: A,D
Explanation:
Explanation of Answer A:Consistent network device naming is enabled by default in Oracle Linux 8. This feature ensures that network interfaces retain their names across reboots, which is important for maintaining network configuration consistency. This is managed through the Predictable Network Interface Names feature, which is part of thesystemdproject and is implemented inudev.
Explanation of Answer B:Theudevdevice manager is responsible for dynamically managing device nodes in the/devdirectory. It generates network interface names based on several naming schemes, such as the interface's physical location on the bus (likeenp0s3), MAC address, or other attributes. These schemes are used to provide consistent and predictable names for network interfaces.
NEW QUESTION # 42
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 -sc 83 -k mkdir
- B. ausearch -r -k mkdir
- C. ausearch --format text -k mkdir
- D. ausearch -a 83 -k mkdir
- E. ausearch -I -k mkdir
Answer: A,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 # 43
Examine this segment of /etc/rsyslog.conf:
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none /var/log/messages
# The authpriv file has restricted access.
authpriv.* /var/log/secure
# Log all the mail messages in one place.
mail.* -/var/log/maillog
# Log cron stuff
cron.* /var/log/cron
# Everybody gets emergency messages
*.emerg :omusrmsg:*
Now examine this log output:
less
Nov 9 20:32:16 server02 sudo[4570]: pam_unix(sudo:session): session opened for user opc (uid=0) Nov 9 20:32:17 server02 sudo[4570]: pam_unix(sudo:session): session closed Nov 9 20:32:24 server02 unix_chkpwd[4661]: password check failed for user Nov 9 20:32:24 server02 su[4581]: pam_unix(su:auth): authentication failed; logname= uid=1000 euid=0 tty=pts/0 ruser=opc rhost= user=root Which setting enabled the reporting of this log file output?
- A. #kern.* /dev/sssd/sssd.log
- B. cron.* /var/log/cron
- C. *.info;mail.none;authpriv.none;cron.none /var/log/messages
- D. *.emerg *
- E. authpriv.* /var/log/auth
Answer: E
Explanation:
* Option A (Correct):The configuration lineauthpriv.* /var/log/authwould direct all messages of theauthprivfacility (which includes sensitive authentication messages) to the/var/log/authfile. The log entries provided, which include authentication-related messages from PAM (pam_unix), would be logged due to this setting.
* Option B (Incorrect):The*.emerg *setting logs emergency messages to all users, not specifically the provided log output.
* Option C (Incorrect):This setting logs various non-authentication-related messages to/var/log
/messages. It specifically excludesauthpriv.
* Option D (Incorrect):This setting appears to be commented out and incorrect for the logging behavior described.
* Option E (Incorrect):Thecron.*setting logs cron messages, unrelated to the provided authentication logs.
Oracle Linux Reference:Refer to:
* OracleLinux 8: System Logging with rsyslog
NEW QUESTION # 44
Which mdadm command creates a RAID-1 device consisting of two block volumes and one spare device?
- A. mdadm -create /dev/md0 -level=1 -raid-devices=2 /dev/xvdd1 /dev/xvdd2
- B. mdadm -create /dev/md0 -level=1 -raid-devices=2 /dev/xvdd1 /dev/xvdd2 -spare-devices=1 /dev/xvdd3
- C. mdadm -create /dev/md0 -level=0 -raid-devices=2 /dev/xvdd1 /dev/xvdd2 -spare-devices=1 /dev/xvdd3
- D. mdadm -create /dev/md0 -level=5 -raid-devices=2 /dev/xvdd1 /dev/xvdd2 -spare-devices=1 /dev/xvdd3
Answer: B
NEW QUESTION # 45
Examine these Kubernetes components:
Which option correctly matches the components with their description?
- A. 1-c, 2-f, 3-d, 4-b, 5-e, 6-a
- B. 1-b, 2-a, 3-e, 4-c, 5-f, 6-d
- C. 1-d, 2-f, 3-c, 4-e, 5-a, 6-b
- D. 1-a, 2-d, 3-b, 4-c, 5-e, 6-f
- E. 1-d, 2-f, 3-e, 4-a, 5-c, 6-b
Answer: C
Explanation:
Explanation of Answer E:This option correctly matches the Kubernetes components with their descriptions:
* Kubectl- d. Command-line interface used to control Kubernetes
* Etcd- f. Stores configuration data relating to the cluster
* Kubelet- c. Agent that allows nodes to communicate with the API
* Kube-proxy- e. Performs networking functions and routes network traffic
* Kube-apiserver- a. Processes and validates requests and performs operations
* Kube-scheduler- b. Determines where containers should run based on resource availability
NEW QUESTION # 46
Which two statements are true about the at and batch commands?
- A. Both at and batch read from standard input, or you can specify a file and execute the commands with the -f option.
- B. at schedules the execution of recurring tasks.
- C. batch executes a task when the system load average is greater than 0.8.
- D. at executes a one-time task to run at a specific time.
- E. batch schedules the execution of recurring tasks.
Answer: A,D
Explanation:
Explanation of Answer C:Bothatandbatchcan accept commands from standard input or from a file specified using the-foption. This allows scheduling of tasks by providing the commands directly or reading them from a file.
Explanation of Answer E:Theatcommand schedules a one-time task to run at a specified time. It is used to execute commands once at a particular time in the future.
NEW QUESTION # 47
Which two statements are true about removing a physical volume (PV) from a volume group (VG)?
- A. It can be removed when an inactive logical volume is on the VG.
- B. It can be removed when an active VG has mounted file systems by running vgexport.
- C. It can be removed when it is part of an active VG.
- D. It cannot be removed when it is part of an active VG.
- E. It can be removed only after removing it from its VG by using vgreduce.
Answer: A,E
Explanation:
To remove a physical volume (PV) from a volume group (VG), it must first be removed using thevgreducecommand. This operation ensures that the VG no longer contains any references to the PV being removed.
Explanation of Answer D:A physical volume can be removed if there are no active logical volumes (LVs) on the VG that require space from that PV. If the LV is inactive, the PV can be safely removed from the VG.
NEW QUESTION # 48
Which three statements are true about DNF modules?
- A. Streams cannot declare dependencies on the streams of other modules.
- B. Profiles are used to provide alternate versions of the same module.
- C. Switching an enabled module stream automatically changes installed packages.
- D. Installing a module allows a user to select a specific stream.
- E. Packages exist in multiple streams, where each stream contains a different version.
- F. Modules are a group of packages that are installed together along with dependencies.
- G. Streams are used to define optional configurations of modules.
Answer: D,E,F
Explanation:
Understanding DNF Modules:
DNF modules in Oracle Linux 8 provide a way to offer different versions of software (packages) to users, allowing them to choose the version that best suits their needs. Modules help in managing multiple versions of software by grouping packages, defining streams, and using profiles for configurations.
Option A: Modules are a group of packages that are installed together along with dependencies.
* Explanation:
* Modulesare collections of packages that are grouped together to represent an application, language runtime, or any logical set.
* When you install a module, you are installing a set of packages along with their dependencies.
* This grouping ensures that all necessary components are installed for the software to function correctly.
* Oracle Linux Reference:
* OracleLinux 8: Managing Software-About Modules:
"A module is a group of packages that represents a component, such as an application, a language runtime, or a set of tools." Option B: Installing a module allows a user to select a specific stream.
* Explanation:
* Streamsin a module represent different versions of the software.
* When installing a module, you can select a specific stream to install the desired version.
* This allows users to choose between multiple versions of the same software provided within the module.
* Oracle Linux Reference:
* OracleLinux 8: Managing Software-About Module Streams:
"Each module can have one or more streams, which represent versions of the module content."
* Example Command:
# dnf module list nodejs
* This command lists available streams for the nodejs module.
Option F: Packages exist in multiple streams, where each stream contains a different version.
* Explanation:
* Within a module, each stream can contain different versions of the packages.
* This means the same package can exist in multiple streams but with different versions in each stream.
* This setup allows users to install the version of the software that meets their requirements.
* Oracle Linux Reference:
* OracleLinux 8: Managing Software-About Module Streams:
"Different streams can contain different versions of the software, allowing you to select the version that best suits your needs." Why Other Options Are Incorrect:
Option C: Profiles are used to provide alternate versions of the same module.
* Explanation:
* Profilesdefine sets of packages within a module stream for specific use cases or configurations, not alternate versions.
* Streams provide alternate versions, whereas profiles provide different package sets within a stream.
* Oracle Linux Reference:
* OracleLinux 8: Managing Software-About Module Profiles:
"A profile is a list of packages that defines a particular use case for a module stream." Option D: Streams are used to define optional configurations of modules.
* Explanation:
* Streams define different versions of software, not optional configurations.
* Optional configurations are managed through profiles within a stream.
* Oracle Linux Reference:
* Profiles handle configurations, while streams handle versions.
Option E: Streams cannot declare dependencies on the streams of other modules.
* Explanation:
* Streams can declare dependencies on specific streams of other modules.
* This allows modules to work together with compatible versions.
* Oracle Linux Reference:
* OracleLinux 8: Managing Software-Module Dependencies:
"Modules can declare dependencies on specific streams of other modules." Option G: Switching an enabled module stream automatically changes installed packages.
* Explanation:
* Switching streams does not automatically change installed packages.
* You must reset the module and install the new stream's packages manually.
* Oracle Linux Reference:
* OracleLinux 8: Managing Software-Switching Module Streams:
"To switch to a different module stream, you must reset the module and then install the packages from the new stream." Conclusion:
* Correct Options:A, B, F
* Summary:Modules group packages with dependencies, installing a module allows selecting a specific stream (version), and packages can exist in multiple streams with different versions.
NEW QUESTION # 49
Which statement is true about slice units?
- A. A slice unit accepts multiple names by the creation of additional symlinks to the unit file.
- B. Processes in a slice unit are named at the same level as scopes and services.
- C. A slice unit is a concept for hierarchically managing resources in a group of processes.
- D. The system.slice contains all system services and user sessions.
Answer: C
NEW QUESTION # 50
Examine the contents of the /etc/exports file on an NFS server:
/status *(rw,async)
/usr/shared/tools *(all-squash,anonuid=501,anongid=501,ro)
/projects/big *(ro) pteam(rw)
The NFS server exports /usr/shared/tools to NFS clients. Which statement is true?
- A. All clients can mount /usr/shared/tools read-only and NFS explicitly maps all requests to the UID and GID of the privileged local 501 user.
- B. All clients can mount /usr/shared/tools read-only and NFS explicitly maps all requests to the UID and GID of the unprivileged local 501 user.
- C. All clients can mount /usr/shared/tools read-only and all-squash overrides explicit mapping of the UID and GID defined by anonuid and anongid.
- D. All clients except those with a local 501 user can mount /usr/shared/tools read-only.
- E. All clients can mount /usr/shared/tools read-only and NFS ignores the directives defined by the anonuid and anongid options.
Answer: B
Explanation:
* Option C (Correct):Theall-squashoption in the/etc/exportsfile maps all user and group requests from remote systems to the anonymous user (nfsnobody) on the NFS server. However, because theanonuidandanongidoptions are specified with501, all incoming requests are explicitly mapped to the UID and GID of the unprivileged local user with UID 501 and GID 501. Thero(read-only) option allows all clients to mount/usr/shared/toolsas read-only.
* Option A (Incorrect):This is incorrect because all clients can mount the directory, but all users' requests are squashed to UID 501. There is no exception for local 501 users.
* Option B (Incorrect):The answer is incorrect because it incorrectly states "privileged local 501 user." The UID 501 is typically an unprivileged user.
* Option D (Incorrect):Theall-squashoption does not override the UID and GID explicitly defined byanonuidandanongid. Instead, it maps all remote requests to these values.
* Option E (Incorrect):Theanonuidandanongiddirectives are not ignored; they are explicitly used to map all requests to the specified UID and GID.
Oracle Linux Reference:For more information on NFS exports and options, refer to:
* OracleLinux 8: Managing NFS and NIS
* man exportsfor details on export options.
NEW QUESTION # 51
Which two statements are true about naming network interfaces?
- A. The udev device manager generates device names based on a series of schemes.
- B. The udev device manager uses a random number if all other schemes fail.
- C. Device names incorporate the physical location and hot plug slot index number.
- D. Consistent device naming is enabled by default.
- E. Device names cannot be manually configured.
Answer: A,D
NEW QUESTION # 52
Which are three of the network bonding modes supported in Oracle Linux 8?
- A. Passive Backup
- B. Split Horizon
- C. 802.3ad
- D. Active Backup
- E. Poison Reverse
- F. Multicast
- G. Round-robin
Answer: C,D,G
Explanation:
* Option B (Correct):Round-robin is a network bonding mode that distributes outgoing traffic evenly across all active network interfaces.
* Option D (Correct):802.3ad (LACP - Link Aggregation Control Protocol) is a bonding mode that allows dynamic aggregation of links conforming to the IEEE 802.3ad standard.
* Option F (Correct):Active Backup is a bonding mode where one interface is active while the other is in standby, providing redundancy.
* Options A, C, E, G (Incorrect):Multicast, Split Horizon, Poison Reverse, and Passive Backup are not valid bonding modes in Oracle Linux 8.
Oracle Linux Reference:Refer to:
* OracleLinux 8: Network Bonding Guide
NEW QUESTION # 53
Examine this command:
# ssh -L 5011:127.0.0.1:80 [email protected] -f sleep 30
Which two are true upon execution?
- A. A web server is listening on port 5011.
- B. A socket remains open for 30 minutes unless a connection is established.
- C. A reverse tunnel is created back to the local host on port 80.
- D. A local port forward is created between client and server.
- E. An SSH connection process is forked to the background.
Answer: D,E
NEW QUESTION # 54
Which two statements are true about the at and batch commands?
- A. Both at and batch read from standard input, or you can specify a file and execute the commands with the -f option.
- B. at schedules the execution of recurring tasks.
- C. batch executes a task when the system load average is greater than 0.8.
- D. at executes a one-time task to run at a specific time.
- E. batch schedules the execution of recurring tasks.
Answer: A,D
NEW QUESTION # 55
Which three are features of the btrfs file system?
- A. Efficient storage for small files
- B. Block devices mirroring
- C. Cluster file system
- D. Copy-on-write metadata
- E. Online resizing
- F. Automatic defragmentation
- G. General-purpose volume manager
Answer: B,D,E
NEW QUESTION # 56
Which two statements are true about the Oracle Linux 8 boot process?
- A. The bootloader loads the initramfs file into memory and extracts the vmlinuz file into the /boot file system.
- B. Both the vmlinuz file and the initramfs file are located in the /boot directory.
- C. The kernel loads driver modules from initramfs that are required to access the root file system.
- D. The kernel loads driver modules from vmlinuz that are required to access the root file system.
- E. The bootloader loads the initramfs file into memory and extracts the vmlinuz file into a temporary file system (tmpfs).
Answer: C,E
NEW QUESTION # 57
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 deployment named nginx.
- C. The command creates and guarantees the availability of a specified number of identical pods.
- D. The command creates a pod 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
Explanation:
* Option A (Correct):The command creates a Kubernetes Deployment, which ensures the specified number of replicas (pods) are running at all times. The deployment will manage the creation and maintenance of these pods to ensure availability.
* Option D (Correct):The deployment configuration specifies that the container running inside the pod exposes port 80 (containerPort: 80).
* Option B (Incorrect):The deployment is namednginx-deployment, notnginx.
* Option C (Incorrect):The command creates a Deployment object that manages multiple pods; it does not directly create a single pod namednginx.
* Option E (Incorrect):The command specifies the nginx image version1.14.2, but it will not fail immediately if the image version is not available. Kubernetes will attempt to pull the image, and the failure will happen during that step if the image does not exist.
Oracle Linux Reference:Refer to:
* Kubernetes Documentation on Deployments
* kubectl createcommand usage details.
NEW QUESTION # 58
......
Check the Free demo of our 1z1-106 Exam Dumps with 62 Questions: https://actualtests.prep4away.com/Oracle-certification/braindumps.1z1-106.ete.file.html