Updated Jan-2022 Exam Engine or PDF for the Oracle 1z0-100 test to help you quickly prepare for the Oracle exam! [Q22-Q44]

Share

Updated Jan-2022 Test Engine or PDF for the Oracle 1z0-100 test to help you quickly prepare for the Oracle exam!

Full 1z0-100 Practice Test and 142 unique questions with explanations waiting just for you, get it now!

NEW QUESTION 22
You must remove the user harhest from your Oracle Linux system because the person has left the company:
User harhest has numerous files, directories, and a crontab.
You issue:
Userdel -r harhest
Which three outcomes result from the execution of this command?

  • A. The home directory of harhest is removed.
  • B. Files owned by narhest in any directory are removed.
  • C. Files in the harhest home directory are removed.
  • D. The /var/spool/mail/harhest mailbox is removed.
  • E. crontab /var/spool/cron/harhest is removed.
  • F. All directories owned by harhest are removed.

Answer: A,C,D

Explanation:
The userdel command modifies the system account files, deleting all entries that refer to the user name LOGIN. The named user must exist.
parameter -r -r, --remove Files in the user's home directory will be removed along with the home directory itself and the user's mail spool. Files located in other file systems will have to be searched for and deleted manually.

 

NEW QUESTION 23
You must remove a Physical Volume (PV) from a Volume Group (VG) containing one Logical Volume (LV) without compromising data availability.
Examine their definitions:


What must you do before using the vgreduce command, to remove the PV?

  • A. Remove the /dev/sdd PV using the pvremove command.
  • B. Move allocated physical Extents (PE) from /dev/sdd to other physical volumes using the pvmove command.
  • C. Move allocated physical Extents (PE) from /dev/sdd to other physical volumes by using the 1vvonvert -
    - replace command.
  • D. Resize the /dev/sdd PV to zero using the pvresize command.

Answer: B

Explanation:
Explanation
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Logical_Volume_Manager_A

 

NEW QUESTION 24
Consider the output shown:
#rpm -i sendmail-cf-8.14.4-8.e16.noarch.rpm Error: Failed dependencies: Sendmail = 7.14.4-8.e16 is needed by sendmail-cf-8.e16.noarch # rpm -i sendmail-8.14.4-8.e16.x86_64.rpm # rpm -i sendmail-cf-8.14.4-8.e16.noarch.rpm # rpm -q sendmail sendmail-cf Sendmail-8.14.4-8.e16.x86_64 Sendmail-cf-8.e16_64 Sendmail-cf-8.14.4-8.e16.noarch # rpm -e sendmail
Which statement is true about the execution of the rpm -e sendmail command?

  • A. It erases the sendmail package without errors.
  • B. It erases both the sendmail and sendmail-cf packages because the sendmail-cf package depends on the sendmail package.
  • C. It fails with an error because the package version is not supplied on the command line.
  • D. It erases the sendmail package and raises an error because the sendmail package depends on the sendmail package.
  • E. It fails with an error because the sendmail-cf package depends on the sendmail package.

Answer: E

 

NEW QUESTION 25
You are about to switch a Red Hat Enterprise Linux 6 (RHEL6) system from the Red Hat Network to the Unbreakable Linux Network (ULN).
Consider this output:
# rpm -qa *rhn*
rhnlib-2.5.22-12.e16.noarch
yum-rhn-plugin-0.9.1-36.e16.noarch
rhn-setup-1.0.0-73.e16.noarch
rhn-client-tools-1.0.0-73.e16.noarch
rhn-check-1.0.0-73.e16.noarch
rhnsd-4.9.3-2.e16.x86_64
Identify four minimum steps that you should perform to successfully switch this system from RHN to ULN.

  • A. Run the yum update command.
  • B. Install the Unbreakable Enterprise kernel (UEK).
  • C. Install the uln_register.tgz package.
  • D. Install the uln_register.tgz and uln_register-gnome.tgz packages.
  • E. Run the uln_register command as the root user and answer the prompts.
  • F. Create a ULN account if it doesn't exist already.
  • G. Reboot your system.
  • H. Ensure you have a valid Oracle Linux support agreement.

Answer: B,C,E,F

Explanation:
Explanation/Reference:
Explanation:
Switching from RHN to ULN
This procedure is for a Red Hat Enterprise Linux 6 system.
If you have an Oracle Linux 6 system that is registered with the Red Hat Network (RHN), you can use theuln_register utility to register.
To register your system with ULN instead of RHN:
# rpm -Uvh *.rpm
# uln_register

 

NEW QUESTION 26
Examine the content of the mdstat pseudo file:
# cat /proc/msstat
personalities: [raid1] [raid0] [raid6] [raid5] [raid4]
md0 : active raid1 md2[1] md1[0]
207680blocks super 1.2 [2/2] [UU]
md2 : activeraid0 sdg[1] sdf1[0]
207872blocks super 1.2 512k chinks
Md1 :active raid0sde1[1] sdd1[0]
207872blocks super 1.2 512k chunks
Unused devices: <none>
Which two statements are true about the MD0 RAID set?

  • A. If MD1 fails, so will MDO.
  • B. MDO is a mirrored stripped RAID set.
  • C. MDO is a stripped mirror RAID set.
  • D. If MD2 fails, MDO too fails.
  • E. If /dev/sdd1 and /dev/sdg1 fail, MDO fails.

Answer: C,D

Explanation:
MD0 is active and raid1. Md2 and md1 is spare. So it is a stripped mirror RAID set.
Since both depends on MD0, if MD2 fails, MD0 will fail too.
Reference: http://linuxwiki.de/proc/mdstat

 

NEW QUESTION 27
Which two statements correctly describe the type of Information and the behavior of files in the proc filesystem on Oracle Linux 6?

  • A. The /proc/cmdline file contains the parameters passed to the kernel.
  • B. It is not possible to write to any file in the proc filesystem.
  • C. Each process has a directory named for the process number in the proc filesystem.
  • D. Each process thread has a directory named for the process thread number in the proc files/stem.
  • E. The proc filesystem contains the same hardware information that is contained in the sys filesystem for backward compatibility.

Answer: C,E

 

NEW QUESTION 28

Which four statements are about the use of these files and directories by UPSTART?

  • A. /etc/rc.d/rc.sysinit is executed once at boot time, regardless of which run level is set.
  • B. /etc/rc.d/rc is executed at boot time, to start the appropriate services for the run level defined in /etc/initab.
  • C. /etc/rc.d/rc is executed each time the /sbin/init command us used, to change services appropriately for the target run level.
  • D. /etc/rc.d/rc is executed after /etc/rc.d/rc.local.
  • E. /etc/rc.d/rc.sysint is executed each time the /sbin/init command is used to change the run level.
  • F. /etc/rc.d/rc3.d contains links to scripts in /etc/init.d.
  • G. /etc/rc.d/rc.local is executed at boot time, before the run level processing takes place.

Answer: A,D,E,F

 

NEW QUESTION 29
What is the main advantage of the Oracle Unbreakable Enterprise Kernel compared with the Red Hat compatible kernel?

  • A. It is more secure and, therefore, more difficult to hack.
  • B. It scales better for more CPUS, memory, and Infiniband network connections.
  • C. It provides higher availability for applications by reducing Mean Time to Recovery.
  • D. It has a lower Mean Time Between Failures.

Answer: B

Explanation:
Explanation/Reference:
Explanation:
The Unbreakable Enterprise Kernel, for those who want to leverage the latest features from mainline Linux and boost performance and scalability.
The Red Hat Compatible Kernel, for those who prefer strict Red Hat kernel ABI (kABI) compatibility.

 

NEW QUESTION 30
Which three tasks should be performed to configure a host to act as an SSH server?

  • A. The openssh-server package must be installed.
  • B. The ssh-agent must be running.
  • C. The sshd service must be started.
  • D. The openssh package must be installed.
  • E. The openssh-client package must not be installed.

Answer: A,C,D

Explanation:
Explanation/Reference:
References:

 

NEW QUESTION 31
Select the two keywords used in /etc/rsyslog.conf that perform these two tasks: (Choose two.)
* load modules
* implement log message formatting

  • A. template
  • B. $template
  • C. ModLoad
  • D. $Load
  • E. $ModLoad

Answer: A,E

 

NEW QUESTION 32
What is the purpose of setting USERCTL=yes In an interface configuration file located in /etc/sysconfig/ network-scripts? (Choose the best answer.)

  • A. to allow a non-root user to bring a network interface up or down using the ifup, ifdown, and ifconfig commands
  • B. to allow a non-root user to bring a network interface up or down using the ifup and ifdown commands
  • C. to allow a non-root user to bring a network interface up or down using the ifconfig command
  • D. to allow a non-root user to bring a network interface up or down using the ethtool command

Answer: A

 

NEW QUESTION 33
For which three types of installs does the Oracle database Pre-install rpm help by installing required software packages and setting system parameters?

  • A. Oracle Database 11g Standard Edition single instance
  • B. Oracle Enterprise Manager Cloud Control
  • C. Oracle Database 11g Enterprise Edition single instance
  • D. Oracle WebLogic
  • E. Oracle Database Enterprise Edition Real Application Cluster

Answer: A,C,D

Explanation:
Explanation/Reference:

 

NEW QUESTION 34
Examine the content of the mdstat pseudo file:
# cat /proc/msstat
personalities: [raid1] [raid0] [raid6] [raid5] [raid4]
md0 : active raid1 md2[1] md1[0]
207680blocks super 1.2 [2/2] [UU]
md2 : activeraid0 sdg[1] sdf1[0]
207872blocks super 1.2 512k chinks
Md1 :active raid0sde1[1] sdd1[0]
207872blocks super 1.2 512k chunks
Unused devices: <none>
Which two statements are true about the MD0 RAID set?

  • A. If MD1 fails, so will MDO.
  • B. MDO is a mirrored stripped RAID set.
  • C. MDO is a stripped mirror RAID set.
  • D. If MD2 fails, MDO too fails.
  • E. If /dev/sdd1 and /dev/sdg1 fail, MDO fails.

Answer: B,E

 

NEW QUESTION 35
Which statement is true concerning the /etc/sysconfig directory and its files and subdirectories?

  • A. The directory /etc/sysconfig/network-scripts contains files that must not be modified while the network is up.
  • B. The file /etc/sysconfig/init is used by upstart to control the attributes of the tty devices that get started.
  • C. The contents are always the same for a specific version of the Oracle Linux Kernel.
  • D. The files only contain default values for certain daemon processes.

Answer: B

Explanation:
Explanation/Reference:
Explanation:
The /etc/sysconfig/init file controls how the system appears and functions during the boot process.
Note: The /etc/sysconfig directory contains files that control your system's configuration. The contents of this directory depend on the packages that you have installed on your system

 

NEW QUESTION 36
Which two statements are true concerning a GUID Partition Table (GPT)?

  • A. It supports named disk partitions.
  • B. It supports primary and extended partitions.
  • C. It supports disks greater than two terabytes.
  • D. It cannot be used on the system disk.
  • E. It supports only up to 16 partitions.

Answer: A,C

Explanation:
Explanation/Reference:
Explanation:
not B, not E: On GUID Partition Table (GPT) hard disks, you can configure up to 128 partitions and there is no concept of extended or logical partitions.
Not D: You cannot boot from a GPT disk.

 

NEW QUESTION 37
Users complain that system performance is unacceptable when using a specific application service running on a multiprocessor service.
You have established from the storage team that disk response times have not increased, so you can discount there being an I/O problem.
You run vmstat to look at CPU activity and notice high average disk times on the multiprocessor system and an average run queue of zero.
You require more detail about each CPU from which the vmstat figures are derived, to investigate if the load is distributed evenly across all CPUs.
Which three commands provide more detailed information about CPU load distribution?

  • A. mpstat
  • B. iostat -x
  • C. top
  • D. sar
  • E. vmstat

Answer: A,D,E

Explanation:
C: A useful command to get CPU related stats is mpstat. Here is an example output:
# mpstat -P ALL 5 2
Linux 2.6.9-67.ELsmp (oraclerac1) 12/20/2008
10:42:38 PM CPU %user %nice %system %iowait %irq %soft %idle intr/s
10:42:43 PM all 6.89 0.00 44.76 0.10 0.10 0.10 48.05 1121.60
10:42:43 PM 0 9.20 0.00 49.00 0.00 0.00 0.20 41.60 413.00
10:42:43 PM 1 4.60 0.00 40.60 0.00 0.20 0.20 54.60 708.40
etc.
D: When called, the grand-daddy of all memory and process related displays, vmstat, continuously runs and posts its information. It takes two arguments:
# vmstat <interval> <count>
<interval> is the interval in seconds between two runs. <count> is the number of repetitions vmstat makes.
Here is a sample when we want vmstat to run every five seconds and stop after the tenth run. Every line in the output comes after five seconds and shows the stats at that time.
# vmstat 5 10
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 1087032 132500 15260 622488 89 19 9 3 0 0 4 10 82 5
0 0 1087032 132500 15284 622464 0 0 230 151 1095 858 1 0 98 1
0 0 1087032 132484 15300 622448 0 0 317 79 1088 905 1 0 98 0
... shows up to 10 times.
The output shows a lot about the system resources.
E: sar stands for System Activity Recorder, which records the metrics of the key components of the Linux system-CPU, Memory, Disks, Network, etc.-in a special place: the directory /var/log/sa.
The simplest way to use sar is to use it without any arguments or options. Here is an example:
# sar
Linux 2.6.9-55.0.9.ELlargesmp (prolin3) 12/27/2008
12:00:01 AM CPU %user %nice %system %iowait %idle
12:10:01 AM all 14.99 0.00 1.27 2.85 80.89
12:20:01 AM all 14.97 0.00 1.20 2.70 81.13
12:30:01 AM all 15.80 0.00 1.39 3.00 79.81
12:40:01 AM all 10.26 0.00 1.25 3.55 84.93
Incorrect:
Not A: iostat is for I/O

 

NEW QUESTION 38
An Oracle Linux system has not been updated for a while and the currently running kernel is three releases behind the most recent kernel release.
Each released kernel fixed several problems, totaling 11 bug fixes.
You are about to update this kernel using this command:

How does Ksplice Uptrack apply these updates? (Choose the best answer.)

  • A. It downloads 11 updates and applies them one by one to the running kernel
  • B. It downloads three updates and applies them in a single transaction to the running kernel
  • C. It downloads 11 updates and applies them in a single transaction to the running kernel
  • D. It downloads three updates, clones the running kernel in memory, applies the updates in one single atomic update, and uses Kexec to activate the updated kernel

Answer: A

 

NEW QUESTION 39
Examine this output:
# df -t nfs
FilesystemSizeUsedAvailUse%Mounted on
o16:export30G21G7.6G74%/mnt
# 1s -1 /mnt/nfs.sh
-rwxr-mr-x. 1 root root 22 May 8 16:37 /mnt/nfs.sh
# file /mnt/nfs.sh
/mnt/nfs.sh: Bourne-Again shell script text executables
# /mnt/nfs.sh
bash: /mnt/nfs.sh: Permission denied
What is the reason for the error?

  • A. The /export filesystem was mounted with the NOEXEC option on host o16.
  • B. The filesystem was exported on host o16 by using the NO_ROOT_SQUASH option.
  • C. The filesystem mounted on /mnt was mounted with the NOEXEC option.
  • D. The file system was exported on host o16 using the ROOT_SQUASH option.

Answer: C

Explanation:
Explanation/Reference:
Explanation:

 

NEW QUESTION 40
The dailyrun.sh shell script run by the user hr on a daily basis suddenly returns an error.
You investigate this by running the commands manually as user hr and discovered that this line of shell cod is responsible: 1s -als > /home/prodrun/files.1st Bash: files.1st:cannot overwrite existing file What is the cause of this error?

  • A. The dailyrun.sh shell script has the setuid bit turned off.
  • B. The hr user environment has set on the noclobber option.
  • C. The hr user has no write permissions on the /home/prodrun/files.1st file.
  • D. The hr user has no write permissions on the /home/prodrun directory.

Answer: D

 

NEW QUESTION 41
Which two statements are true about the Ksplice patching feature feature of Oracle Linux when running in standard mode? (Choose two.)

  • A. It can update both the running kernel in memory and the corresponding kernel image on disk
  • B. Updates to the Ksplice software are installed automatically
  • C. It can update both the Unbreakable Enterprise Kernel (UEK) as well as the Red Hat compatible kernel
  • D. It requires access to the Internet, either direct or via a proxy server
  • E. It can update the kernel without rebooting the system

Answer: A,E

 

NEW QUESTION 42
Examine the extract of the /etc/nologin file and the /etc/pam.d/login file on server1:
[root@server1 ~] # cat /etc/nologin
bob
smith
[root@server1 ~] # cat /etc/pam.d/login
accountrequiredpam_nologin.so
accountincludesystem-auth
Which statement is true about users?

  • A. Only the root user can log in to the system.
  • B. All users, including the root user, would be permitted to log in to the system.
  • C. Only users root bob and smith would be unable to log in to the system.
  • D. All users, including the root user, would be unable to log in to the system.

Answer: A

Explanation:
auth required pam_nologin.so - This is the final authentication step. It checks whether the /etc/nologin file exists. If it exists and the user is not root, authentication fails.
*The /etc/nologin file contains the message displayed to users attempting to log on to a machine in the process of being shutdown.
*the login program defines its service name as login and installs the /etc/pam.d/login PAM
configuration file.

 

NEW QUESTION 43
This MDADM output:

Which two aspects can be determined from this output?

  • A. Read and write performance is no longer optimal on this RAID set.
  • B. Only Write performance is no longer optimal on this RAID set.
  • C. It is no longer possible to write to this RAID set.
  • D. A device failed and has been removed from this RAID set.
  • E. This RAID set was built without a spare device.

Answer: D,E

Explanation:
Explanation/Reference:
Explanation:

 

NEW QUESTION 44
......

Full 1z0-100 Practice Test and 142 unique questions with explanations waiting just for you, get it now: https://www.practicevce.com/Oracle/1z0-100-practice-exam-dumps.html