Free 2021 Oracle Solaris 1Z0-821 dumps are available on Google Drive shared by VCEPrep
Welcome to download the newest VCEPrep 1Z0-821 PDF dumps: https://www.vceprep.com/1Z0-821-latest-vce-prep.html ( 245 Q&As)
Oracle 1Z0-821 Exam Syllabus Topics:
| Topic | Details |
|---|---|
| Topic 1 |
|
| Topic 2 |
|
| Topic 3 |
|
| Topic 4 |
|
| Topic 5 |
|
| Topic 6 |
|
| Topic 7 |
|
| Topic 8 |
|
| Topic 9 |
|
| Topic 10 |
|
| Topic 11 |
|
NEW QUESTION 117
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. From the command line, enter:#prct1 - n zone.cpu-shares - v 80 - r - i zone global
- B. While configuring the zone, add this entry:add rct1set name = capped.cpu-sharesadd value (priv = privileged, limit = 20, action = none)endexit
- C. 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
- D. From the command line enter: #prct1 -n zone.cpu-shares - r - v 20 - i zone testzone
Answer: D
Explanation:
Explanation/Reference:
Explanation:
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
NEW QUESTION 118
User jack logs in to host Solaris and executes the following command sequence:
Which three statements are correct?
- A. User jack can change permissions for testfilebecause he is the owner of the file.
- B. User jill canedit testfilebecause she has read and write permission at the group level.
- C. User jackcan change permissions fortestfilebecause he has execute permission for the file.
- D. User jillcan change the permissions of testfilebecause she has write permission for thefile atthe group level.
- E. Userjack can use cat to output the contents of testfile because he has read permissionasthe file owner.
- F. Userjack can edit testfile because he has read and write permissions at the group level.
Answer: A,B,C
NEW QUESTION 119
Your task is to convert a JumpStart sysidcfg file to an Automated Installer (AI) sc_profile.xml file, using js2ai.
Select two unsupported items that will require changes.
- A. system_locale=en_US
- B. root_password=rJmvLUXM10cU
- C. terminal = zterms
- D. name_service-NTS+
- E. network_interface=PRIMARY
- F. timezone=US/pacific
Answer: A,C
Explanation:
A: terminal
The js2ai tool does not perform any translation. Make sure the terminal type speciied in the sysidcfg ile is supported in Oracle Solaris 11.
D: system_locale
The js2ai tool does not perform any translation. Make sure the locale specified in the sysidcfg ile is supported in Oracle Solaris 11.
NEW QUESTION 120
Select the two statements that correctly describe the operation of NWAM.
- A. NWAM stores profile information in /etc/ipadm/ipadm.conf and /etc/dladm/datalink.conf.
- B. Interface NCU Properties "float" and are automatically attached to the highest priority Link NCU Property.
- C. If the DefaultFixed NCP is enabled, persistent configuration, stored in /etc/ipadm.conf and /etc/dladm/ datalink.conf is used.
- D. Wireless security keys can be configured by using the nwammgr command.
- E. Multiple locations may be automatically activated in systems with multiple network interface cards.
- F. If a location is explicitly enabled, it remains active until explicitly changed.
Answer: E,F
Explanation:
Explanation/Reference:
Explanation:
A: Conditional and system locations can be manually activated, which means that the location remains active until explicitly disabled.
D: A location comprises certain elements of a network configuration, for example a name service and firewall settings, that are applied together, when required. You can create multiple locations for various uses. For example, one location can be used when you are connected at the office by using the company intranet. Another location can be used at home when you are connected to the public Internet by using a wireless access point. Locations can be activated manually or automatically, according to environmental conditions, such as the IP address that is obtained by a network connection.
NEW QUESTION 121
Your server has one zone named dbzone (hat has been configured, but not yet installed). Which command would you use to view all the options that were used to configure this zone?
- A. zoneadm list -icv dbzone
- B. zonecfg -z dbzone info
- C. zones tat -c summary dbzone
- D. zonecfg -icv dbzone info
Answer: B
Explanation:
Explanation/Reference:
Explanation:
zonecfg info
Display information about the current configuration. If resource-type is specified, displays only information about resources of the relevant type. If any property-name value pairs are specified, displays only information about resources meeting the given criteria. In the resource scope, any arguments are ignored, and info displays information about the resource which is currently being added or modified.
Note:
zonecfg -z
zonename. Specify the name of a zone. Zone names are case sensitive. Zone names must begin with an alphanumeric character and can contain alphanumeric characters, the underscore (_) the hyphen (-), and the dot (.). The name global and all names beginning with SUNW are reserved and cannot be used.
Incorrect answer:
A: The zoneadm utility is used to administer system zones. A zone is an application container that is maintained by the operating system runtime.
list option:
Display the name of the current zones, or the specified zone if indicated.
B: No such command.
D: no such options zonecfg -icv
NEW QUESTION 122
You are troubleshooting the Oracle Solaris11 Automated Installer (AI),which is not connecting with the IPS software repository.
Which three steps will help determine the cause of DNS name resolution failure?
- A. Run df -k to verify that the boot directory containing the boot archive is loopback mounted under /etc/netboot.
- B. Verify the contents of /etc/resolve.conf.
- C. Ping the IP address of the IPS server to verify connectivity.
- D. Run netstat -nr to verify the routing to the DNS server.
- E. On the installation server,verify that the menu.1st file for the client points to a valid boot arc hive.
- F. Run the command /sbin/dhcpinfo DNSserv to ensure that the DHCP server providing the DNS server information.
Answer: B,D,F
Explanation:
Check DNS
*(A) Check whether DNS is configured on your client by verifying that a non-empty /etc/resolv.conf file exists.
*(F) If /etc/resolv.conf does not exist or is empty,check that your DHCP server is providing DNS server information to the client: # /sbin/dhcpinfo DNSserv If this command returns nothing,the DHCP server is not set up to provide DNS server information to the client. Contact your DHCP administrator to correct this problem.
*(B) If an /etc/resolv.conf file exists and is properly configured,check for the following possible problems and contact your system administrator for resolution:
** The DNS server might not be resolving your IPS repository server name. ** No default route to reach the DNS server exists.
NEW QUESTION 123
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: D
Explanation:
Explanation/Reference:
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.
NEW QUESTION 124
You want to install the openldap software package to a now boot environment for testing before introducing the now software package to the production environment. What option describes the correct procedure to:
1) create a new BE named nowBE
2) install the software to that new BE only
- A. beadm create newBEbeadm mount newBE /mntpkg -R /mnt update openldap
- B. pkg install --be-nama newBE openldap
- C. pkg install --newBE openldap
- D. beadm create newBEbeadm activate newBEpkg install openldap
Answer: D
Explanation:
If you want to create a backup of an existing boot environment, for example, prior to modifying the original boot environment, you can use the beadm command to create and mount a new boot environment that is a clone of your active boot environment. This clone is listed as an alternate boot environment in the GRUB menu for x86 systems or in the boot menu for SPARC systems.
When you clone a boot environment by using the beadm create command, all supported zones in that boot environment are copied into the new boot environment.
How to Create a Boot Environment
1 . Become the root role.
2 . Create the boot environment.
# beadm create BeName
BeName is a variable for the name of the new boot environment. This new boot environment is inactive.
3 . (Optional) Use the beadm mount command to mount the new boot environment.
# beadm mount BeName mount-point
Note: If the directory for the mount point does not exist, the beadm utility creates the directory, then mounts the boot environment on that directory.
If the boot environment is already mounted, the beadm mount command fails and does not remount the boot environment at the newly specified location.
4 . (Optional) Activate the boot environment.
# beadm activate BeName
BeName is a variable for the name of the boot environment to be activated.
On reboot, the newly active boot environment is displayed as the default selection in the x86 GRUB menu or the SPARC boot menu.
NEW QUESTION 125
Review the boot environment information displayed on your system:
Which two options accurately describe the newBE boot environment?
- A. You can create a snapshot of it.
- B. It cannot be activated.
- C. It cannot be renamed.
- D. It is activated but unbootable.
- E. It cannot be destroyed.
- F. It has been deleted and will be removed at the next reboot.
Answer: B,C
Explanation:
If the boot environment is unbootable, it is marked with an exclamation point (!) in the Active column in the beadm list output.
The beadm command restricts actions on unbootable boot environments as follows:
You cannot activate an unbootable boot environment. (B)
You cannot destroy a boot environment that is both unbootable and marked as active on reboot.
You cannot create a snapshot of an unbootable boot environment.
You cannot use an unbootable boot environment or boot environment snapshot with the -e option of beadm create.
You cannot rename an unbootable boot environment. (C)
Reference: Creating and Administering Oracle Solaris 11 Boot Environments, Unbootable Boot Environments
NEW QUESTION 126
The default publisher on your system is:
You want to update the Oracle Solaris 11 environment on your system, but you are not able to connect this system to the Internet to access the default Oracle repository. A repository has been created on your local network and is named http://server1.example.com.
Which command would you choose to connect your system to the local repository?
- A. pkg set-publisher to set the stickiness on the http://server1.example.com publisher and unset stickiness for http://pkg.oracle.com/solaris/release
- B. pkg add-publisher to add the new publisher
- C. pkg publisher to specify the new publisher
- D. pkg set-publisher to set the origin for the publisher
Answer: D
Explanation:
Explanation/Reference:
Explanation:
Solaris 11 Express makes it pretty easy to set up a local copy of the repository.
A common reason folks need access to a local repository is because their system is not connected to the Internet.
Tthe pkg set-publisher command can be used to for example add a publisher or to enable or disable a publisher.
Note: Example Adding a Publisher
Use the -g option to specify the publisher origin URI.
# pkg set-publisher -g http://pkg.example.com/release example.com
Example Specifying the Preferred Publisher
Use the -P option to specify a publisher as the preferred publisher. The specified publisher moves to the top of the search order. You can specify the -P option when you add a publisher or you can modify an existing publisher.
# pkg set-publisher -P example.com
Example Enabling or Disabling a Publisher
Use the -d option to disable a publisher. The preferred publisher cannot be disabled. A disabled publisher is not used in package operations such as list and install. You can modify the properties of a disabled publishers.
Use the -e option to enable a publisher.
# pkg set-publisher -d example2.com
NEW QUESTION 127
The default publisher on your system is:
You want to update the Oracle Solaris 11 environment on your system, but you are not able to connect this system to the Internet to access the default Oracle repository. A repository has been created on your local network and is named http://server1.example.com.
Which command would you choose to connect your system to the local repository?
- A. pkg set-publisher to set the stickiness on the http://server1.example.com publisher and unset stickiness for http://pkg.oracle.com/solaris/release
- B. pkg add-publisher to add the new publisher
- C. pkg publisher to specify the new publisher
- D. pkgset-publisher to set the origin for the publisher
Answer: D
Explanation:
Solaris 11 Express makes it pretty easy to set up a local copy of the repository.
A common reason folks need access to a local repository is because their system is not connected
to the Internet.
Tthe pkg set-publisher command can be used to for example add a publisher or to enable or
disable a publisher.
Note: Example Adding a Publisher
Use the -g option to specify the publisher origin URI.
# pkg set-publisher -g http://pkg.example.com/release example.com
Example Specifying the Preferred Publisher
Use the -P option to specify a publisher as the preferred publisher. The specified publisher moves
to the top of the search order. You can specify the -P option when you add a publisher or you can
modify an existing publisher.
# pkg set-publisher -P example.com
Example Enabling or Disabling a Publisher
Use the -d option to disable a publisher. The preferred publisher cannot be disabled. A disabled
publisher is not used in package operations such as list and install. You can modify the properties
of a disabled publishers.
Use the -e option to enable a publisher.
# pkg set-publisher -d example2.com
Reference: Managing Package Publishers
NEW QUESTION 128
You need to install the solaris-desktop group package. Which command would you use to list the set of packages included in that software group?
- A. pkg search
- B. pkginfo
- C. pkg info
- D. pkg contents
Answer: A
Explanation:
Explanation/Reference:
Explanation:
Use the pkg search command to search for packages whose data matches the specified pattern.
Like the pkg contents command, the pkg search command examines the contents of packages. While the pkg contents command returns the contents, the pkg search command returns the names of packages that match the query.
NEW QUESTION 129
You have been asked to terminate a process that appears to be hung and will not terminate. The process table is shown below:
root 15163 15156 0 12:51:15 pts/3 0:00 hungscript
What command will terminate the process?
- A. kill -9 15163
- B. kill -1 15163
- C. kill -15 15163
- D. kill -2 15163
Answer: A
Explanation:
Here we should use SIGTERM to terminate the process.
Note:
When no signal is included in the kill command-line syntax, the default signal that is used is -15
(SIGKILL). Using the -9 signal (SIGTERM) with the kill command ensures that the process
terminates promptly. However, the -9 signal should not be used to kill certain processes, such as
a database process, or an LDAP server process. The result is that data might be lost.
Tip - When using the kill command to stop a process, first try using the command by itself, without
including a signal option. Wait a few minutes to see if the process terminates before using the kill
command with the -9 signal.
Reference: Terminate the process
NEW QUESTION 130
You are creating a non-global zone on your system.
Which option assigns a zpool to a non-global zone,and gives the zone administrator permission to create zfs file system in that zpool?
- A. In the global zone,create the zpool:global#zpool create pool2 c4t1d0While creating the global zone,make the following entry: add datasetset name=pool2endBoot the zone,log in to the zone as root and create the zfs file systems in the pool2 zpool.
- B. Create the zpool in the global zone: global#zpool create pool2 c4t1d0Boot the non-global zone,log in to the zone as root,and issue this command to delegate ZFS permissions to root: non-global zone# zfs allow root create,destroy,mount pool2Log in to the non-global zone create ZFS file systems in the pool2 zpool.
- C. While creating the non-global zone,make the following entry: add deviceset match=/dev/rdsk/c4t0d0endBoot the zone and log in the zone as root. Create the zpool: zpool create pool2 c4t0d0In the non-global zone,root can now create ZFS file system in the pool2 zpool
- D. In the global zone,create the zpool: global# zpool create pool2 c4t1d0While creating the no-global zone,make the following entry: add datasetset name=pool2endadd fsset dir=pool1set special=pool1settype=zfspool1endBoot the zone,log in the zone as root,and create the zfs file system in the pool2 zpool.
- E. In the global zone,create the zpool and the ZFS file systems that you want to use in the non-global zone: global#zpool create pool2 c4t1d0global#zfs create pool2/dataWhile creating the non-global zone,make the following entry for each ZFS file system that you want to make available in the zone: add fsset dir=/dataset special=pool2/dataset type=zfsend
Answer: E
Explanation:
You can add a ZFS file system to a non-global zone by using the zonecfg command's add fs subcommand.
In the following example,a ZFS file system is added to a non-global zone by a global zone administrator from the global zone:
# zonecfg -z zion zonecfg:zion> add fs zonecfg:zion:fs> set type=zfs zonecfg:zion:fs> set special=tank/zone/zion zonecfg:zion:fs> set dir=/export/shared zonecfg:zion:fs> end
NEW QUESTION 131
Review the boot environments displayed on your system:
Which option describes the solaris-1 BE?
- A. It is active on the next reboot.
- B. It is active now.
- C. It has been removed and will no longer be available after the next reboot.
- D. It is active now and on reboot.
- E. It is unbootable.
- F. It is inactive.
Answer: D
Explanation:
In the below output, NR (now running) means the BE is active now and will be the
active BE on reboot.
Example:
Display your existing BE information. # beadm list BE Active Mountpoint Space Policy Created
solaris NR / 12.24G static 2011-10-04 09:42
NEW QUESTION 132
......
Tested Material Used To 1Z0-821: https://www.vceprep.com/1Z0-821-latest-vce-prep.html