oracle 1z0-821 online test

Solaris 11 System Administration Exam

What students need to know about the 1z0-821 exam

  • Total 243 Questions & Answers

Question 1

zone1 is a non-global zone that has been configured and installed.
zone1 was taken down for maintenance, and the following command was run:
zoneadm -z zone1 mark incomplete
The following information is displayed when listing the zones on your system:

Which task needs to be performed before you can boot zone1?

  • A. The zone needs to be installed.
  • B. The zone needs to be brought to the ready state.
  • C. The zone needs to be uninstalled and reinstalled.
  • D. The zone needs to be brought to the complete state.


If administrative changes on the system have rendered a zone unusable or inconsistent, it is possible
to change the state of an installed zone to incomplete.
Marking a zone incomplete is irreversible. The only action that can be taken on a zone marked
incomplete is to uninstall the zone and return it to the configured state.


Question 2

You need to make sure that all of the software packages on your server are up to date. Without
installing any updates, which two commands would display .my software updates that are available
in the default Oracle repository?

  • A. pkg list -u
  • B. pkg verify –u ‘*’
  • C. pkg search –u
  • D. pkg info –r ‘*’
  • E. pkg install –nv
  • F. pkg update –nv ‘*’


A: the pgk list command display a list of packages in the current image, including state and other
information. By default, package variants for a different architecture or zone type are excluded.
D: pkginfo displays information about software packages that are installed on the system (with the
first synopsis, with -l) or that reside on a particular device or directory (with the second synopsis,
with -r).
Without options, pkginfo lists the primary category, package instance, and the names of all
completely installed and partially installed packages. It displays one line for each package selected.
With -r, retrieve the data from the repositories of the image's configured publishers. Note that you
must specify one or more package patterns in this case.


Question 3

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 system performs a slow reboot by default.


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 4

A user jack, using a korn shell, requests a directory listing as follows:
[email protected]:/export/home/jack $ 1s
File filea Filea fileb Fileb filec Filec
Which two statements are correct?

  • A. The pattern [?i]*a will expand to filea Filea.
  • B. The pattern [fF]*a? will expand to [fF] *a?.
  • C. The pattern [gfe] * will expand to file filea fileb filec.
  • D. The pattern [g-e] * will expand to file filea fileb filec.
  • E. The pattern [fF] [a-zA-z] i*e will expand to file.


A: starting with one single character, second character must be letter i, any characters, ending with
letter a.
C: starting with letter e, f, or g, followed by anything.


Question 5

You created an IP address for interface not.3 with the following command, which executed
ipadm create-addr T static a net3/v4
You then ran:
ipadm showif
The result indicated that the interface was down.
You then ran:
ipadm delete-addr net3/v4
ipadm create-addr T static a net3/v4
ipadm show-if
The last command indicated that the interface was up.
Why did it work with the second address specified, but not the first?

  • A. The address is reserved for broadcast messages.
  • B. Another device exists on the network, using the address.
  • C. The network interface card does not support the address
  • D. The address is at a boundary and may not be configured in Oracle Solaris 11.
  • E. is a DHCP address and may not be statically configured in Oracle Solaris 11.


The first IP address is already in use.


Question 6

You have a ticket from a new user on the system, indicating that he cannot log in to his account. The
information in the ticket gives you both the username and password. The ticket also shows that the
account was set up three days ago.
As root, you switch users to this account with the following command:
su newuser
You do not get an error message.
You then run 1s -1a and see the following files:
local1.cshrc local1.login local1.profile .bash_history .bashrc .profile
As root, you grep the /etc/passwd file and the /etc/shadow file for this username, with these results:
/etc/passwd contains newuser:x:60012:10:/home/newuser:/usr/bin/bash
/etc/shadow contains newuser:UP: : : : :10: :
As root, what is your next logical step?

  • A. Usermod –f 0
  • B. passwd newuser
  • C. mkdir /home/newuser
  • D. useradd –D


The content of the /etc/shadow document indicates that the newuser account has no password.
We need to add a password.
The passwd utility is used to update user's authentication token(s).
D: Here the user account already exist. There is no need to create it.
When invoked without the -D option, the useradd command creates a new user account using the
values specified on the command line plus the default values from the system. Depending on
command line options, the useradd command will update system files and may also create the new
user's home directory and copy initial files.


Question 7

You have a user that needs to use the cron tool to schedule some repetitive tasks. When the user
enters the crontab e command in a terminal window, the following error appears:
crontab: you are not authorized to use cron. Sorry
In order to troubleshoot this issue, in what directory would you start your invest

  • A. /etc/cron.d
  • B. /var/spool/cron
  • C. /var/spool/cron/crontable
  • D. /var/spool/cron/atjobs


crontab: you are not authorized to use cron. Sorry.
This message means that either the user is not listed in the cron.allow file (if the file exists), or the
user is listed in the cron.deny file.
You can control access to the crontab command by using two files in the /etc/cron.d directory:
cron.deny and cron.allow. These files permit only specified users to perform crontab command tasks
such as creating, editing, displaying, or removing their own crontab files.
The cron.deny and cron.allow files consist of a list of user names, one user name per line.


Question 8

You are having an issue with the shutdown command. You wish to determine if the file is a script or
an executable program. Which command would you use to determine this?

  • A. od shutdown
  • B. file shutdown
  • C. test shutdown
  • D. cksum shutdown
  • E. attrib shutdown


The file command determines the file type file tests each argument in an attempt to classify it. There
are three sets of tests, performed in this order: filesystem tests, magic tests, and language tests. The
first test that succeeds causes the file type to be printed.


Question 9

What determines which bits in an IP address represent the subnet, and which represent the host?

  • A. Subnet
  • B. unicast
  • C. netmask
  • D. multicast
  • E. broadcast


A subnetwork, or subnet, is a logically visible subdivision of an IP network. The practice of dividing a
network into two or more networks is called subnetting.
The routing prefix of an address is written in a form identical to that of the address itself. This is
called the network mask, or netmask, of the address. For example, a specification of the most-
significant 18 bits of an IPv4 address, 11111111.11111111.11000000.00000000, is written as


Question 10

Which two accurately identify features of a Solaris 10 branded zone?

  • A. executes in a Solaris 10 global zone
  • B. is created by importing a Solaris 10 flash archive
  • C. enables Linux binary applications to run unmodified
  • D. provides a complete runtime environment for Solaris 9 applications
  • E. allows a Solaris 10 global zone to be migrated into a Solaris 10 non-global zone on a Solaris 11 system


B: It can be created by importing a Solaris 10 flash archive.
You can use the Oracle Solaris Flash archiving tools to create an image of an installed system that can
be migrated into a zone.
The system can be fully configured with all of the software that will be run in the zone before the
image is created. This image is then used by the installer when the zone is installed.
Note: You can use alternate methods for creating the archive. The installer can accept the following
archive formats:
* cpio archives
* gzip compressed cpio archives
* bzip2 compressed cpio archives
* pax archives created with the -x xustar (XUSTAR) format
ufsdump level zero (full) backups
Branded zones that run an environment different that the OS release on the system
* The lx branded zone introduced in the Solaris 10 8/07 release provides a Linux environment for
your applications and runs on x86 and x64 machines on the Oracle Solaris 10 OS.
* The solaris8 and solaris9 branded zones enable you to migrate an Oracle Solaris 8 or Oracle Solaris
9 system to an Oracle Solaris 8 or Oracle Solaris 9 Container on a host running the Oracle Solaris 10
8/07 Operating System or later Oracle Solaris 10 release.
* The Oracle Solaris 10 Container brand is available in OpenSolaris build 127. These branded zones
host Oracle Solaris 10 user environments.
Note: One of the powerful features of Solaris 11 is the ability to run a Solaris 10 environment in a
zone. Solaris 10 allows you to run Solaris 8 and 9 environments in zones, but only on SPARC.

To page 2