Oracle 1Z0-821 Online Practice
Questions and Exam Preparation
1Z0-821 Exam Details
Exam Code
:1Z0-821
Exam Name
:Oracle Solaris 11 System Administration
Certification
:Oracle Certifications
Vendor
:Oracle
Total Questions
:243 Q&As
Last Updated
:Jul 09, 2026
Oracle 1Z0-821 Online Questions &
Answers
Question 91:
How should you permanently restrict the non-global zone testzone so that it does not use more than 20 CPU shares while it is running?
A. While configuring the zone, add this entry:add rct1set name = capped.cpu-sharesadd value (priv = privileged, limit = 20, action = none)endexit B. While configuring the zone, add this entry: add rct1set name= zone.cpu-sharesadd value (priv=privileged, limit=20, action=none)endexitfrom command line, enter: # dispadmin - d FSS C. From the command line enter: #prct1 -n zone.cpu-shares - r - v 20 - i zone testzone D. From the command line, enter:#prct1 - n zone.cpu-shares - v 80 - r - i zone global
C. From the command line enter: #prct1 -n zone.cpu-shares - r - v 20 - i zone testzone
The prctl utility allows the examination and modification of the resource controls associated with an active process, task, or project on the system. It allows access to the basic and privileged limits and the current usage on the specified entity.
How to Change the zone.cpu-shares Value in a Zone Dynamically This procedure can be used in the global zone or in a non-global zone. For more information about roles, see Configuring and Using RBAC (Task Map) in System
Administration Guide: Security Services.
# prctl -n zone.cpu-shares -r -v value -i zone zonename idtype is either the zonename or the zoneid. value is the new value.
Note: project.cpu-shares
Number of CPU shares granted to a project for use with the fair share scheduler
Question 92:
Which files must be edited in order to set up logging of all failed login attempts?
A. /etc/default/login, /var/adm/loginlog, /etc/syslog.conf B. /etc/default/login, /var/adm/authlog, /etc/syslog.conf C. /var/adm/loginlog, /var/adm/authlog, /etc/syslog.conf D. /etc/default/login, /var/adm/authlog, /var/adm/loginlog
B. /etc/default/login, /var/adm/authlog, /etc/syslog.conf
This procedure captures in a syslog file all failed login attempts.
1.
Set up the /etc/default/login file with the desired values for SYSLOG and SYSLOG_FAILED_LOGINS Edit the /etc/default/login file to change the entry. Make sure that SYSLOG=YES is uncommented.
2.
Create a file with the correct permissions to hold the logging information. Create the authlog file in the /var/adm directory.
3.
Edit the syslog.conf file to log failed password attempts. Send the failures to the authlog file.
Question 93:
Which operation will fail if the DNS configuration is incorrect?
A. domainname B. ping localhost. C. ping 192.168.1.1 D. ping 23.45.82.174 E. ping www.oracle.com. F. cat /etc/resolv.conf
E. ping www.oracle.com.
www.oracle.com would have to be resolved to an IP name by the domain name service.
Question 94:
Select two statements that correctly describe the capabilities of the Distribution Constructor.
A. ISO images for use with the Automated Installer (AI) can be created. B. Bootable USB images can be created for SPARC and x86 architectures. C. A single installation server can be used to create ISO images for SPARC and x86 architectures. D. Checkpoints can be used to pause the build, allowing scripts to run that modify the resulting ISO Image. E. A single Installation server can be used to create ISO images for Solaris 10 and Solaris11 operating systems.
A. ISO images for use with the Automated Installer (AI) can be created. D. Checkpoints can be used to pause the build, allowing scripts to run that modify the resulting ISO Image.
A: You can use the distribution constructor to create the following types of Oracle Solaris images:
*
(A) x86 or SPARC ISO Image for Automated Installations
*
Oracle Solaris x86 live CD image
*
x86 or SPARC Oracle Solaris text installer image
*
x86 Oracle Solaris Virtual Machine
Note: You can use the distribution constructor to build custom Oracle Solaris images. Then, you can use the images to install the Oracle Solaris software on individual systems or multiple systems. You can, also, use the distribution constructor to create Virtual Machine (VM) images that run the Oracle Solaris operating system.
D: Checkpointing Options You can use the options provided in the distro_const command to stop and restart the build process at various stages in the image-generation process, in order to check and debug the image that is being built. This process of stopping and restarting during the build process is called checkpointing.
Question 95:
user1 has a disk quota of 0.5 MB. The user attempts to run the following command on a file called .bigfile that is 495 KB in size:
cp bigfile /tmp
Will the command execute successfully?
A. Yes. Quotas do not include any of the system files such as /tmp /swap. B. Yes. The quota is set at the directory level, not the user level. C. No. The command will fail because it will cause him to exceed his user quota. D. No. A user cannot place files into the /tmp directory.
A. Yes. Quotas do not include any of the system files such as /tmp /swap.
UFS quotas enable system administrators to control the size of file systems. Quotas limit the amount of disk space and the number of inodes, which roughly corresponds to the number of files, that individual users can acquire. For this reason, quotas are especially useful on the file systems where user home directories reside. As a rule, the public and /tmp file systems usually do not benefit significantly by establishing quotas.
Note: The cp command copies files and directories.
Question 96:
View the exhibit to inspect the file system configuration on your server.
View the Exhibit to inspect the file system configuration on your server.
Your department's backup policy is to perform a full backup to a remote system disk on Saturday.
On Sunday through Friday, you are to perform a differential backup to the same remote system disk:
Following your company policy, which option describes a valid procedure for backing up the /data file system to a remote disk named /remote/backup?
A. Option A B. Option B C. Option C D. Option D
C. Option C
Question 97:
Your server has a ZFS storage pool that is configured as follows:
The server has two spare 146-GB disk drives: c3t5d0 c3t6d0
You need to add more space to the pool1 storage pool. Which command would add more mirrored storage to the pool1 storage pool?
A. zpool add pool1 mirror c3t5d0 c3t6d0 B. zpool attach pool1 mirror c3t5d0 c3t6d0 C. zpool attach pool1 c3r3d0 c3r5d0; zpool attach pool1 c3r4d0 c3r6d0 D. zpool add pool1 c3r3d0 c3r5d0; zpool add pool1 c3r4d0 c3r6d0
A. zpool add pool1 mirror c3t5d0 c3t6d0
Question 98:
You are setting up a local IPS package repository on your Oracle Solaris11 server:
solaris.example.com.
You want to point the existing local IPS publisher to the new local IPS repository located in /repo.
These are the stops that you have followed:
1.
Download and rsync the contents of the Oracle Solaris11 repository ISO image to the /repo directory.
2.
Configure the repository server service properties. The svcprop command display, the IPS related properties:
pkg/inst_root astring/repo
pkg/readonly Boolean true
The 1s command displays the contents of the /repo directory:
#ls/repo
Pkg5.repository publisher
The svcs publisher command shows the svc: /application/pkg/server: default service is online.
The pkg publisher command shows the svc: /application/pkg/server: default service is online.
Which steps needs to be performed to set the local IPS publisher to the local IPS repository/repo?
A. Issue the pkgrepo refresh -s command to refresh the repository. B. Restart the svc:/application/pkg/server:default service. C. pkg set-publisher command to set the new repository location. D. Issue the pkgrepo rebuild command to rebuild the repository. E. Issue the pkgrepo set command to set the new repository location.
C. pkg set-publisher command to set the new repository location.
Set the Publisher Origin To the File Repository URI
To enable client systems to get packages from your local file repository, you need to reset the origin for the solaris publisher. Execute the following command on each client:
Example:
# pkg set-publisher -G '*' -M '*' -g /net/host1/export/repoSolaris11/ solaris
Question 99:
View the Exhibit.
After Installing the OS, you need to verify the network interface information. Which command was used to display the network interface information in the exhibit?
A. ifconfiq -a B. ipadm show-addr C. svcs -1 network/physical D. netstat -a
B. ipadm show-addr
'ipadm show-addr' displays all the configured addresses on the system.
Example: # ipadm show-addr ADDROBJ TYPE STATE ADDR lo0/v4 static ok 127.0.0.1/8 lo0/v6 static ok ::1/128
Question 100:
You are attempting to troubleshoot an event that should have made an entry into the messages log. This event happened about two weeks ago. Which file should you look at first?
A. /var/adm/messages B. /var/adm/messages.0 C. /var /adm/messagas.1 D. /var/adm/messages.2 E. /var/adm/messages.3
A. /var/adm/messages
The /var/adm/messages is the file to which all the messages printed on the console are logged to by the Operating System. This helps to track back check the console messages to troubleshoot any issues on the system.
Syslog daemon also writes to this /var/adm/messages file.
The /var/adm/messages file monitored and managed by newsyslog and its configuration file is /usr/lib/newsyslog.
This script runs as the roots cron job everyday, checks the /var/adm/messages file and copies/moves it to /var/adm/messages.0, 1, 2, 3, 4, 5, 6, 7. In other words, it does the Log Rotation for the /var/adm/messages.
In an event the /var file system is running out of space, these files needs to checked and can be removed (not the actual /var/adm/messages itself) to free up space on the file system.
However, care has to be taken, if you decide to empty the /var/adm/messages itself for any reason. This process is called Truncation.
Nowadays, the certification exams become more and more important and required by more and more
enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare
for the exam in a short time with less efforts? How to get a ideal result and how to find the
most reliable resources? Here on Vcedump.com, you will find all the answers.
Vcedump.com provide not only Oracle exam questions,
answers and explanations but also complete assistance on your exam preparation and certification
application. If you are confused on your 1Z0-821 exam preparations
and Oracle certification application, do not hesitate to visit our
Vcedump.com to find your solutions here.