Easily Pass 1Z0-821 Exam with Latest 1Z0-821 Study Materials

Attention please! Here is the shortcut to pass your Hotest 1Z0-821 exam questions exam! Get yourself well prepared for the Operating Systems Hotest 1Z0-821 pdf dumps Oracle Solaris 11 System Administration exam is really a hard job. But don’t worry! We We, provides the most update 1Z0-821 real exam questions. With We latest 1Z0-821 new questions, you’ll pass the Operating Systems May 11,2022 Newest 1Z0-821 QAs Oracle Solaris 11 System Administration exam in an easy way

We Geekcert has our own expert team. They selected and published the latest 1Z0-821 preparation materials from Official Exam-Center.

The following are the 1Z0-821 free dumps. Go through and check the validity and accuracy of our 1Z0-821 dumps.We have sample questions for 1Z0-821 free dumps. You can download and check the real questions of updated 1Z0-821 dumps.

Question 1:

The storage pool configuration on your server is:

You back up the /pool1/data file system, creating a snapshot and copying that snapshot to tape (/dev/rmt/0). You perform a full backup on Sunday night and Incremental backups on Monday through Saturday night at 11:00 pm. Each incremental backup will copy only the data that has been modified since the Sunday backup was started.

On Thursday, at 10:00 am, you had a disk failure. You replaced the disk drive (c4t0d0). You created pool (pool1) on that disk.

Which option would you select to restore the data in the /pool1/data file system?

A. zfs create pool1/dataLoad the Monday tape and enter:zfs recv pool1/data < /dev/rmt/0Load the Wednesday tape and enter:zfs recv璅 pool1/data < /dev/rmt/0

B. Load the Sunday tape and restore the Sunday snapshot:zfs recv pooll/data < /dev/rmt/0zfs rollback pool1/data@monLoad the Wednesday tape and restore the Wednesday snapshot:zfs recv 璱 pooll/data < /dev/rmt/0zfs rollback pool1/ data@wed

C. zfs create pooll/dataLoad the Wednesday tape and enter:zfs recv -F pool1/data < /dev/rmt/0

D. Load the Sunday tape and enter:zfs recv pool1/data < /dev/rmt/0Load the Wednesday tape and enter:* commands missing*

Correct Answer: D

First the full backup must be restored. This would be the Sunday backup. Then the last incremental backup must be restored. This would be the Wednesday backup. Before restoring the Wednesday incremental file system snapshot, the most

recent snapshot must first be rolled back.

By exclusion D) would be best answer even though it is incomplete.


Question 2:

A user on the system has started a process, but it needs to be terminated.

The process ID was determined as follows:

pgrep userprogram

l5317

The user attempted to terminate the program as follows:

pkill 15317

This command runs without an error message, and the process continues to run.

What is the issue?

A. You need to run the pkill command with the process name.

B. You need to switch to super user to kill the process.

C. You need to run the ps command to get more information.

D. You need to run the prstat command to get more information.

Correct Answer: B

You can use the pgrep and pkill commands to identify and stop command processes that you no longer want to run. These commands are useful when you mistakenly start a process that takes a long time to run.

To terminate a process:

Type pgrep to find out the PID(s) for the process(es).

Type pkill followed by the PID(s).

You can kill any process that you own. Superuser can kill any process in the system except for those processes with process IDs of 0, 1, 2, 3, and 4. Killing these processes most likely will crash the system.


Question 3:

Select the five tasks that need to be performed on the Automated Installer (AI) install server before setting up the client.

A. Create a local IPS repository on the AI Install server and start the repository server service, the publisher origin to the repository file.

B. Set up a IP address on the AI install server.

C. The DHCP server must be enabled on the install server and must provide the DHCP service for the clients.

D. DHCP must be available on the network for the Install server and the clients, but the install server does not need to be the DHCP server.

E. Download the AI boot image. The image must be the same version as the Oracle Solaris OS that you plan to install on the client.

F. Download the text install image into the IPS repository.

G. Install the AI installation tools.

H. Create the AI install service. Specify the path to the AI network boot image ISO file and the path where the AI net image ISO file should be unpacked.

I. Create the AI install service. Specify the path to the AI network boot image ISO file and the path to the IPS repository.

Correct Answer: BDFGI

B: Configure the AI install server to use a static IP address and default route.

D: The create-service command can set up DHCP on the AI install server. If you want to set up a separate DHCP server or configure an existing DHCP server for use with AI. The DHCP server must be able to provide DNS information to the

systems to be installed.

E: An automated installation of a client over the network consists of the following high-level steps:

1.

The client system boots over the network and gets its network configuration and the location of the install server from the DHCP server.

2.

The install server provides a boot image to the client.

3.

Characteristics of the client determine which installation instructions and which system configuration instructions are used to install the client.

4.

The Oracle Solaris 11 OS is installed on the client, pulling packages from the package repository specified by the installation instructions in the AI install service.

G: Install the AI tool set.

Use the installadm create-service command to create an AI install service. Give the service a meaningful name, and specify the path where you want the service created. Specify the source of the network boot image (net image) package or

ISO file.

installadm create-service [-n svcname]

[-s FMRI_or_ISO] [-d imagepath]

-d imagepath

The imagepath is the location of the new install service. The install-image/solaris-auto- install package is installed to this location, or the specified ISO file is expanded at this location.


Question 4:

You are installing the Solaris 11 OE by using the Interactive Text Installer. You have selected the option to automatically configure the primary network controller. Which three items will automatically be configured as a result of this selection?

A. The IP address.

B. The name service.

C. The time zone.

D. A default user account.

E. The terminal type.

F. The root password.

G. The host name.

Correct Answer: ABC

IP address and name service (such as a DNS server) are provided by the DHCP server.


Question 5:

Which two statements are true concerning the network stack on Oracle Solaris 11?

A. Hardware network interfaces and datalinks have a one-to-one relationship.

B. IP addresses are assigned to datalinks.

C. A single IP interface can have either an IPv4 address or an IPv6 address but not both.

D. A single IP interface can have both an IPv4 address and an IPv6 address.

E. A single datalink can have only one IP interface.

Correct Answer: AD


Question 6:

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

Correct Answer: C

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 7:

Which two statements are true concerning the creation of user accounts by using the useradd command?

A. By default, it will create the user\’s home directory.

B. New user accounts are unlocked but must change their password at their first login.

C. New user accounts are in a pending activation state until a password is assigned to them.

D. By default, a new group will be added for each new user account.

E. By default, the UID of a new user account will be the next available number above the highest number currently assigned.

F. By default, the UID of a new user account with be the lowest available unused number for nonsystem accounts.

Correct Answer: CE


Question 8:

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

Which three statements are correct?

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

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

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

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

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

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

Correct Answer: DEF


Question 9:

The advantage of core tiles is that they allow you an opportunity to examine the cause of problems, so that they can be resolved. However, core files must be managed because they_____.

A. take up large amounts of disk space

B. make numerous entries into the /var/adm/wtmpx file

C. steal resources from the processor, slowing down system performance

D. fill up swap space; this will begin to slow the system due to swaps

E. fill up swap space; this will begin to slow the system due to paging

Correct Answer: A

Part of the job of cleaning up heavily loaded file systems involves locating and removing files that have not been used recently. You can locate unused files by using the ls or find commands.

Other ways to conserve disk space include emptying temporary directories such as the directories located in /var/tmp or /var/spool, and deleting core and crash dump files.

Note: Core files are generated when a process or application terminates abnormally. Core files are managed with the coreadm command.

For example, you can use the coreadm command to configure a system so that all process core files are placed in a single system directory. This means it is easier to track problems by examining the core files in a specific directory whenever

a process or daemon terminates abnormally.


Question 10:

When speaking to an Oracle Support Engineer, you are asked to verify the version of the Solaris 11 build currently running on your system. Which command would display the Solaris 11 build version currently running on your system?

A. pkg info all

B. cat /etc/release

C. cat /etc/update

D. prtconf | grep 璱 update

E. pkg info entire

Correct Answer: B

Which Solaris release you are running on your system can be determined using the following command:

cat /etc/release

This will tell you which release you are running and when it was released. The more recent your system, the more info is contained in this file.

Example: # cat /etc/release Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved. Assembled 23 August 2011


Question 11:

View the Exhibit.

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

Correct Answer: D

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 12:

You are the administrator for a group of shell script developers. They use vi, and have asked you to make their scripts automatically executable when they save their files. How can this be accomplished?

A. Enter set -o vi on the command line, or include it in each user\’s startup script.

B. Enter umask -s on the command line, or include it in each user\’s startup script.

C. Enter umask 000 on the command line, or include it in each user\’s startup script.

D. Enter umask 777 on the command line, or include it in each user\’s startup script.

E. It is not possible to automatically set the execute bit on with the umask setting, or vi option.

F. Enter umask 766 the command line, or include it in the global startup script for the default shell.

Correct Answer: E

Unlike DOS, which uses the file extension to determine if a file is executable or not, UNIX relies on file permissions.

The value assigned by umask is subtracted from the default. User\’s file creation mask. umask sets an environment variable which automatically sets file permissions on newly created files. i.e. it will set the shell process\’s file creation mask to

mode.

umask 000 would grant full permissions.

Note: 777 full permissions


Question 13:

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.

The pkg publisher command still displays:

PUBLISHERTYPESTATUSURI

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

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.

Correct Answer: C

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 14:

Review the storage pool information:

Choose the correct procedure to repair this storage pool.

A. Shut the system down, replace disk c3t3d0, and boot the system. When the system is booted, execute the zpool clear pool1 command.

B. Shut the system down, replace disk c3t3d0, and boot the system. When the system is booted execute the zpool online pool1 command.

C. Shut the system down, replace disk c3t3d0, and boot the system. When the system is booted, execute the zpool replace pool1 c3t3d0 command.

D. Shut the system down, replace disk c3t3d0, and boot the system. When the system is booted, execute the zpool replace pool1 c3t3d0 c3t3d0 command.

Correct Answer: C

You might need to replace a disk in the root pool for the following reasons:

The root pool is too small and you want to replace it with a larger disk

The root pool disk is failing. In a non-redundant pool, if the disk is failing so that the system won\’t boot, you\’ll need to boot from an alternate media, such as a CD or the network, before you replace the root pool disk. In a mirrored root pool configuration, you might be able to attempt a disk replacement without having to boot from alternate media. You can replace a failed disk by using the zpool replace command.

Some hardware requires that you offline and unconfigure a disk before attempting the zpool replace operation to replace a failed disk.

For example: # zpool offline rpool c1t0d0s0 # cfgadm -c unconfigure c1::dsk/c1t0d0 # cfgadm -c configure c1::dsk/c1t0d0 # zpool replace rpool c1t0d0s0 # zpool online rpool c1t0d0s0 # zpool status rpool SPARC# installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/c1t0d0s0 x86# installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c1t9d0s0


Question 15:

On localSYS, your SPARC based server, you back up the root file system with recursive snapshots of the root pool. The snapshots are stored on a remote NTS file system.

This information describes the remote system where the snapshots are stored:

Remote system name: backupSYS

File system whore the snapshots are stored: /backups/localSYS

Mounted file system on localSYS: /rpool/snaps

Most recent backup name: rpool-1202

Disk c0t0d0 has failed in your root pool and has been replaced. The disk has already been part< and labeled and now you need to restore the root file system. Which procedure would you follow to restore the ZFS root file system on localSYS?

A. boot cdrom -smount -f nfs backup_server:/rpool/snaps /rmtzpool create rpool c0t0d0s0cat /mnt/rpool.1202 | zfs receive -Fdu rpoolzpool set bootfs=rpool/ROOT/solaris rpoolRecreate swap and dump devices.Reinstall the bootblock on c0t0d0.

B. boot cdrom -smount -f nfs backup_server:/rpool/snaps /mntzpool create rpool c0t0d0s0zfs create -o mountpoint=/ rpool/ROOTcat /mnt/rpool.1011 | zfs receive -Fdu rpoolzpool set bootfs=rpool/ROOT/solaris rpoolRecreate swap and dump devices.Reinstall the bootblock on c0t0d0.

C. boot cdrom -smount -F nfs backup_server:/rpool/snaps /mntcat /mnt/rpool.1011 | zfs receive -Fdu rpoolzpool set bootfs=rpool/ROOT/solaris rpool c0t0d0s0Reinstall the bootblock on c0t0d0s0

D. boot cdrom -smount -f nfs backup_server:/rpool/snaps /rmtzpool create rpool c0t0d0s0zfs receive -Fdu /mnt/rpool.1011zpool set bootfs=rpool/ROOT/solaris rpoolReinstall the bootblock on c0t0d0.

Correct Answer: A

How to Recreate a ZFS Root Pool and Restore Root Pool Snapshots In this scenario, assume the following conditions:

*

ZFS root pool cannot be recovered

*

ZFS root pool snapshots are stored on a remote system and are shared over NFS

*

The system is booted from an equivalent Solaris release to the root pool version so that the Solaris release and the pool version match. Otherwise, you will need to add the -o version=version-number property option and value when you recreate the root pool in step 4 below.

All steps below are performed on the local system.

1.

Boot from CD/DVD or the network.

On a SPARC based system, select one of the following boot methods:

ok boot net -s ok boot cdrom -s If you don\’t use -s option, you\’ll need to exit the installation program.

2.

Mount the remote snapshot dataset.

For example:

# mount -F nfs remote-system:/rpool/snaps /mnt

3.

Recreate the root pool.

For example:

# zpool create -f -o failmode=continue -R /a -m legacy -o cachefile=/etc/zfs/zpool.cache rpool c1t0d0s0

4.

Restore the root pool snapshots.

This step might take some time. For example:

# cat /mnt/rpool.0311 | zfs receive -Fdu rpool

Using the -u option means that the restored archive is not mounted when the zfs receive operation completes.

5.

Set the bootfs property on the root pool BE.

For example:

# zpool set bootfs=rpool/ROOT/osolBE rpool

6.

Install the boot blocks on the new disk.

On a SPARC based system:

# installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/c1t0d0s0


Leave a Reply

Your email address will not be published.