
Authentic Oracle 1z1-106 Exam Dumps PDF - Apr-2025 Updated
1z1-106 Dumps Special Discount for limited time Try FOR FREE
The Exam tests the candidate's knowledge of topics like advanced storage management, networking, and security. With the Oracle 1Z0-106 Exam, candidates can demonstrate their proficiency in topics like configuring network interfaces, kernel parameters, advanced file systems, and package management.
Oracle 1Z0-106 exam is intended for experienced Linux system administrators who have a thorough understanding of Linux operating systems and their advanced features. Candidates should have experience working with various Linux distributions and should be familiar with the command line interface. In addition, candidates should be familiar with scripting languages and have a basic understanding of programming concepts.
NEW QUESTION # 33
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. at schedules the execution of recurring tasks.
- D. at executes a one-time task to run at a specific time.
- E. Both at and batch read from standard input, or you can specify a file and execute the commands with the -f option.
Answer: D,E
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 # 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. Execute swapon -all.
- B. Assign a label to the .swapfile file by using the swaplabel command.
- C. Use a physical disk partition type of 82 (Linux swap).
- D. Change defaults to user in the /etc/fstab entry.
- E. Initialize the .swapfile file by using the mkswap command.
- F. Execute swapon -L swapfile /.swapfile after adding a label.
Answer: D,E
NEW QUESTION # 35
You must prevent Ksplice from reapplying updates at the next system reboot. Which two commands or parameters can do this?
- A. uptrack-remove -all
- B. touch /etc/uptrack/disable
- C. uptrack-upgrade -n
- D. uptrack=0
- E. nouptrack
Answer: A,B
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 # 36
Which three statements are true about DNF modules?
- A. Modules are a group of packages that are installed together along with dependencies.
- B. Streams are used to define optional configurations of modules.
- C. Profiles are used to provide alternate versions of the same module.
- D. Switching an enabled module stream automatically changes installed packages.
- E. Streams cannot declare dependencies on the streams of other modules.
- F. Packages exist in multiple streams, where each stream contains a different version.
- G. Installing a module allows a user to select a specific stream.
Answer: A,F,G
NEW QUESTION # 37
Which command produces human-readable timestamps in kernel ring buffer messages?
- A. dmesg -W
- B. dmesg -t
- C. dmesg -T
- D. dmesg -x
Answer: C
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 # 38
Examine this command:
# nft add rule inet filter input tcp dport 80 drop
Which two statements are true upon execution?
- A. All traffic inbound on port 80 is dropped.
- B. The rule is applied to both IPv4 and IPv6 packets.
- C. The rule updates the configuration on disk.
- D. The rule applies to the input table.
- E. TCP packets outbound on port 80 are dropped.
- F. TCP packets inbound on port 80 are dropped.
Answer: B,F
NEW QUESTION # 39
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. LISTEN 0 511 *:80 *:* cubic cwnd:10
- B. UNCONN 0 0 [::1]:323 [::]:*
- C. icmp6 UNCONN 0 0 *:58 *:*
- D. tcp CLOSE-WAIT 32 0 server.example.com:44732 12.21.0.15:https
- E. ESTAB 0 0 10.12.18.92:50384 169.254.169.254:80 cubic wscale:9,7 rto:201 rtt: 0.226/0.113 ato:40 mss:8948 pmtu:9000 rcvmss:1728 advmss:8948 cwnd:10 bytes_sent:142 bytes_acked:143 bytes_received:1728 segs_out:4 segs_in:3 data_segs_out:1 data_segs_in:1 send 3167433628bps lastsnd:11351 lastrcv: 11351 lastack:11351 pacing_rate 6334867256bps delivery_rate 504112672bps delivered:2 app_limited rcv_space:62720 rcv_ssthresh:56588 minrtt:0.142
Answer: A,E
NEW QUESTION # 40
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/user_list and USERLIST_ENABLE is set to YES in /etc/vsftpd/vsftpd.conf.
- B. LOCAL_ENABLE is set to NO in /etc/vsftpd/vsftpd.conf.
- C. The oracle user is listed in /etc/vsftpd/ftpusers.
- D. The oracle user is listed in /etc/vsftpd/user_list and USERLIST_ENABLE is set to NO in /etc/vsftpd/vsftpd.conf.
- E. The oracle user does not exist on host01.example.com.
Answer: C
NEW QUESTION # 41
Examine this output:
Last metadata expiration check: 4:30:21 ago on Mon 26 Oct 2020 03:09:52 PM GMT Installed Packages Name : gzip Version : 1.9 Release : 9.el8 Architecture : x86_64 Size : 412 k Source : gzip-1.9-9.el8.src.rpm Repository : @System From repo : anaconda Summary : The GNU data compression program URL :
http://www.gzip.org/
License : GPLv3+ and GFDL
Description : The gzip package contains the popular GNU gzip data compression program. Gzipped files have a .gz extension.
Gzip should be installed on your system, because it is a very
commonly used data compression program.
Which command generated it?
- A. dnf info /usr/bin/gzip
- B. dnf search /usr/bin/gzip
- C. dnf provides /usr/bin/gzip
- D. dnf list /usr/bin/gzip
Answer: A
Explanation:
Thednf infocommand provides detailed information about an installed package. When used with the path of a binary (such as/usr/bin/gzip), it shows the package that provides the binary along with detailed information like the version, release, architecture, size, source, repository, summary, URL, and license.
NEW QUESTION # 42
Examine this command:
# ssh -L 5011:127.0.0.1:80 [email protected] -f sleep 30
Which two are true upon execution?
- A. An SSH connection process is forked to the background.
- B. A web server is listening on port 5011.
- C. A socket remains open for 30 minutes unless a connection is established.
- D. A local port forward is created between client and server.
- E. A reverse tunnel is created back to the local host on port 80.
Answer: A,D
Explanation:
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.
NEW QUESTION # 43
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 unprivileged 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 privileged local 501 user.
- C. All clients except those with a local 501 user can mount /usr/shared/tools read-only.
- 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: A
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 # 44
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. 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. The custom Cockpit service configuration file is updated in /usr/lib/firewalld/services.
Answer: C,D
NEW QUESTION # 45
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 creates and guarantees the availability of a specified number of identical pods.
- B. The command creates a deployment named nginx.
- C. The command specifies port 80 as the port that the container exposes.
- 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 # 46
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 only after removing it from its VG by using vgreduce.
- 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: A,C
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 # 47
Which two statements are true about control groups (cgroups) in Oracle Linux 8?
- A. Oracle Linux 8 implements cgroups v2 by default.
- B. A cgroup is a collection of processes bound to a set of limits or parameters defined in the cgroups filesystem.
- C. The cgroups filesystem allows limits to be overwritten in the lower levels of the hierarchy.
- D. Different controllers from cgroups version 1 and cgroups version 2 cannot be used at the same time.
- E. Cgroups allow processes to be organized into hierarchical groups whose resource usage cannot be limited and monitored.
Answer: A,B
NEW QUESTION # 48
Examine this command:
$ podman run -name=oracleshell -it oraclelinux:8 -slim
Which two statements are true upon execution?
- A. The command fails if the oraclelinux:8 -slim image does not exist on the local machine.
- B. The container named oracleshell must already exist; otherwise, the command fails.
- C. The container creates and starts an interactive shell.
- D. The container is removed by typing exit at the bash shell prompt.
- E. The container is created and started in a single command.
Answer: C,E
Explanation:
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.
NEW QUESTION # 49
Examine these commands executed by root:
# mkdir -p /jail /jail/bin /jail/lib64
# cp $(which bash) /jail/bin/
# ldd $(which bash)
linux-vdso.so.1 (0x00007ffd574f5000)
libtinfo.so.6 => /lib64/libtinfo.so.6 (0x00007fb458c2c000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fb458a28000)
libc.so.6 => /lib64/libc.so.6 (0x00007fb458666000)
/lib64/ld-linux-x86-64.so.2 (0x00007fb459177000)
# cp /lib64/libtinfo.so.6 /jail/lib64/
# cp /lib64/libdl.so.2 /jail/lib64/
# cp /lib64/libc.so.6 /jail/lib64/
# cp /lib64/ld-linux-x86-64.so.2 /jail/lib64/
# chroot /jail
What is the output from the cd, pwd, and ls commands?
- A. bash-4.4# cd
bash: cd: command not found
bash-4.4# pwd
bash: pwd: command not found
bash-4.4# ls
bash: ls: command not found - B. bash-4.4# cd
bash: cd: /root: No such file or directory
bash-4.4# pwd
/root
bash-4.4# ls
bash: ls: command not found - C. bash-4.4# cd
bash: cd: /root: Unable to access chrooted file or directory /root
bash-4.4# pwd
/
bash-4.4# ls
bin lib64 - D. bash-4.4# cd
bash: cd: /root: No such file or directory
bash-4.4# pwd
/
bash-4.4# ls
bin lib64
Answer: D
Explanation:
Explanation of Answer A:When thechrootcommand is executed with/jail, the environment is changed to use
/jailas its new root directory. Inside this environment, only the directories and files copied into/jailare accessible. Since/jaildoes not contain a/rootdirectory, the commandcd(which defaults to changing to the user's home directory) will fail, displayingNo such file or directory. Thepwdcommand shows the root of the chroot environment (/), andlsdisplays the contents of/jail, which includesbinandlib64.
NEW QUESTION # 50
Which two statements are true about the proc and sys file systems?
- A. sys contains a list of mounted devices.
- B. proc contains information about memory and CPUs.
- C. proc contains a list of network drivers.
- D. sys contains information about memory and CPUs.
- E. sys contains a list of running processes.
Answer: B,D
Explanation:
* 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.
NEW QUESTION # 51
Which is true about the /etc/sysconfig directory in an Oracle Linux 8 system?
- A. It is used to access device and device driver information.
- B. Files in this directory hierarchy contain information about system hardware.
- C. Its contents depend on the packages installed on the system.
- D. Files in this directory hierarchy contain information about running processes.
Answer: C
NEW QUESTION # 52
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 linking to /dev/hdb and with an ide-disk device driver, thus overwriting existing symbolic links.
- B. The matching device will have the kernel device name /dev/hdb.
- C. 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.
- D. 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.
- E. The matching device will be named /dev/sparedisk.
Answer: B,D
Explanation:
Option C (Correct):If a device named/dev/hdbwith theide-diskdriver is discovered, a symbolic link/dev
/sparediskwill be created, pointing to/dev/hdb.
Option D (Correct):TheKERNEL=="hdb"match specifies that the device will have the kernel device name
/dev/hdb.
Option A (Incorrect):This is incorrect because existing symbolic links are not overwritten unless explicitly defined.
Option B (Incorrect):The device itself is not renamed to/dev/sparedisk; rather, a symbolic link is created.
Option E (Incorrect):The rule specifically requires bothKERNEL=="hdb"andDRIVER=="ide-disk"to match; it is not an either/or condition.
NEW QUESTION # 53
Which two are true about using Ksplice?
- A. It can patch the kernel without shutting down the system.
- B. The Ksplice client is freely available to all customers.
- C. Ksplice can be used without a network connection
- D. Ksplice has two clients; each can run in three different modes.
- E. Yum cannot upgrade a kernel patched by Ksplice
Answer: A,C
Explanation:
Option A: Ksplice can be used without a network connection
* Explanation:
* Ksplice provides anOffline Clientspecifically designed for systems that do not have a direct connection to the internet. This client allows administrators to download Ksplice updates on a system with internet access and then transfer them to the offline system for installation.
* This means Ksplice can be effectively used in environments with strict security policies where network connectivity is restricted or not available.
* Oracle Linux Reference:
* OracleLinux 8: Ksplice User's Guide- Section on "Using the Ksplice Offline Client":
"The Ksplice Offline client enables you to apply Ksplice updates to systems that do not have direct access to the Internet or to the Oracle Uptrack server." Option B: It can patch the kernel without shutting down the system.
* Explanation:
* The primary purpose of Ksplice is to allow administrators to apply critical security patches to the running kernelwithout requiring a rebootor shutting down the system. This ensures high availability and minimizes downtime, which is crucial for production environments.
* Ksplice works by performingjust-in-time (JIT) compilationof kernel patches and applying them directly to the running kernel in memory.
* Oracle Linux Reference:
* OracleLinux 8: Ksplice User's Guide- Introduction:
"Ksplice enables you to keep your systems up to date and secure by applying important kernel security updates without rebooting." Why Other Options Are Not Correct:
* Option C:Yum cannot upgrade a kernel patched by Ksplice
* Explanation:
* This statement is false. While Ksplice patches the running kernel in memory, yum can still upgrade the kernel packages on disk. After a yum kernel update, a reboot would be necessary to run the new kernel version, but yum operations are not hindered by Ksplice patches.
* Oracle Linux Reference:
* OracleLinux 8: Ksplice User's Guide- Compatibility with Package Managers:
"Ksplice works seamlessly with package management tools like yum and dnf. You can continue to use these tools to manage your kernel packages."
* Option D:Ksplice has two clients; each can run in three different modes.
* Explanation:
* While Ksplice does have two clients (the online and offline clients), the statement about each running in three different modes is inaccurate or misleading. The clients do not operate in "three different modes" per se.
* Oracle Linux Reference:
* No official documentation supports the claim of "three different modes" for each client.
* Option E:The Ksplice client is freely available to all customers.
* Explanation:
* Ksplice is a feature available to customers with an active Oracle Linux Premier Support subscription. It is not freely available to all users.
* Oracle Linux Reference:
* OracleLinux 8: Ksplice User's Guide- Access Requirements:
"To use Ksplice, your system must be covered by an Oracle Linux Premier Support subscription." Conclusion:
Options A and B are correct because Ksplice can be used without a network connection via the offline client, and it allows patching the kernel without shutting down the system, ensuring minimal downtime.
NEW QUESTION # 54
......
1z1-106 Dumps for success in Actual Exam: https://www.itexamreview.com/1z1-106-exam-dumps.html
Realistic 1z1-106 100% Pass Guaranteed Download Exam Q&A: https://drive.google.com/open?id=1gjGUfx5N9V9d99KpwesRwIKYn_7YiUa_
