1Z0-821 | Latest Oracle 1Z0-821 exam question


Q91. - (Topic 2) 

A local repository is available on this system and you need to enable clients to access this repository via HTTP. The repository information is: 

PUBLISHERTYPESTATUSURI 

solarisoriginonlinehttp://sysA.example.com 

Identify two of the steps that are required to make the local repository on this server available to the client via HTTP. 

A. On the server: set the pkg/inst_root and pkg/readonly properties for the svc:/application/pkg/server:default service and enabled the service 

B. On the server: set the sharefs property on the ZFS file system containing the IPS repository. 

C. On the client: reset the origin for the solaris publisher. 

D. On the client: set the pkg/inst_root and pkg/readonly properties for the svc:/application/server:default service enable the service. 

E. On the client: start the pkg.depotd process. 

Answer: A,E 

Explanation: 

A: Configure the Repository Server Service To enable clients to access the local repository via HTTP,enable the application/pkg/server Service Management Facility (SMF) service. # svccfg -s application/pkg/server setprop pkg/inst_root=/export/repoSolaris11 # svccfg -s application/pkg/server setprop pkg/readonly=true 

E: Use pkg.depotd to serve the repository to clients. Start the Repository Service Restart the pkg.depotd repository service. # svcadm refresh application/pkg/server # svcadm enable application/pkg/server To check whether the repository server is working,open a browser window on the localhost location. 

Q92. - (Topic 2) 

When issuing the zonestat 2 1h is command,the following information is displayed: 

Which two options accurately describe the statistics contained in the output? 

A. dbzone is using 0.21% of the total CPU resource available in the zone's processor set. 

B. dbzone is using 0.21% of the global zone's total CPU. 

C. dbzone is using 5.48% of the total physical memory that has been allocated to the zone. 

D. dbzone is using 2.37% of the global zone's total virtual memory. 

E. The network is being utilized 100% with no physical bandwidth remaining. 

Answer: A,C 

Explanation: 

A: %PART The amount of cpu used as a percentage of the total cpu in a processor-set to which the zone is bound. A zone can only have processes bound to multiple processor sets if it is the global zone,or if psrset(1m) psets are used. If multiple binding are found for a zone,it's %PART is the fraction used of all bound psets. For [total] and [system],%PART is the percent used of all cpus on the system. 

Note: The zonestat utility reports on the cpu,memory,and resource control utilization of the currently running zones. Each zone's utilization is reported both as a percentage of system resources and the zone's configured limits. 

The zonestat utility prints a series of interval reports at the specified interval. It optionally also prints one or more summary reports at a specified interval. 

Q93. - (Topic 1) 

The following image properties are displayed on your system: 

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. 

Answer: D,F 

Explanation: 

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. 

Q94. - (Topic 1) 

Your server has a ZFS storage pool that is configured as follows: 

The following partition scheme is used for every disk drive in pool1: 

Which two are true regarding the ZFS storage pool? 

A. The data on c3t3d0 is duplicated on c3t4do. 

B. The data is striped across disks c3t3d0 and c3t4do and mirrored across vdevs mirror-0 and mirror-1. 

C. The storage pool is 146 GB total size (rounded to the nearest GB). 

D. The storage pool is 584 G8 total size (rounded to the nearest GB). 

E. The storage pool is 292 GB total size (rounded to the nearest GB). 

Answer: A,E 

Q95. - (Topic 1) 

You start to execute a program by using the following command: 

~/bigscript & 

You then determine that the process is not behaving as expected,and decide that you need 

to terminate the process. 

Based on the information shown below,what is the process number you should terminate? 

A. 15163 

B. 15156 

C. 15166 

D. 15165 

Answer:

Explanation: 

From the output exhibit we can deduce that the shell has id 15156. 

It has spawned three subprocesses: 

grep: id 15166 

ps –aef 15165 

The remaining 15163 must be the subshell (see note below). 

This is the id of the process which should be terminated. 

Q96. - (Topic 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. 

Answer:

Explanation: 

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. 

Q97. - (Topic 1) 

Which three options accurately describe Oracle Solaris 11 zones? 

A. can be NFS servers 

B. are whole root type only 

C. cannot have their own time zone setting 

D. can execute z£s and zpool commands (from a non-global zone) 

E. are virtualized operating system environments,each with its own dedicated OS and kernel 

F. are virtualized operating system environments,created with a single instance of the OS shared kernel 

Answer: A,D,F 

Explanation: 

A: Zones can use Oracle Solaris 11 products and features such as the following: Oracle Solaris ZFS encryption Network virtualization and QoS CIFS and NFS 

C: Non-global zones cannot modify the system clock by default,but each zone can have a separate time zone setting. 

F (not E): The Oracle Solaris Zones partitioning technology is used to virtualize operating system services and provide an isolated and secure environment for running applications. A zone is a virtualized operating system environment created within a single instance of the Oracle Solaris operating system. 

Q98. - (Topic 2) 

User1 is attempting to run the following command: 

cp bigfile verybig 

The system displays the following errer: 

cp: cannot create verybig: Disc quota exceeded 

Your initial troubleshooting shows that the df -h command indicates the account is at 100% capacity. What command would you use to determine how much disk space the user has available? 

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

B. zfs userused@user1 

C. zfs quota=1M /rpool/export/home/user1 

D. df –h | grep user1 

Answer:

Explanation: 

ZFS quotas can be set and displayed by using the zfs set and zfs get commands. In the following example,a quota of 10 Gbytes is set on tank/home/bonwick. 

# zfs set quota=10G tank/home/bonwick # zfs get quota tank/home/bonwick NAME PROPERTY VALUE SOURCE tank/home/bonwick quota 10.0G local 

Q99. - (Topic 1) 

A user brian is configured to use the bash shell. His home directory is /export/home/brian,and contains a .profile and a .bashrc file. 

In the -profile,there are these lines: 

genius =ritchie 

export genius 

In the .bashrc us this line: 

genius=kernighan 

In /etc/profile are these lines: 

genius=thompson 

export genius 

When brian logs in and asks for the value of genius,what will he find,and why? 

A. genius will be ritchie,because that was the value exported in .profile. 

B. genius will be kernighan,because .bashrc executes after .profile. 

C. genius will be ritchie because variable settings in .profile take precedence over variable settings in .bashrc. 

D. genius will be ritchie because .profile executes after .bashrc. 

E. genius will be thompson because /etc/profile system settings always override local settings. 

Answer:

Q100. - (Topic 1) 

The following information is displayed for the svc:/network/ssh service: 

Which describes the minimum set of commands to be executed to bring the svc: /network/ssh: default service back online? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

E. Option E 

F. Option F 

G. Option G 

Answer: