[2025年01月02日]1z1-106試験問題集でリアル試験と100%同じ問題と解答
1z1-106テストエンジン問題集トレーニングには62問あります
Oracle 1Z0-106の試験は、ITプロフェッショナルがOracle Linux 8の高度なシステム管理における専門知識をテストするために設計されています。この試験は、カーネルパラメータ、ストレージソリューション、高度なネットワーキング技術、およびトラブルシューティング技術など、Linux環境で企業レベルのシステムのさまざまな側面を管理するために必要なトピックとスキルに焦点を当てています。
質問 # 14
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. Scripts run by the third job are delayed between 45 and 90 minutes.
- C. Jobs defined in this anacrontab file are randomly delayed by up to 51 minutes.
- D. Scripts run by the first job are delayed between 11 and 45 minutes.
- E. Scripts run by the second job are delayed between 31 and 70 minutes.
正解:A、B
解説:
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.
質問 # 15
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. 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 - B. tcp CLOSE-WAIT 32 0 server.example.com:44732 12.21.0.15:https
- C. LISTEN 0 511 *:80 *:* cubic cwnd:10
- D. icmp6 UNCONN 0 0 *:58 *:*
- E. UNCONN 0 0 [::1]:323 [::]:*
正解:A、C
解説:
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.
質問 # 16
Which takes precedence for ssh program configuration?
- A. /etc/ssh/sshd_config
- B. ~/.ssh/config
- C. Command line
- D. /etc/ssh/ssh_config
正解:C
解説:
Explanation of Answer C:When configuring SSH, the command-line options take the highest precedence.
Any configuration specified directly on the command line will override settings in user-specific (~/.ssh
/config) or system-wide configuration files (/etc/ssh/ssh_config).
質問 # 17
Which three are features of the btrfs file system?
- A. Automatic defragmentation
- B. Efficient storage for small files
- C. Block devices mirroring
- D. Online resizing
- E. Copy-on-write metadata
- F. General-purpose volume manager
- G. Cluster file system
正解:C、D、E
質問 # 18
Which two are true about using Ksplice?
- A. The Ksplice client is freely available to all customers.
- B. Ksplice has two clients; each can run in three different modes.
- C. Yum cannot upgrade a kernel patched by Ksplice
- D. It can patch the kernel without shutting down the system.
- E. Ksplice can be used without a network connection
正解:C、D
質問 # 19
Which two default user account settings are contained in /etc/login.defs?
- A. User hashed passwords.
- B. Encryption method used to encrypt passwords.
- C. Password aging controls.
- D. Group hashed passwords.
- E. Decryption method used to decrypt passwords.
正解:B、C
解説:
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.
質問 # 20
Which two actions are performed by the logrotate utility?
- A. encrypted log files
- B. rotating log files as specified
- C. duplicating log files
- D. compressing log files
- E. hashing log files
正解:B、D
解説:
Understanding logrotate:
* The logrotate utility manages log files by rotating, compressing, and removing them based on configuration.
* It helps prevent log files from consuming excessive disk space.
Option A: Rotating Log Files as Specified
* Explanation:
* logrotate rotates logs according to the specified criteria (size, time interval).
* Rotation involves renaming the current log file and starting a new one.
* Oracle Linux Reference:
* OracleLinux 8: Managing Log Files-Using logrotate:
"The logrotate utility simplifies the administration of log files by automatically rotating, compressing, and removing log files." Option C: Compressing Log Files
* Explanation:
* logrotate can compress old log files after rotation to save disk space.
* Compression is typically done using gzip.
* Oracle Linux Reference:
* OracleLinux 8: Managing Log Files-Configuring logrotate:
"You can configure logrotate to compress rotated log files by using the compress option."
質問 # 21
Which two commands relabel an SELinux system after a reboot?
- A. fixfiles -F relabel
- B. touch /.autorelabel
- C. fixfiles -F onboot
- D. Set kernel parameter autorelabel=0
- E. Set kernel parameter selinux=0
- F. echo "relabel=1" > /.selinux
正解:B、C
解説:
* Option D (Correct):Creating an empty file named.autorelabelin the root directory tells SELinux to relabel the entire file system during the next reboot.
* Option F (Correct):Thefixfiles -F onbootcommand schedules a full file system relabel on the next reboot.
* Option A, B, C, E (Incorrect):These options do not correctly set the system to relabel on reboot.
Oracle Linux Reference:Refer to:
* OracleLinux 8: SELinux Guide
質問 # 22
Examine this command:
# cryptsetup luksOpen /dev/xvdd1 cryptfs
What happens upon execution?
- A. It creates the /dev/mapper/xvdd1/cryptfs device mapping file.
- B. It creates the /dev/mapper/cryptfs device mapping file.
- C. It creates the LUKS partition on /dev/xvdd1.
- D. It creates the /dev/mapper/xvdd1 device mapping file.
- E. It creates the /dev/mapper/xvdd1-cryptfs device mapping file.
正解:B
解説:
The commandcryptsetup luksOpen /dev/xvdd1 cryptfsis used to open an encrypted LUKS partition. This command maps the encrypted block device/dev/xvdd1to a decrypted block device that is accessible under/dev
/mapper/cryptfs.
* Option A (Correct):This is correct because thecryptsetup luksOpencommand creates a device mapping under/dev/mapper/with the name specified (cryptfsin this case). This mapping allows you to access the encrypted content of/dev/xvdd1through the decrypted virtual device/dev/mapper/cryptfs.
* Options B, C, D, E (Incorrect):These options are incorrect because they do not accurately reflect the standard behavior of thecryptsetup luksOpencommand. The device created will always be in the format
/dev/mapper/<name>where<name>is the alias specified in the command.
Oracle Linux Reference:For more information, refer to:
* OracleLinux 8: Managing Storage Devices
* man cryptsetupfor more details on theluksOpencommand and LUKS management.
質問 # 23
Which two statements are true about the at and batch commands?
- A. batch executes a task when the system load average is greater than 0.8.
- B. batch schedules the execution of recurring tasks.
- C. Both at and batch read from standard input, or you can specify a file and execute the commands with the -f option.
- D. at schedules the execution of recurring tasks.
- E. at executes a one-time task to run at a specific time.
正解:C、E
解説:
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.
質問 # 24
Which two methods of changing kernel parameters can you use to modify values for the running system?
- A. Issuing the sysctl -w command to write values to specific files in the /sys directory.
- B. Using the echo 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 /sys directory.
- D. Adding to or modifying parameters and values in the /etc/sysctl.conf file followed by issuing the sysctl -p command.
- E. Issuing the sysctl -w command to write values to specific files in the /proc/sys directory.
正解:B、E
質問 # 25
Which is true about the /etc/sysconfig directory in an Oracle Linux 8 system?
- A. Files in this directory hierarchy contain information about running processes.
- B. It is used to access device and device driver information.
- C. Its contents depend on the packages installed on the system.
- D. Files in this directory hierarchy contain information about system hardware.
正解:C
質問 # 26
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 for a device named /dev/hdb or one that has an ide-disk device driver, whichever is discovered first.
- C. Symbolic link /dev/sparedisk is created linking to /dev/hdb and with an ide-disk device driver, thus overwriting existing symbolic links.
- D. The matching device will be named /dev/sparedisk.
- E. The matching device will have the kernel device name /dev/hdb.
正解:A、E
解説:
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.
質問 # 27
Examine these Kubernetes components:
Which option correctly matches the components with their description?
- A. 1-d, 2-f, 3-e, 4-a, 5-c, 6-b
- B. 1-b, 2-a, 3-e, 4-c, 5-f, 6-d
- C. 1-c, 2-f, 3-d, 4-b, 5-e, 6-a
- D. 1-a, 2-d, 3-b, 4-c, 5-e, 6-f
- E. 1-d, 2-f, 3-c, 4-e, 5-a, 6-b
正解:E
質問 # 28
Which two statements are true about naming network interfaces?
- A. The udev device manager uses a random number if all other schemes fail.
- B. Device names incorporate the physical location and hot plug slot index number.
- C. The udev device manager generates device names based on a series of schemes.
- D. Device names cannot be manually configured.
- E. Consistent device naming is enabled by default.
正解:C、E
質問 # 29
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 custom Cockpit service configuration file is updated in /usr/lib/firewalld/services.
- B. Egress traffic is allowed for the Cockpit service only when using port 1313.
- C. The Cockpit service is added only to the public zone.
- 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.
正解:C、D
解説:
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.
質問 # 30
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 --format text -k mkdir
- B. ausearch -I -k mkdir
- C. ausearch -a 83 -k mkdir
- D. ausearch -r -k mkdir
- E. ausearch -sc 83 -k mkdir
正解:B、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.
質問 # 31
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, 6
- C. 1, 2, 4, 5, 6
- D. 1, 2, 4, 6
- E. 1, 2, 3, 4, 5, 6
- F. 1, 2, 3, 5, 6
正解:C
質問 # 32
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. Scripts run by the third job are delayed between 45 and 90 minutes.
- C. Jobs defined in this anacrontab file are randomly delayed by up to 51 minutes.
- D. Scripts run by the first job are delayed between 11 and 45 minutes.
- E. Scripts run by the second job are delayed between 31 and 70 minutes.
正解:A、B
質問 # 33
Examine this command:
$ podman run -name=oracleshell -it oraclelinux:8 -slim
Which two statements are true upon execution?
- A. The container named oracleshell must already exist; otherwise, the command fails.
- B. The container creates and starts an interactive shell.
- C. The command fails if the oraclelinux:8 -slim image does not exist on the local machine.
- D. The container is removed by typing exit at the bash shell prompt.
- E. The container is created and started in a single command.
正解:B、E
解説:
Understanding the Command:
$ podman run --name=oracleshell -it oraclelinux:8-slim
(Note: The image is likely oraclelinux:8-slim without a space.)
* podman run:Creates and starts a new container.
* --name=oracleshell:Assigns the name oracleshell to the container.
* -it:Runs the container in interactive mode with a pseudo-TTY.
* oraclelinux:8-slim:Specifies the image to use.
Option A: The container creates and starts an interactive shell.
* Explanation:
* The -it option runs the container interactively.
* If no command is specified, it executes the default command in the image (usually /bin/bash).
* This provides an interactive shell inside the container.
* Oracle Linux Reference:
* OracleLinux 8: Managing Containers-Running Containers Interactively:
"You can run a container in interactive mode using the -i and -t options together." Option D: The container is created and started in a single command.
* Explanation:
* The podman run command handles both creation and starting of the container.
* There's no need to create the container separately.
* Oracle Linux Reference:
* OracleLinux 8: Managing Containers-Creating and Running Containers:
"The podman run command creates and starts a container in one operation." Why Other Options Are Incorrect:
Option B:The container does not need to pre-exist; podman run creates it if it doesn't exist.
Option C:If the image doesn't exist locally, podman will attempt to pull it from the registry.
* Oracle Linux Reference:
* OracleLinux 8: Managing Containers-Pulling Images:
"If you attempt to run a container with an image that does not exist locally, Podman automatically pulls the image from a registry." Option E:The container is not removed upon exit unless the --rm option is used.
* Oracle Linux Reference:
* OracleLinux 8: Managing Containers-Automatically Removing Containers:
"Use the --rm option to automatically remove the container when it exits." Conclusion:
* Correct Options:A, D
* Summary:The command creates and starts a new container named oracleshell and opens an interactive shell session inside it.
質問 # 34
You must add an additional swap device and you add this entry to /etc/fstab:
/.swapfile none swap defaults 0 0
Examine these commands and output:
# dd if=/dev/zero of=/.swapfile bs=1024 count=1048576
1048576+0 records in
1048576+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 4.32499 s, 248 MB/s
# swapon -a
swapon: /.swapfile: insecure permissions 0644, 0600 suggested.
swapon: /.swapfile: read swap header failed
Which two actions must you perform to add this swap device?
- A. Initialize the .swapfile file by using the mkswap command.
- B. Change defaults to user in the /etc/fstab entry.
- C. Execute swapon -L swapfile /.swapfile after adding a label.
- D. Execute swapon -all.
- E. Use a physical disk partition type of 82 (Linux swap).
- F. Assign a label to the .swapfile file by using the swaplabel command.
正解:A、B
質問 # 35
......
Oracle 1Z0-106試験は、かなりの準備が必要な難しいテストです。候補者はLinuxオペレーティングシステムについての堅実な理解を持ち、その知識を現実のシナリオに適用できることが期待されています。この認定は、ITプロフェッショナルがLinuxシステム管理のキャリアを進め、潜在的な雇用主に自分の専門知識を証明するのに理想的です。この認定を取得することで、候補者は就職市場で競争力を持ち、組織内でより高度な役割を担うことができます。
1z1-106練習テストPDF試験材料:https://jp.fast2test.com/1z1-106-premium-file.html