Oracle: Question & Answers

Download as pdf or txt
Download as pdf or txt
You are on page 1of 15

Oracle

1Z0-821
Oracle Solaris 11 System Administration
QUESTION & ANSWERS

https://www.certsgo.com/oracle-1Z0-821-pdf-dumps.html
QUESTION 1

Examine this command and its output:


# zoneadm list
Global
zone2
Which two outcomes can be deduced from this output?
A. There is exactly one nonglobal zone installed.
B. There is one nonglobal zone running.
C. There is at least one oneglobal zone configured.
D. There is one nonglobal zone that is not configured.
E. There is one nonglobal zone that is not running.
F. The is one nonglobal zone that is not installed.
G. There is exactly one nonglobal zone configured.

Correct Answer: B,C

QUESTION 2

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.

Correct Answer: A,D

Explanation/Reference:

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

https://www.certsgo.com/oracle-1Z0-821-pdf-dumps.html
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 3

You have set up the task.max-lwps resource control on your Solaris 11 system.
Which option describes how to configure the system so that syslogd notifies you when the resources
control threshold value for the task.max-lwps resource has been exceeded?
A. Use the rctladm command to enable the global action on the task.max-lwpa resource control.
B. Modify the /etc/syslog.conf file to activate system logging of all violations of task.max-lwps and
then refresh then svc: /system/system-log:default service.
C. Activate system logging of all violations of task.max-lwpp in the /etc/rctldm.conf file and then
execute the rctladm-u command.
D. Use the prct1 command to set the logging of all resource control violations at the time the
task.max-lwps resource control is being setup.
E. Use the setrct1 command to set the logging of all resource control violations for the task.max-lwps
resource control.

Correct Answer: A

Explanation/Reference:

rctladm - display and/or modify global state of system resource controls


The following command activates system logging of all violations of task.max-lwps.
# rctladm -e syslog task.max-lwps
#

QUESTION 4

View the Exhibit.

https://www.certsgo.com/oracle-1Z0-821-pdf-dumps.html
The file came from your Automated Installer (AI) install server.
The file is ____________.
A. An AI SC profile for non-global zones
B. The default AI conf ig file for non-global zones
C. The default AI manifest for non-global zones
D. A custom AI manifest

https://www.certsgo.com/oracle-1Z0-821-pdf-dumps.html
Correct Answer: D

Explanation/Reference:

ai_manifest
- Automated installation manifest file format
Synopsis
/usr/share/install/ai.dtd.1
Some customizations have been made, such as the selection of specific locales.

QUESTION 5

You are installing the Solaris 11 Operation System by using the Text Installer. A panel prompts you to
create a root password and a user account.
Which four describe your options for completing this panel of the Installation?
A. Creating a user account is optional.
B. The root password must be set and cannot be blank.
C. The root password can be left blank.
D. If you provide a username, that user is assigned the root role.
E. If you provide a username, that user is given root privileges.
F. If you provide a username, root is an account rather than a role and is set to expire immediately.
G. If you do not provide a username, root is an account rather than a role and is set to expire
immediately.

Correct Answer: A,B,D,G

Explanation/Reference:

A: You are not required to create a user account.


B: You must create a root password.
D: If you create a user account in this panel, you need to provide both the user's password and a root
password.
In this case, root will be a role assigned to the user.
G: If you do not create a user account, you still need to provide a root password.
In this case, root will be a regular user.

QUESTION 6

To confirm the IP address and netmask have been correctly configured on the network interfaces
which command should you use?
A. ipdilm show-if
B. ipadm show-nic
C. ipadm show-addr
D. ipadm show-ifconfig

https://www.certsgo.com/oracle-1Z0-821-pdf-dumps.html
E. ipadm show-addripadm show-mask

Correct Answer: C

Explanation/Reference:

Show address information, either for the given addrobj or all the address objects configured on the
specified interface, including the address objects that are only in the persistent configuration.
State can be: disabled, down, duplicate, inaccessible, ok, tentative
Example:
# ipadm show-addr
ADDROBJ TYPE STATE ADDR
lo0/v4 static ok 127.0.0.1/8
lo0/v6 static ok ::1/128

QUESTION 7

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

Correct Answer: A

QUESTION 8

Which best describes the svc:/system/boot-config service?


A. It is used to change the milestone on a system.
B. It is used to set the default run level of the system.
C. It provides the parameters used to set the system to automatically perform a fast or slow reboot.
D. When the service is enabled, the system performs a fast reboot by default; when it is disable the

https://www.certsgo.com/oracle-1Z0-821-pdf-dumps.html
system performs a slow reboot by default.

Correct Answer: C

Explanation/Reference:

Starting with the Oracle Solaris 11 Express release, Fast Reboot is supported on the SPARC platform,
as well as the x86 platform. On both platforms, this feature is controlled by the SMF and implemented
through a boot configuration service, svc:/system/boot-config. The boot-config service provides a
means for setting or changing the default boot configuration parameters.
The fastreboot_default property of the boot-config service enables an automatic fast reboot of the
system when either the reboot or the init 6 command is used. When the config/fastreboot_default
property is set to true the system automatically performs a fast reboot, without the need to use the
reboot -f command. By default, this property's value is set to false on the SPARC platform and to true
on the x86 platform.

QUESTION 9

You are asked to troubleshoot networking issues on an unfamiliar system.


Select the correct command to display what network devices are installed.
A. ifconfig -a
B. dladm show-dev
C. dladm show-phys
D. dladm show-ether
E. netadm show-dev
F. netadm show-ether

Correct Answer: C

QUESTION 10

The current ZFS configuration on server is:

https://www.certsgo.com/oracle-1Z0-821-pdf-dumps.html
You need to backup the /data file system while the file system is active.
Select the option that creates a full backup of the /data file system and stores the backup on server in
the pool named backup.
A. Mount -F nfs system: /backup / mntzfs snapshot pool/data@monday>/mnt/Monday
B. Mount -F nfs systemB: /backup/mntzfs snapshot pool1/data@Mondayzfs clone
pool1/data@monday/mnt/Monday
C. Zfs send pool1/data@Monday | ssh system zfs recv backup/monday
D. Zfs snapshot pool1/data@Monday | ssh system zfs recv backup/monday

Correct Answer: C

Explanation/Reference:

Explanation:
http://docs.oracle.com/cd/E23823_01/html/819-5461/ghzvz.html

QUESTION 11

In a default standalone installation of Oracle Solaris 11, what is the default minimum length in
characters of a user password, and where is the minimum password length defined?
A. Default minimum length is 8, and is defined in /etc/default/password.
B. Default minimum length is 8, and is defined in /etc/shadow.
C. Default minimum length is 6, and is defined in /etc/shadow.
D. Default minimum length is 8, and is defined in /usr/sadm/defadduser.
E. Default minimum length is 6, and is defined in /usr/sadm/defadduser.

Correct Answer: B

Explanation/Reference:

By default, the passwd command assumes a minimum length of six characters. You can use the
PASSLENGTH default in the /etc/defaults/passwd files to change that by setting the minimum number
of characters that a user's password must contain to some other number.

QUESTION 12

Which two accurately describe the Solaris IPS repository?


A. It contains a collection of operating system patches.
B. It contains a collection of software packages.
C. All packages within an IPS package repository reside in a catalog.
D. It is an ISO image of the Solaris installation media.
E. The packages in a catalog are associated with a specific publisher.

https://www.certsgo.com/oracle-1Z0-821-pdf-dumps.html
Correct Answer: B,E

Explanation/Reference:

Image Packaging System (IPS) is a new network based package management system included in
Oracle Solaris 11. It provides a framework for complete software lifecycle management such as
installation, upgrade and removal of software packages. IPS also enables you to create your own
software packages, create and manage package repositories, and mirror existing package
repositories.
Oracle Solaris software is distributed in IPS packages. IPS packages are stored in IPS package
repositories, which are populated by IPS publishers.
E: The following command displays property information about the local repository.
$ pkgrepo get -s /export/repoSolaris11
SECTION PROPERTY VALUE publisher prefix solaris repository description This\ repository\ serves\ a\
copy\ of\ the\ Oracle\ Solaris\ 11\ Build\ 175b\ Package\ Repository.
repository name Oracle\ Solaris\ 11\ Build\ 175b\ Package\ Repository
repository version 4
The value of the publisher prefix specifies that solaris is to be used in the following cases:
When more than one publisher's packages are present and no publisher is specified in the package
name in the pkg command
When packages are published to the repository and no publisher is specified.

QUESTION 13

To help with your troubleshooting, you need to determine the version of the OBP. Which two
commands will provide you with this information?
A. printenv
B. banner
C. .version
D. set-env
E. show-devs
F. value version

Correct Answer: B,C

Explanation/Reference:

B: banner
Displays power-on banner.
The PROM displays the system banner. The following example shows a SPARCstation 2 banner. The
banner for your SPARC system may be different.
SPARCstation 2, Type 4 Keyboard
ROM Rev. 2.0, 16MB memory installed, Serial # 289
Ethernet address 8:0:20:d:e2:7b, Host ID: 55000121
C: .version
https://www.certsgo.com/oracle-1Z0-821-pdf-dumps.html
Displays version and date of the boot PROM.
Note: OBP-OpenBootProm is a firmware which is placed on the sun machine's prom chip.
It is a os independent user interface to deal with the sun machine's hardware components.
The user interface provides one or more commands to display system information.

QUESTION 14

Which two options are characteristics of a fast reboot?


A. A fast reboot bypasses grub.
B. A fast reboot cannot be used after a system panic on the x86 platform.
C. A fast reboot can only be executed on the SPARC platform when the config/fastreboot_default
property for the svc:/system/boot-config:default service is set to true.
D. A fast reboot uses an in-kernel boot loader to load the kernel into memory.
E. A fast reboot is the default on all platforms.

Correct Answer: C,D

Explanation/Reference:

C: To change the default behavior of the Fast Reboot feature on the SPARC platform, so that a fast
reboot is automatically performed when the system reboots, see below.
The following example shows how to set the property's value to true on the SPARC platform, so that a
fast reboot is initiated by default:
# svccfg -s 'system/boot-config:default' setprop config/fastreboot_default=true
# svcadm refresh svc:/system/boot-config:default
D: Fast Reboot implements an in-kernel boot loader that loads the kernel into memory and then
switches to that kernel.
The firmware and boot loader processes are bypassed, which enables the system to reboot within
seconds.
The Fast Reboot feature is managed by SMF and implemented through a boot configuration service,
svc:/system/boot-config. The boot-config service provides a means for setting or changing the default
boot configuration parameters. When the config/fastreboot_default property is set to true, the system
performs a fast reboot automatically, without the need to use the reboot -f command. This property's
value is set to true on the x86 platform. For task-related information, including how to change the
default behavior of Fast Reboot on the SPARC platform, see Accelerating the Reboot Process on an
x86 Based System.
Note: One new feature, called Fast Reboot, will allow the system to boot up without doing the routine
set of hardware checks, a move that can make system boot times up to two-and-a-half times faster,
Oracle claimed. This feature can be handy in that an administrator applying a patch or software
update across thousands of Solaris deployments can reboot them all the more quickly.

QUESTION 15

The following image properties are displayed on your system:

https://www.certsgo.com/oracle-1Z0-821-pdf-dumps.html
Which two options describe the boot environment policy property that is currently set for this image?
A. All package operations are performed in a new BE set as active on the next boot.
B. Do not create a new BE . The install, update, uninstall, or revert operation is not performed if a
new BE is required.
C. If a BE is created, do not set it as the active BE on the next boot
D. A reboot is required for all package operations
E. A reboot is not required after a package operation.
F. For package operations that require a reboot, this policy creates a new BE set as active on the
next boot.

Correct Answer: D,F

Explanation/Reference:

Image properties described below.


* be-policy
Specifies when a boot environment is created during packaging operations. The following values are
allowed:
/ default
Apply the default BE creation policy: create-backup.
/ always-new (D, F)
Require a reboot for all package operations (D) by performing them in a new BE set as active on the
next boot (F). A backup BE is not created unless explicitly requested.
This policy is the safest, but is more strict than most sites need since no packages can be added
without a reboot.

QUESTION 16

The interface net3 should be operating, but is not.


Command:

Which command should you enter next?

https://www.certsgo.com/oracle-1Z0-821-pdf-dumps.html
A. ipadm create-ip
B. ipadm enable-if
C. ipadm show-if
D. ipadm up-addr

Correct Answer: B

Explanation/Reference:

Enable-if -t interface
Enables the given interface by reading the configuration from the persistent store. All the persistent
interface properties, if any, are applied and all the persistent addresses, if any, on the given interface
will be enabled.
-t, --temporary
Specifies that the enable is temporary and changes apply only to the active configuration.

QUESTION 17

United States of America export laws include restrictions on cryptography.


Identify the two methods with which these restrictions are accommodated in the Oracle Solaris 11
Cryptographic Framework.
A. Corporations must utilize signed X.509 v3 certificates.
B. A third-party provider object must be signed with a certificate issued by Oracle.
C. Third-party providers must utilize X.509 v3 certificates signed by trusted Root Certification
Authorities.
D. Systems destined for embargoed countries utilize loadable kernel software modules that restrict
encryption to 64 bit keys.

Correct Answer: B,C

Explanation/Reference:

B: Binary Signatures for Third-Party Software


The elfsign command provides a means to sign providers to be used with the Oracle Solaris
Cryptographic Framework. Typically, this command is run by the developer of a provider.
The elfsign command has subcommands to request a certificate from Sun and to sign binaries.
Another subcommand verifies the signature. Unsigned binaries cannot be used by the Oracle Solaris
Cryptographic Framework. To sign one or more providers requires the certificate from Sun and the
private key that was used to request the certificate.
C: Export law in the United States requires that the use of open cryptographic interfaces be restricted.
The Oracle Solaris Cryptographic Framework satisfies the current law by requiring that kernel
cryptographic providers and PKCS #11 cryptographic providers be signed.

https://www.certsgo.com/oracle-1Z0-821-pdf-dumps.html
QUESTION 18

View the Exhibit to inspect the boot environment Information displayed within a non global zone on
your system.

Which two options describe the solaris-1 boot environment?


A. The solaris-1 boot environment is not bootable.
B. The solaris-1 boot environment is incomplete.
C. The solaris-1 boot environment was created automatically when the non global zone was created.
D. The solaris-1 boot environment was created in the non-global zone using the beadm create
command.
E. The solaris-1 boot environment is associated with a non active global zone boot environment.

Correct Answer: A,E

Explanation/Reference:

A: The -- of the Active Column indicates that this boot environment is inactive, and hence not
bootable.
Note: The values for the Active column are as follows:
R -- Active on reboot.
N -- Active now.
NR -- Active now and active on reboot.
''-'' -- Inactive.
''!'' -- Unbootable boot environments in a non-global zone are represented by an exclamation point.
http://docs.oracle.com/cd/E23824_01/html/E21801/unbootable.html#scrolltoc

QUESTION 19

A change in your company's security policy now requires an audit trial of all administrators assuming
the sysadm role, capturing:
There are two command necessary to accomplish this change. One is a rolemod command. What is
the other?
A. auditconfig set policy=argv
B. auditconfig -setpolicy +argv
C. auditconfig -setflags lo, ex sysadm
D. auditconfig set flags=lo, ex sysadm
https://www.certsgo.com/oracle-1Z0-821-pdf-dumps.html
Correct Answer: B

Explanation/Reference:

Audit Significant Events in Addition to Login/Logout (see step 2 below)


Use this procedure to audit administrative commands, attempts to invade the system, and other
significant events as specified by your site security policy.
For all users and roles, add the AUE_PFEXEC audit event to their preselection mask.
# usermod -K audit_flags=lo, ps:no username
# rolemod -K audit_flags=lo, ps:no rolename
# auditconfig -setpolicy +argv
3- Record the environment in which audited commands are executed.
# auditconfig -setpolicy +arge
Note: [-t] -setpolicy [+|-]policy_flag[, policy_flag ...]
Set the kernel audit policy. A policy policy_flag is literal strings that denotes an audit policy. A prefix
of + adds the policies specified to the current audit policies. A prefix of - removes the policies
specified from the current audit policies. No policies can be set from a local zone unless the perzone
policy is first set from the global zone.

QUESTION 20

Which two statements are true when updating Solaris 11 from one Support Respository Update (SRU)
to another SRU by using the pkg update command?
A. By default, the pkg update command automatically creates a backup Boot Environment whenever
the kernel is affected by the update.
B. By default, the pkg update command automatically creates a new Boot Environment whenever the
kernel is affected by the update.
C. The pkg update command can only be used to update to a newer SRU.
D. The pkg update command can be used to update to a newer or older SRU.
E. By default, the pkg update command always updates Solaris 11 to the first SRU that was released
after the Current SRU.
F. The pkg update command can only be performed while running in the single-user milestone.

Correct Answer: B,C

QUESTION 21

On which is the open boot prom available?


A. x86 only
B. x86 64-Bit only
C. SPARC only
D. both x86 and x86 64-Bit
E. x86, x86 64-Bit and SPARC

https://www.certsgo.com/oracle-1Z0-821-pdf-dumps.html
Correct Answer: C

Explanation/Reference:

No OpenBoot Environment on the Intel Platform. The Intel environment has no OpenBoot PROM or
NVRAM. On Intel systems, before the kernel is started, the system is controlled by the basic
input/output system (BIOS), the firmware interface on a PC. Therefore, many features provided by
OpenBoot are not available on Intel systems.
Note: The Open Boot PROM (OBP) bootloader only exists within SPARC. Before Solaris 10 01/06, the
bootloader for Solaris x86 was a Sun customized bootstrap software. After Solaris 10 01/06, it uses
GRUB, a well known bootloader that's commonly used in the Linux world.
With GRUB, it's much easier to make the system dual-boot Linux and Solaris. GRUB extends the
capabilities of the bootloader that was not available previously such as the ability to boot from a USB
DVD drive. Those who have used Linux will be quite familiar with GRUB and its options.

https://www.certsgo.com/oracle-1Z0-821-pdf-dumps.html

You might also like