
[2025年04月]更新のOracle 1z1-106テストエンジンとPDFで完全版無料問題集を無料提供
最新版を今すぐ試そう1z1-106認定有効な試験問題集
質問 # 12
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. *.emerg *
- B. cron.* /var/log/cron
- C. authpriv.* /var/log/auth
- D. #kern.* /dev/sssd/sssd.log
- E. *.info;mail.none;authpriv.none;cron.none /var/log/messages
正解:C
解説:
* 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
質問 # 13
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 -x user:user2 my_directory
- B. setfacl --modify user:user2:r-- my_directory
- C. setfacl --modify group:test:r-- my_directory
- D. setfacl --default --modify user:user2:rw- my_directory
- E. setfacl --modify user:user2:r-x my_directory
正解:E
質問 # 14
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 RAID device failed and has returned to normal operating status.
- B. A new RAID device was just added to replace a failed one.
- 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.
正解:B、D
質問 # 15
Which two statements are true about the proc and sys file systems?
- A. sys contains a list of mounted devices.
- B. sys contains a list of running processes.
- C. sys contains information about memory and CPUs.
- D. proc contains a list of network drivers.
- E. proc contains information about memory and CPUs.
正解:C、E
解説:
* Option A (Correct):The/procfile system is a pseudo-file system that contains runtime system information (e.g., system memory, mounted devices, hardware configuration, etc.). Files such as/proc
/meminfoand/proc/cpuinfoprovide detailed information about memory and CPUs, respectively.
* Option C (Correct):The/sysfile system, also known as sysfs, provides a view of the kernel's device model. It contains information about system hardware, including CPUs and memory. For example,/sys
/devices/system/cpu/contains directories and files that provide detailed information about each CPU.
* Option B (Incorrect):The/sysfile system does not contain a list of running processes. Running processes are listed in the/procfile system, with each process having its own directory under/proc.
* Option D (Incorrect):/procdoes not contain a list of network drivers specifically. Network driver information is available under/proc/net, but this does not equate to a list of drivers.
* Option E (Incorrect):The/sysfile system does not contain a list of mounted devices. Mounted devices are listed in/proc/mountsor the/etc/mtabfile.
Oracle Linux Reference:For more details, see:
* OracleLinux 8: The/procand/sysFile Systems.
質問 # 16
Which two commands relabel an SELinux system after a reboot?
- A. fixfiles -F onboot
- B. Set kernel parameter autorelabel=0
- C. fixfiles -F relabel
- D. Set kernel parameter selinux=0
- E. touch /.autorelabel
- F. echo "relabel=1" > /.selinux
正解:A、E
質問 # 17
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. Scripts run by the second job are delayed between 31 and 70 minutes.
- B. Scripts run by the third job are delayed between 45 and 90 minutes.
- C. Jobs defined in this anacrontab file can be executed between 15:00 and 22:00
- D. Scripts run by the first job are delayed between 11 and 45 minutes.
- E. Jobs defined in this anacrontab file are randomly delayed by up to 51 minutes.
正解:B、C
解説:
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.
質問 # 18
Examine this command:
# ssh -L 5011:127.0.0.1:80 [email protected] -f sleep 30
Which two are true upon execution?
- A. A local port forward is created between client and server.
- B. A web server is listening on port 5011.
- C. A reverse tunnel is created back to the local host on port 80.
- D. A socket remains open for 30 minutes unless a connection is established.
- E. An SSH connection process is forked to the background.
正解:A、E
解説:
Explanation of Answer B:The commandssh -L 5011:127.0.0.1:80 [email protected] -f sleep 30creates a local port forward. This means port5011on the client machine is forwarded to port80on the remote machine (10.10.2.20) using the SSH connection.
Explanation of Answer E:The-foption of thesshcommand causes the SSH connection process to fork to the background after authentication is complete. Thesleep 30command keeps the SSH connection alive for 30 seconds.
質問 # 19
Which two directories store PAM authentication modules?
- A. /lib64/security
- B. /usr/lib
- C. /lib/security
- D. /etc/pam.d
- E. /var/lib
正解:A、C
質問 # 20
Examine these commands and output:
# cat /etc/auto.master
/net -hosts
/- auto.direct ro
# cat /etc/auto.direct
/nfs1 host01:/export/share1
/nfs2 -sync host01:/export/share2
/nfs3 host02:/export/share3
Automounter must be used to mount these filesystems. Which mount options will it use?
- A. All three filesystems are mounted read-write, sync.
- B. All three filesystems are mounted read-only, async.
- C. /nfs1 and /nfs3 are mounted read-only, async while /nfs2 is mounted read-write, sync.
- D. /nfs1 and /nfs3 are mounted read-only, async while /nfs2 is mounted read-only, sync.
- E. All three filesystems are mounted read-only, sync.
正解:D
解説:
Understanding the Automounter Configuration:
/etc/auto.master:
/net -hosts
/- auto.direct ro
* The /- auto.direct ro line indicates:
* Mount Point Prefix:/ (direct mounts)
* Map File:auto.direct
* Global Mount Options:ro (read-only)
/etc/auto.direct:
/nfs1 host01:/export/share1
/nfs2 -sync host01:/export/share2
/nfs3 host02:/export/share3
* /nfs1 and /nfs3:
* No specific mount options in auto.direct.
* Inherit the ro option from /etc/auto.master.
* /nfs2:
* Specifies -sync option in auto.direct.
* Inherits ro from /etc/auto.master.
* Mount options are ro,sync.
Mount Options Resolution:
* Global Options (ro) apply to all entries unless overridden.
* Per-Entry Options in auto.direct override or supplement global options.
Effective Mount Options:
* /nfs1:
* ro (from /etc/auto.master)
* Default NFS options (async unless sync is specified)
* /nfs2:
* ro (from /etc/auto.master)
* sync (specified in auto.direct)
* /nfs3:
* ro (from /etc/auto.master)
* Default NFS options (async)
Oracle Linux Reference:
* OracleLinux 8: Configuring File Systems-Automounter Configuration:
"Options specified in the master map apply to all entries in the map unless overridden by entries in the map itself."
* NFS Default Options:
"By default, NFS mounts are asynchronous (async) unless the sync option is specified." Conclusion:
* /nfs1 and /nfs3:Mounted with ro,async.
* /nfs2:Mounted with ro,sync.
* Correct Option:A
質問 # 21
Examine this command:
# ssh -L 5011:127.0.0.1:80 [email protected] -f sleep 30
Which two are true upon execution?
- A. A local port forward is created between client and server.
- B. A web server is listening on port 5011.
- C. A reverse tunnel is created back to the local host on port 80.
- D. A socket remains open for 30 minutes unless a connection is established.
- E. An SSH connection process is forked to the background.
正解:A、E
質問 # 22
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. Egress traffic is allowed for the Cockpit service only when using port 1313.
- B. Runtime firewall configuration is not lost when the firewalld process is restarted or the system is rebooted.
- C. The Cockpit service is added only to the public zone.
- D. Port 1313 blocks all traffic for the public zone except for ingress traffic to the Cockpit service.
- E. The custom Cockpit service configuration file is updated in /usr/lib/firewalld/services.
正解:B、C
解説:
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.
質問 # 23
You must prevent Ksplice from reapplying updates at the next system reboot. Which two commands or parameters can do this?
- A. uptrack=0
- B. uptrack-remove -all
- C. touch /etc/uptrack/disable
- D. uptrack-upgrade -n
- E. nouptrack
正解:B、C
解説:
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.
質問 # 24
Which two components are used for creating a new rsyslog rule?
- A. module
- B. security policy
- C. filter
- D. action
- E. parser
正解:C、D
解説:
* Option A (Correct):In rsyslog, afilteris used to determine which messages should be selected for further processing. Filters can be based on different criteria such as facility, severity, or specific message content.
* Option B (Correct):Anactionin rsyslog defines what to do with messages that match a filter. Actions can include writing to a log file, sending to a remote server, running a script, etc.
* Option C (Incorrect):A parser is not typically a component for creating a new rsyslog rule; it is involved in interpreting message formats.
* Option D (Incorrect):A module in rsyslog is a loadable component that provides additional capabilities, such as support for different protocols or output formats. It is not a direct component of a logging rule.
* Option E (Incorrect):Security policy is unrelated to the basic components used for defining rsyslog rules.
Oracle Linux Reference:Refer to:
* OracleLinux 8: Configuring Rsyslog
質問 # 25
Which two statements are true about naming network interfaces?
- A. Device names incorporate the physical location and hot plug slot index number.
- B. The udev device manager generates device names based on a series of schemes.
- C. The udev device manager uses a random number if all other schemes fail.
- D. Consistent device naming is enabled by default.
- E. Device names cannot be manually configured.
正解:B、D
解説:
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.
質問 # 26
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 -I -k mkdir
- B. ausearch -a 83 -k mkdir
- C. ausearch --format text -k mkdir
- D. ausearch -r -k mkdir
- E. ausearch -sc 83 -k mkdir
正解:A、E
解説:
* 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.
質問 # 27
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 defined as values for the GRUB_BOOT command-line interface are persistent and apply to all subsequent reboots.
- D. Boot parameters are defined as values for the GRUB_CMDLINE_LINUX directive in the /etc/default
/grub file.
正解:A、D
解説:
* Option A (Correct):Boot parameters are set in/etc/default/grubunder
theGRUB_CMDLINE_LINUXdirective. After modifying this file, thegrub2-mkconfigcommand must be run to apply changes.
* Option C (Correct):The/boot/loader/entries/directory contains configuration files for each kernel version, which store the boot parameters separately.
* Option B (Incorrect):Boot parameters specified at the GRUB command line are not persistent across reboots unless added to the configuration file.
* Option D (Incorrect):Parameters set from the GRUB menu are temporary and do not apply to subsequent reboots.
Oracle Linux Reference:Refer to:
* OracleLinux 8: Configuring GRUB2
質問 # 28
Which two actions are performed by the logrotate utility?
- A. encrypted log files
- B. duplicating log files
- C. rotating log files as specified
- D. hashing log files
- E. compressing log files
正解:C、E
質問 # 29
Which two statements are true about the GRUB 2 bootloader?
- A. Its configuration can be changed by editing /etc/default/grub2 and executing grub2-mkconfig to regenerate grub2.cfg.
- B. It understands file systems and kernel executable formats, allowing the loading of operating systems without recording the on-disk physical location of the kernel.
- C. It can load many free operating systems directly and chain-load proprietary operating systems.
- D. Its configuration file is /boot/grub2/grub2.conf on BIOS-based systems.
正解:B、C
質問 # 30
Examine this command:
# cryptsetup luksOpen /dev/xvdd1 cryptfs
What happens upon execution?
- A. It creates the /dev/mapper/cryptfs device mapping file.
- B. It creates the /dev/mapper/xvdd1/cryptfs device mapping file.
- C. It creates the /dev/mapper/xvdd1 device mapping file.
- D. It creates the LUKS partition on /dev/xvdd1.
- E. It creates the /dev/mapper/xvdd1-cryptfs device mapping file.
正解:A
質問 # 31
Which command produces human-readable timestamps in kernel ring buffer messages?
- A. dmesg -t
- B. dmesg -x
- C. dmesg -W
- D. dmesg -T
正解:D
質問 # 32
Examine this command and output:
# mdadm --detail /dev/md0
/dev/md0:
Version: 1.2
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 RAID device failed and has returned to normal operating status.
- B. A new RAID device was just added to replace a failed one.
- 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.
正解:B、D
解説:
* Option B (Correct):The output shows that the RAID array is in a "degraded, recovering" state, which means one of the devices failed, and the RAID is currently rebuilding with a spare device. When a RAID-5 array is in a degraded state, its read and write performance is reduced because it cannot utilize all disks in parallel, and data is being rebuilt.
* Option C (Correct):The output indicates that/dev/sdf1is marked as "spare rebuilding." This implies that a new spare device has been added to the RAID array to replace a previously failed device, and it is in the process of rebuilding to restore redundancy.
* Option A (Incorrect):The state of the RAID array is "degraded," which indicates that a RAID device is still being rebuilt. The failed device has not yet returned to normal operating status.
* Option D (Incorrect):No extra device was added to increase the RAID set's size. Instead, a spare device was added to replace a failed one.
* Option E (Incorrect):Both read and write performance are sub-optimal in a degraded RAID-5 state because data is being rebuilt using the remaining active devices.
Oracle Linux Reference:For more information, refer to:
* OracleLinux 8: Managing Storage Devices
* man mdadmfor details on managing RAID arrays.
質問 # 33
......
100%合格保証付きの素晴らしい1z1-106試験問題PDF:https://www.goshiken.com/Oracle/1z1-106-mondaishu.html
1z1-106問題集で2025年最新のOracle試験問題:https://drive.google.com/open?id=1HvbNT1YuZkDXWDum0Sh0XL_-6GoLXjAN