1Z0-821 | What Vivid 1Z0-821 practice test Is?


Q41. - (Topic 1) 

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 

Answer:

Explanation: 

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. 

Q42. - (Topic 1) 

You have installed an update to the gzip package and need to "undo" .ho update and return the package to its "as-delivered" condition. Which command would you use? 

A. pkg undo 

B. pkg revert 

C. pkg fix 

D. pkg uninstall 

Answer:

Explanation: 

Use the pkg revert command to restore files to their as-delivered condition. 

Q43. - (Topic 1) 

Choose three options that describe the features associated with a Live Media installation. 

A. does not allow the root user to log in to the system directly from the console (or any terminal) 

B. provides a "hands free" installation 

C. installs the desktop based packages 

D. can be used to install only x86 platforms 

E. installs the server-based set of packages only 

F. allows both automatic and manual configuration of the network 

G. installs both the server-based and desktop-based package 

Answer: B,C,D 

Explanation: 

The graphical installer is officially known as the "Live Media." This means that Oracle Solaris can be booted into RAM,causing zero impact on your existing operating system. After it is loaded,you are free to experiment with Oracle Solaris to determine whether it is something you would like to install to your system. 

You can download Oracle Solaris 11 Live Media for x86,which is an approximately 800 MB image file,and use a DVD burner to create the disk,or you can use the ISO image directly in a virtual machine or through the Oracle Integrated Lights Out Manager (ILOM) Remote Console. 

The Live Media is not intended for long-term use. For example,any changes that you make to the system are lost when the system is shut down. Therefore,the next logical step is to install Oracle Solaris on the system,which the Live Media makes easy by placing an Install Oracle Solaris icon righton the desktop. But before we head down that road,let's step back a bit and consider the installation options. 

Note: The Live Media provides administrators with an opportunity to explore the Oracle Solaris 11 environment without installing it on a system. The system boots off the media directly allowing administrators to start the installer should they choose to install it to a system. 

Q44. - (Topic 2) 

user1,while in his home directory,is attempting to run the following command in his home directory: cp bigfile verybig 

The system displays the following error: 

cp: cannot create verybig: Disc quota exceeded 

Your initial troubleshooting shows that the df -h command indicates he is at 100% capacity. What command would you use to increase the disk space available to the user? 

A. zfs get quota rpool/export/home/user1 

B. zfs userused@user1 

C. zfs quota=none /rpool/export/home/user1 

D. df -h | grep user1 

E. zfs set quota=none /rpool/export/home/user1 

Answer:

Explanation: 

ZFS quotas can be set and displayed by using the zfs set and zfs get commands. We can remove the quota restriction by setting to quota to none. 

Q45. - (Topic 2) 

ServerA contains two ISO images of a package repository named so1.repo.iso-a and so1.repo.iso-b respectively. You need to create a single local package repository on server that clients can connect to. The package repository will be stored on the /export/IPS file system and named repo. The preferred publisher will be named solaris and the publisher URL will be http://serverA.example.com. 

Which is the correct procedure to perform on ServerA to create the local Package repository? 

A. cat so1.repo.iso-a sol.repo.iso-b > so1.full.isoMount the ISO image and use the rsync command to extract the contents of the ISO file to the /export/IPS file system.Set the pkg/inst_root property to /export/IPS/repo and the pkg/readonly property to true.Set the preferred publisher by using pkg set-publisher -Ghttp://pkg.oracle.com/solaris/release/ -g http”//serverA.example.com/ solaris 

B. cat so1.repo.iso-a so1.repo.iso-b > /export/IPS/repoSet the pkg/inst_root property to true and the pkg/readonly property to /export/IPSSet the preferred publisher by using pkg set-publisher -G http://serverA.example.com/ -g http://pkg/oracle.com/solaris/rekease/solaris 

C. cat so1.repo.iso-a so1.repo.iso-b > so1.full.isoMount the ISO image and use the rsync command to extract the contents of the ISO file to /export/IPS/repoSet the pkg/inst_root property to /export/IPS/repo and the pkg/readonly property to trueSet the preferred publisher by using pkg set-publisher solaris -g http://pkg.oracle.com/ 

D. cat so1.repo,iso-a so1.repo.iso-b > /export/IPS/repo.isoMount the ISO image and copy the repo directory from the ISO image to /export/IPS/reposet the pkg/inst_root property and the pkg/readonly property to /export/IPS/reposet the preferred pkg/inst_root property by using pkg set-publisher - G http://serverA.example.com/ - g http://pkg.oracle.com/solaris.com/release/- p solaris 

Answer:

Explanation: 

Concatenate the files into one file using the cat command. 

Make the contents of the repository .iso file available using the mount command. 

To increase the performance of repository accesses and to avoid the need to remount 

the..iso.image each time the system restarts,copy the repository files from./mnt/repo/to a 

ZFS file system. You can do this copy with.rsync.or with.tar. 

Q46. - (Topic 2) 

Before booting testzone,a non-global zone,you want to connect to the zone's console so that you can watch the boot process. 

Choose the command used xo connect to testzone's console. 

A. zoneadm – C testzone 

B. zoneadm – console testzone 

C. zlogin – z testzone console 

D. zlogin – z testzone – C 

E. zlogin – C testzone 

F. zoneadm – z testzone – C 

Answer:

Q47. - (Topic 2) 

The core dump configuration for your system is: 

A user is running a process in the global zone and the process crashes. The process information is: 

User1 2663 2618 0 17:46:42 pts/2 0:00 /usr/bin/bash 

The server host name is: zeus 

What will the per-process core file be named? 

A. core.bash.2663.global 

B. core.bash.2663.zeus 

C. /var/core/core.bash.2663 

D. /var/core/core.bash.2663.global 

Answer:

Explanation: 

Note the first line: 

global core file pattern: /globalcore/core.%f.%p 

The program name is bash 

The runtime process ID is 2663 

Note: By default,the global core dump is disabled. You need to use the.coreadm.command 

with the.-e global.option to enable it. The.-g.option causes the command to append the 

program name(%f).and the runtime process ID.(%p).to the core file name. 

Q48. - (Topic 1) 

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 

Answer:

Explanation: 

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. 

Q49. - (Topic 1) 

View the exhibit. 

The configuration information in the exhibit is displayed on your system immediately after installing the OS. 

Choose the option that describes the selection made during the Installation of the OS to obtain this configuration. 

A. The automatic network configuration option was chosen during the installation of the OS. 

B. The manual network configuration option was chosen during the installation of the OS. 

C. The network was not configured during the installation of the OS. 

D. The DHCP network configuration option was chosen during the Installation of the OS. 

Answer:

Explanation: 

There are two ways to configure the network configuration: automatic or manual. 

In the exhibit we see that DHCP has been used used. This indicates an automatic network 

configuration. 

Q50. - (Topic 1) 

A user jack,using a korn shell,requests a directory listing as follows: 

jack@solaris:/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. 

Answer: A,C 

Explanation: 

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.