Skip to main content

1Z0-821 Real Exam Questions

Oracle Solaris 11 System Administration

243 questions available · Page 1 of 25

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Single choice

User jack, whose account is configured to use the korn shell, logs in and examines the value of his PATH environment variable:

What will happen, and why?

  1. A

    He will get a "file not found" error, because the current directory is not in his seaech path.

  2. B

    He will get a "file not found" error, because his home directory is not in his search path.

  3. C

    The useradd script will execute, because jack is in the same directory that the script is located in.

  4. D

    The command /user/sbin/useradd will execute, because it is the last match in the search path.

  5. E

    The command /user/sbin/useradd will execute, because it is the first match in the search path.

Show answer and explanation

Correct answer: D

Question 2 Single choice

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

  1. A

    It is used to change the milestone on a system.

  2. B

    It is used to set the default run level of the system.

  3. C

    It provides the parameters used to set the system to automatically perform a fast or slow reboot.

  4. 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.

Show answer and explanation

Correct answer: C

Explanation

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 3 Single choice

You need to know the IP address configured on interface net3, and that the interface is up.

Which command confirms these?

  1. A

    ipadm show-if

  2. B

    ipadm up-addr

  3. C

    ipadm show-addr

  4. D

    ipadm enable-if

  5. E

    ipadm refresh-addr

  6. F

    ipadm show-addrprop

Show answer and explanation

Correct answer: C

Explanation

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 4 Single choice

In Oracle Solaris 11, where is the Oracle default repository located?

  1. A

    /var/spool/pkg

  2. B

    http://localhost/solaris

  3. C

    http://pkg.oracle.com/solaris/release

  4. D

    http://www.oracle.com/Solaris/download

  5. E

    /cdrom/cdrom0

Show answer and explanation

Correct answer: C

Explanation

REPOSITORY DESCRIPTION
*
http://pkg.oracle.com/solaris/release
The default repository for new Oracle Solaris 11 users. This repository receives updates for each new release of Oracle Solaris. Significant bug fixes, security updates, and new software may be provided at any time for users to install at Oracle's discretion.

*
https://pkg.oracle.com/solaris/support
Provides bug fixes and updates. Accessible with a current support contract from Oracle.

*
https://pkg.oracle.com/solaris/dev
Provides the latest development updates. Accessible to users enrolled in the Oracle Solaris 11 Platinum Customer Program and approved Oracle Partners.

Question 5 Multiple choice

User jack logs in to host solar in and issues the following command:
jack@solaris:-$ ls .ssh

id_dsa id_dsa.pub id_rsa id_rsa.pub known_hosts authorized_keys

Which two are true?

  1. A

    The id_rsa file contains the private key for rhosts-based host authentication.

  2. B

    The id_dsa.pub file contains the Digital Signature Algorithm public key for the user jack.

  3. C

    The id_rsa.pub file contains the Rivest Shamir Adelman public key for the host solaris.

  4. D

    The authorized_keys file contains the private keys of remote users authorized to access jack's account on solaris.

  5. E

    The known_hosts file contains the verified public keys of remote hosts known to be trusted.

Show answer and explanation

Correct answers: A, E

Explanation

A: You will see two files starting with id_rsa. id_rsa is the private key and id_rsa.pub is public key.
E: The .ssh/known_hosts file

In order to use public-key secure connection with other hosts (ssh, scp, sftp) there is a special directory, ~/.ssh/, where passphrases and public keys are stored. Normally you wouldn't need to know the gory details, but from time to time a host will change its public key and then you have difficulty using ssh or scp with that host, and have to edit a file named known_hosts.
If you try to ssh to another computer, but get an error message that warns about a changed or incorrect public key, then it is probably just a case of that host changing its public key. (It is possible, though usually not the case, that malicious hacking is involved.) Unless you actually suspect hacker involvement, you can edit the file ~/.ssh/known_hosts using your usual text editor (vi, emacs, nedit, or pico) and delete any line with the name of that host.

Then when you try to ssh that host again, it will be like the first time ever; ssh will ask you if you want to accept a new public key, you type the whole word yes, and everything will proceed normally from there.

Here is what a typical ~/.ssh/known_hosts file might contain. Note that newton is represented on two different lines:

newton 1024 35
153438062610297067329638677441205712613292203533062535600064224677647442
245028855505387934431717435134842994423656065076260604296084868001730665
553662299156116414854701274715680961503198280525759778667306417179500370
189017139564144825610347509023078143132936185076849630461827976942220442
313116255293297021841
ucsub 1024 37
132170811640421742212085598383135714069016332111955003414250071326834884
018721183646445780180633494496866895830879394309011412231102757022090299
732775466435482517698989962531081214859205054227533597152962802400251809
883548442498002326460312850336779152617243800769119880843882425555806081
435017335194477605333
simpson 1024 41
840896920592494584403453622735282634536002054701576247765078766974814128
393752943151071629834843909016027026612791643752972116459602750267266908
365259665072736159491719667576217171370458928680504368847255632477925660
234893185547218857655484574619075125368470792976275806263534208879722192
77539015703446529603
newton, 128.138.249.8 ssh-rsa
AAAAB3NzaC1yc2EAAAABIwAAAIEA0d7Aoure0toNJ+YMYi61QP2ka8m5x5ZQlT7obP8C
K3eropfqsMPPY6uiyIh9vpiFX2r1LHcbx139+vG6HOtVvuS8+IfMDtawm3WQvRuOopz3vVy 5GtMwtaOgehsXoT930Ryev1bH5myPtWKlipITsOd2sX9k3tvjrmme4KCGGss=

Question 6 Single choice

Which network protocol provides connectionless, packet-oriented communication between applications?

  1. A

    TCP

  2. B

    UDP

  3. C

    IP

  4. D

    ICMP

  5. E

    NFS

  6. F

    IPSec

Show answer and explanation

Correct answer: B

Explanation

The User Datagram Protocol (UDP) is one of the core members of the Internet Protocol Suite, the set of network protocols used for the Internet. With UDP, computer applications can send messages, in this case referred to as datagrams, to other hosts on an Internet Protocol (IP) network without requiring prior communications to set up special transmission channels or data paths.
Compared to TCP, UDP is a simpler message-based connectionless protocol.

Question 7 Multiple choice

Which five statements describe options available for installing the Oracle Solaris 11operating system using the installation media?

  1. A

    You can perform a text or LiveCD installation locally or over the network.

  2. B

    The text Installer does not install the GNOME desktop. The GNOME desktop package must he added after you have installed the operating system.

  3. C

    The LiveCD Installation cannot be used to install multiple instances of Oracle Solaris.

  4. D

    The LiveCD installer cannot be used if you need to preserve a specific Solaris Volume Table of Contents (VTOC) slice in your current operating system.

  5. E

    The LiveCD Installer is for x86 platforms only.

  6. F

    The GUI installer cannot be used to upgrade your operating system from Solaris 10.

  7. G

    If you are installing Oracle Solaris 11 on an x86-based system that will have more than one operating system installed in it, you cannot partition your disk during the installation process.

  8. H

    The LiveCD installer can be used for SPARC or x86 platforms.

Show answer and explanation

Correct answers: A, B, D, F, H

Explanation

A: If the network is setup to perform automated installations, you can perform a text installation over the network by setting up an install service on the network and selecting a text installation when the client system boots.
B: After a fresh install of Solaris 11 express, only the console mode is activated.
To add Gnome, simply do :

$ sudo pkg install slim_install

This will install additional packages that are not installed by default.

D: The text installer advantages over the GUI installer include:
* In addition to modifying partitions, the text installer enables you to create and modify VTOC slices within
the Solaris partition.
F: How do I upgrade my Solaris 10 or lower systems to Solaris 11?

Unfortunately, you CAN'T. There is no direct upgrade installer or other tool that will allow you to upgrade from earlier releases of Solaris to Solaris 11. This is primarily due to the vast changes in the packaging mechanism in Solaris 10.

Question 8 Single choice

A user account must be a member of a primary group, and may also be a member of one or more secondary groups.

What is the maximum total number of groups that one user can concurrently belong to?

  1. A

    15

  2. B

    16

  3. C

    17

  4. D

    63

  5. E

    64

  6. F

    65

  7. G

    The number of groups one user can concurrently belong to is unlimited in Solaris 11.

Show answer and explanation

Correct answer: B

Explanation

Each user belongs to a group that is referred to as the user's primary group. The GID number, located in the user's account entry within the /etc/passwd file, specifies the user's primary group.

Each user can also belong to up to 15 additional groups, known as secondary groups. In the /etc/group file, you can add users to group entries, thus establishing the user's secondary group affiliations.

Note (4 PSARC/2009/542):
his project proposes changing the maximum value for NGROUPS_MAX from 32 to 1024 by changing the definition of NGROUPS_UMAX from 32 to 1024.

The use for a larger number of groups is described in CR 4088757, particular in the case of Samba servers and ADS clients; the Samba servers map every SID to a Unix group. Users with more than 32
groups SIDs are common. We've seen reports varying from "64 is enough", "128 is absolutely enough" and "we've users with more 190 group SIDS).

NGROUPS_MAX as defined by different Unix versions are as follows (
http://www.j3e.de/ngroups.html):

Linux Kernel >= 2.6.3 65536
Linux Kernel < 2.6.3 32
Tru64 / OSF/1 32
IBM AIX 5.2 64
IBM AIX 5.3 ... 6.1 128
OpenBSD, NetBSD, FreeBSD, Darwin (Mac OS X) 16
Sun Solaris 7, 8, 9, 10 16 (can vary from 0-32)

HP-UX 20 IRIX 16 (can vary from 0-32)
Plan 9 from Bell Labs 32
Minix 3 0 (Minix-vmd: 16)
QNX 6.4 8

Question 9 Multiple choice

Examine this command and its output:

$ zfs list -r -t all tank

Name USED AVAIL REFER MOUNTPOINT

tank 3.00G 1.84G 32K /tank

tank/database 3.00G 1.84G 2.00G /tank/database

tank/[email protected] 1.00G - 2.00G ?

Which two conclusions can be drawn based on this output?

  1. A

    The tank dataset consumes 3 GB of storage.

  2. B

    The tank/[email protected] dataset consumes 1 GB of storage that is shared with its parent.

  3. C

    The tank/[email protected] dataset consumes 1 GB of storage that is not shared with its parent.

  4. D

    The tank/[email protected] dataset consumes 2 GB of storage that is shared with its child.

  5. E

    The tank/[email protected] dataset consumes 2 GB of storage that is not shared with its child.

Show answer and explanation

Correct answers: A, B

Question 10 Multiple choice

User jack logs in to host Solaris and executes the following command sequence:

Which three statements are correct?

  1. A

    User jack can edit testfile because he has read and write permissions at the group level.

  2. B

    User jack can use cat to output the contents of testfile because he has read permission as the file owner.

  3. C

    User jill can change the permissions of testfile because she has write permission for the file at the group level.

  4. D

    User jill can edit testfile because she has read and write permission at the group level.

  5. E

    User jack can change permissions for testfile because he is the owner of the file.

  6. F

    User jack can change permissions for testfile because he has execute permission for the file.

Show answer and explanation

Correct answers: D, E, F