
[Nov-2024 Newly Released] 1Z0-106 Exam Questions For You To Pass
Oracle 1Z0-106 Exam: Basic Questions With Answers
NEW QUESTION # 23
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 except those with a local 501 user can mount /usr/shared/tools read-only.
- 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 NFS explicitly maps all requests to the UID and GID of the privileged local 501 user.
- D. 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.
- 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 # 24
Which three are features of the btrfs file system?
- A. Copy-on-write metadata
- B. Online resizing
- C. Block devices mirroring
- D. Cluster file system
- E. Automatic defragmentation
- F. General-purpose volume manager
- G. Efficient storage for small files
Answer: A,B,E
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 # 25
Which two statements are true about removing a physical volume (PV) from a volume group (VG)?
- A. It can be removed only after removing it from its VG by using vgreduce.
- B. It can be removed when an active VG has mounted file systems by running vgexport.
- C. It cannot be removed when it is part of an active VG.
- D. It can be removed when it is part of an active VG.
- E. It can be removed when an inactive logical volume is on the VG.
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 # 26
Which two types of reports does iostat generate?
- A. Swap Utilization Report
- B. Memory Utilization Report
- C. Storage Utilization Report
- D. Device Utilization Report
- E. CPU Utilization Report
Answer: D,E
NEW QUESTION # 27
Which is true about the /etc/sysconfig directory in an Oracle Linux 8 system?
- A. Its contents depend on the packages installed on the system.
- B. Files in this directory hierarchy contain information about running processes.
- C. It is used to access device and device driver information.
- D. Files in this directory hierarchy contain information about system hardware.
Answer: A
Explanation:
The/etc/sysconfigdirectory contains configuration files for various system services and applications. The content of this directory depends on which packages are installed on the system. Each package may provide one or more configuration files stored in/etc/sysconfigto control its behavior.
NEW QUESTION # 28
You must prevent Ksplice from reapplying updates at the next system reboot. Which two commands or parameters can do this?
- A. touch /etc/uptrack/disable
- B. nouptrack
- C. uptrack-upgrade -n
- D. uptrack=0
- E. uptrack-remove -all
Answer: A,E
Explanation:
Explanation of Answer C:The commanduptrack-remove --allremoves all currently applied Ksplice updates, effectively preventing them from being reapplied upon reboot.
Explanation of Answer E:Creating a file/etc/uptrack/disabledisables Ksplice Uptrack, preventing it from applying any updates at the next system reboot.
NEW QUESTION # 29
Which two directories store PAM authentication modules?
- A. /usr/lib
- B. /lib/security
- C. /lib64/security
- D. /etc/pam.d
- E. /var/lib
Answer: B,C
NEW QUESTION # 30
Examine the access privileges on this directory:
drwx------ 2 user1 test 4096 Nov 6 10:12 my_directory/
You must enable another user to read and navigate to my_directory. Which command will do this?
- A. setfacl --modify user:user2:r-x my_directory
- B. setfacl --modify group:test:r-- my_directory
- C. setfacl --modify user:user2:r-- my_directory
- D. setfacl -x user:user2 my_directory
- E. setfacl --default --modify user:user2:rw- my_directory
Answer: A
NEW QUESTION # 31
Examine this command and output:
$ ftp host01.example.com
Connected to host01.example.com (192.168.40.131).
220 (vsFTPd 3.0.2)
Name (host01.example.com:oracle):
After entering a carriage return, this error message is displayed:
530 Permission denied
Login Failed
ftp>
Why is the oracle user denied access to the FTP server on host01.example.com?
- A. The oracle user is listed in /etc/vsftpd/ftpusers.
- B. The oracle user is listed in /etc/vsftpd/user_list and USERLIST_ENABLE is set to NO in /etc/vsftpd/vsftpd.conf.
- C. The oracle user is listed in /etc/vsftpd/user_list and USERLIST_ENABLE is set to YES in /etc/vsftpd/vsftpd.conf.
- D. The oracle user does not exist on host01.example.com.
- E. LOCAL_ENABLE is set to NO in /etc/vsftpd/vsftpd.conf.
Answer: A
NEW QUESTION # 32
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. Port 1313 blocks all traffic for the public zone except for ingress traffic to the Cockpit service.
- B. Runtime firewall configuration is not lost when the firewalld process is restarted or the system is rebooted.
- C. Egress traffic is allowed for the Cockpit service only when using port 1313.
- D. The Cockpit service is added only to the public zone.
- E. The custom Cockpit service configuration file is updated in /usr/lib/firewalld/services.
Answer: B,D
Explanation:
Explanation of Answer A:The commandfirewall-cmd --zone=public --add-service=cockpit --permanentadds the Cockpit service to the public zone permanently. This means that the service is explicitly allowed only within the public zone, not in any other zones.
Explanation of Answer C:Using the--permanentflag withfirewall-cmdcommands ensures that the changes are stored in the firewalld configuration and are persistent across reboots. Therefore, when thefirewalldservice restarts or the system reboots, the runtime configuration will not be lost, and the changes will remain in effect.
NEW QUESTION # 33
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 only after removing it from its VG by using vgreduce.
- C. It can be removed when an active VG has mounted file systems by running vgexport.
- D. It can be removed when it is part of an active VG.
- E. It cannot be removed when it is part of an active VG.
Answer: B,E
NEW QUESTION # 34
Which two are true about using Ksplice?
- A. The Ksplice client is freely available to all customers.
- B. Ksplice can be used without a network connection
- C. Yum cannot upgrade a kernel patched by Ksplice
- D. Ksplice has two clients; each can run in three different modes.
- E. It can patch the kernel without shutting down the system.
Answer: C,E
NEW QUESTION # 35
Which two default user account settings are contained in /etc/login.defs?
- A. Encryption method used to encrypt passwords.
- B. User hashed passwords.
- C. Group hashed passwords.
- D. Password aging controls.
- E. Decryption method used to decrypt passwords.
Answer: A,D
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 # 36
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. UNCONN 0 0 [::1]:323 [::]:*
- B. 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 - C. icmp6 UNCONN 0 0 *:58 *:*
- D. tcp CLOSE-WAIT 32 0 server.example.com:44732 12.21.0.15:https
- E. LISTEN 0 511 *:80 *:* cubic cwnd:10
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 # 37
Examine /etc/anacrontab:
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
# the maximal random delay added to the base delay of the jobs
RANDOM_DELAY=45
# the jobs are started during the following hours only
START_HOURS_RANGE=3-22
# period in days delay in minutes job-identifier command
1 5 dailyjob nice run-parts /etc/cron.daily
7 25 weeklyjob nice run-parts /etc/cron.weekly
@monthly 45 monthlyjob nice run-parts /etc/cron.monthly
Which two statements are true about the jobs scheduled in this file?
- A. Jobs defined in this anacrontab file can be executed between 15:00 and 22:00
- B. Jobs defined in this anacrontab file are randomly delayed by up to 51 minutes.
- C. Scripts run by the second job are delayed between 31 and 70 minutes.
- D. Scripts run by the third job are delayed between 45 and 90 minutes.
- E. Scripts run by the first job are delayed between 11 and 45 minutes.
Answer: A,D
Explanation:
Understanding the anacrontab Entries:
The /etc/anacrontab file contains the following variables and job definitions:
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
# the maximal random delay added to the base delay of the jobs
RANDOM_DELAY=45
# the jobs are started during the following hours only
START_HOURS_RANGE=3-22
# period in days delay in minutes job-identifier command
1 5 dailyjob nice run-parts /etc/cron.daily
7 25 weeklyjob nice run-parts /etc/cron.weekly
@monthly 45 monthlyjob nice run-parts /etc/cron.monthly
Variables Explained:
* RANDOM_DELAY=45
* Specifies that arandom delaybetween 0 and 45 minutes is added to the base delay of each job.
* START_HOURS_RANGE=3-22
* Jobs are allowed to start only between03:00 (3 AM)and22:00 (10 PM).
Job Delays Calculated:
* First Job (dailyjob):
* Base Delay:5 minutes
* Random Delay:0 to 45 minutes
* Total Delay:5 + (0 to 45) =5 to 50 minutes
* Second Job (weeklyjob):
* Base Delay:25 minutes
* Random Delay:0 to 45 minutes
* Total Delay:25 + (0 to 45) =25 to 70 minutes
* Third Job (monthlyjob):
* Base Delay:45 minutes
* Random Delay:0 to 45 minutes
* Total Delay:45 + (0 to 45) =45 to 90 minutes
Option B: Jobs defined in this anacrontab file can be executed between 15:00 and 22:00
* Explanation:
* The START_HOURS_RANGE=3-22 setting allows jobs to start between03:00 and 22:00.
* Therefore, it's true that jobscan be executed between 15:00 (3 PM) and 22:00 (10 PM).
* This statement is correct because the specified time range falls within the allowed start hours.
* Oracle Linux Reference:
* OracleLinux 8: Scheduling Tasks- Section on "Anacron Configuration Files":
"The START_HOURS_RANGE variable defines the time window during which Anacron jobs can run." Option C: Scripts run by the third job are delayed between 45 and 90 minutes.
* Explanation:
* The third job (monthlyjob) has abase delay of 45 minutes.
* With a RANDOM_DELAY of up to 45 minutes, thetotal delaybefore execution is between45 and 90 minutes.
* Therefore, this statement is accurate.
* Oracle Linux Reference:
* OracleLinux 8: Scheduling Tasks- Section on "Understanding Anacron Job Delays":
"Each job's delay is calculated by adding its defined delay to a random value between 0 and RANDOM_DELAY." Why Other Options Are Not Correct:
* Option A:Scripts run by the first job are delayed between 11 and 45 minutes.
* Explanation:
* The first job (dailyjob) has a total delay between5 and 50 minutes(5-minute base delay plus up to 45 minutes random delay).
* Therefore, the statement specifying11 to 45 minutesis incorrect.
* Option D:Jobs defined in this anacrontab file are randomly delayed by up to 51 minutes.
* Explanation:
* The maximum random delay is set by RANDOM_DELAY=45, so the random delay is up to45 minutes, not 51.
* Therefore, this statement is false.
* Option E:Scripts run by the second job are delayed between 31 and 70 minutes.
* Explanation:
* The second job (weeklyjob) has a total delay between25 and 70 minutes(25-minute base delay plus up to 45 minutes random delay).
* The statement specifies a delay between31 and 70 minutes, which is incorrect because the minimum delay is 25 minutes.
Conclusion:
Options B and C are correct based on the configuration specified in /etc/anacrontab. They accurately reflect the possible execution times and delays for the jobs defined.
NEW QUESTION # 38
Which is true about the /etc/sysconfig directory in an Oracle Linux 8 system?
- A. Its contents depend on the packages installed on the system.
- B. Files in this directory hierarchy contain information about running processes.
- C. It is used to access device and device driver information.
- D. Files in this directory hierarchy contain information about system hardware.
Answer: A
NEW QUESTION # 39
Which takes precedence for ssh program configuration?
- A. /etc/ssh/sshd_config
- B. ~/.ssh/config
- C. /etc/ssh/ssh_config
- D. Command line
Answer: D
NEW QUESTION # 40
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. An audit rule is defined with the keyword pass.
- C. A write occurs to /etc/audit/audit.rules.
- 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,B
NEW QUESTION # 41
Which two statements are true about the Linux Auditing System?
- A. Auditing modes include permissive, enforcing, and disabled.
- B. Auditing system call rules can affect system performance depending on the amount of information that is logged.
- C. Auditing can scan for Common Vulnerabilities and Exposures (CVE) and automatically apply needed patches to a system.
- D. Auditing rules can log administrator attempts to access user home directories.
- E. Auditing includes security policies, each of which includes security rules, or checks, which are checked when you run a security scan.
Answer: B,D
Explanation:
The Linux Auditing System can be configured to log various activities, including administrator attempts to access user home directories. Audit rules can be defined to monitor access to specific files or directories, and any access attempts will be logged in the audit logs.
Explanation of Answer B:Auditing system calls can generate a large amount of log data, which may affect system performance. The more detailed the audit rules, the greater the potential performance impact, as every event that matches a rule must be recorded.
NEW QUESTION # 42
Which command produces human-readable timestamps in kernel ring buffer messages?
- A. dmesg -t
- B. dmesg -T
- C. dmesg -W
- D. dmesg -x
Answer: B
Explanation:
* Option C (Correct):Thedmesg -Tcommand converts the timestamps in the kernel ring buffer messages to a human-readable format. The defaultdmesgoutput shows the timestamps in a raw format (seconds since the kernel started), while the-Toption translates these timestamps into a human-readable date and time.
* Option A (Incorrect):The-toption is used to remove the timestamps entirely from the output.
* Option B (Incorrect):The-xoption provides extended information about the message (e.g., facility, level).
* Option D (Incorrect):The-Woption waits for new messages and does not convert timestamps to a human-readable format.
Oracle Linux Reference:Refer to:
* man dmesgfor more details ondmesgoptions.
NEW QUESTION # 43
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 # 44
Which three statements are true about the journalctl command?
- A. journalctl -k shows kernel logs since the last boot.
- B. journalctl -p notice..warning shows all messages from notice to warning log level since the last boot.
- C. journalctl -bl -p err fails if journal persistence is not configured.
- D. journalctl -p err shows only error log level.
- E. journalctl -p 6 shows all info log level messages and above.
Answer: A,D,E
Explanation:
Option B: journalctl -p err shows only error log level.
* Explanation:
* The -p or --priority option in journalctl filters messages by their priority level.
* When specifying asingle priority level, journalctl shows messagesonlyat that level.
* The priority levels, as per syslog standards, are:
* 0: emerg
* 1: alert
* 2: crit
* 3: err
* 4: warning
* 5: notice
* 6: info
* 7: debug
* Therefore, journalctl -p err displays messages with priorityerr (3)only.
* Oracle Linux Reference:
* OracleLinux 8: Managing Log Files- Section onFiltering Output withjournalctl:
"Use the -p option to display messages from the journal that have a specific priority level."
* Example:
# journalctl -p err
Option D: journalctl -k shows kernel logs since the last boot.
* Explanation:
* The -k or --dmesg option filters messages from the kernel, equivalent to the output of the dmesg command.
* This option implies -b, which limits the output to messages from the current boot.
* Therefore, journalctl -k displays kernel messages since the last boot.
* Oracle Linux Reference:
* OracleLinux 8: Managing Log Files- Section onViewing Kernel Messages:
"Use the journalctl -k command to display kernel messages since the last system boot."
* Example:
# journalctl -k
Option E: journalctl -p 6 shows all info log level messages and above.
* Explanation:
* When specifying a single numeric priority, journalctl displays messages withthat priority level and higher priority levels(i.e., lower severity).
* Priority levels are ordered from 0 (highest severity) to 7 (lowest severity).
* Therefore, journalctl -p 6 shows messages with priorities:
* 0 (emerg)
* 1 (alert)
* 2 (crit)
* 3 (err)
* 4 (warning)
* 5 (notice)
* 6 (info)
* This includesinfo level messages (6)and all higher priority messages.
* Oracle Linux Reference:
* OracleLinux 8: Managing Log Files- Section onFiltering Output with journalctl:
"When you specify a single priority level, journalctl shows messages at that level and higher severity."
* Example:
# journalctl -p 6
Why Other Options Are Not Correct:
* Option A:journalctl -bl -p err fails if journal persistence is not configured.
* Explanation:
* The -b option displays messages from the current boot. This works even if journal persistence isnotconfigured because the logs from the current boot are stored in volatile memory (/run/log/journal).
* Therefore, the command doesnot failif journal persistence is not configured.
* Oracle Linux Reference:
* OracleLinux 8: Managing Log Files- Section onJournal Volatility:
"By default, the journal stores logs in volatile memory and does not persist logs across reboots unless persistent storage is configured."
* Option C:journalctl -p notice..warning shows all messages from notice to warning log level since the last boot.
* Explanation:
* The -p option allows specifying arangeof priorities. However, the correct order for the range should be from thehigher priority (lower number)to thelower priority (higher number).
* Also, the priorities should be specified in the correct sequence, and ranges are inclusive.
* Moreover, journalctl by default shows messages from all boots unless limited by the -b option.
* Therefore, without -b, it does not limit messages to "since the last boot," making the statement incorrect.
* Correct Command:
* To display messages fromwarning (4)tonotice (5), the command should be:
# journalctl -p warning..notice -b
* But even then, the priorities need to be specified correctly, and the command in Option C is incorrect.
Conclusion:
OptionsB,D, andEare correct because they accurately describe the behavior of the journalctl command in filtering and displaying log messages based on priority levels and sources.
NEW QUESTION # 45
......
New 2024 Realistic Free Oracle 1Z0-106 Exam Dump Questions and Answer: https://www.examtorrent.com/1Z0-106-valid-vce-dumps.html
1Z0-106 Practice Test Engine: Try These 62 Exam Questions: https://drive.google.com/open?id=1vNUC8ibj-WOqUoD3GdreoWuf76m82Dr5
