Oracle Solaris 11 Advanced System Administration v8.5 (1z0-822)

Page:    1 / 10   
Total 140 questions

The following command is issued:
pkg set-publisher P publisher2
What is the impact on your system?

  • A. makes the specified publisher sticky
  • B. makes the specified publisher the highest-ranked publisher
  • C. displays information about the specified publisher
  • D. moves the specified publisher one step higher in the search order


Answer : B

Explanation: Set-Publisher -
With -P or --search-first, set the specified publisher first in the search order. When installing new packages, this publisher is searched first. Updates to already installed packages come from the same publisher that originally provided the package as long as that publisher remains sticky. When -P or --search-first is used with -p, only added publishers are placed first in search order.

You configured IPMP on the system:


Based on this information, select the correct conclusion.

  • A. No default route is configured.
  • B. in.mpathd cannot identify failed interfaces.
  • C. There are no active interfaces in the group.
  • D. There are three standby interfaces in the group.
  • E. The property transitive-probing is false.


Answer : E

Explanation: Disabled in the MODE column means that all probe-based failure detection is disabled.
You must enable transitive probing to use this failure detection method that does not require test addresses.
Note:
* ipmpstat
- display IPMP subsystem status
The ipmpstat command concisely displays information about the IPMP subsystem.
The -t option identifies the probe targets that are associated with each IP interface in an
IPMP group.
* Target mode displays IPMP probe target information. The following output fields are supported:
/ INTERFACE
The IP interface name associated with the information.
/ MODE
The probe target discovery mode:
routes
Probe targets found by means of the routing table.
multicast
Probe targets found by means of multicast ICMP probes.
disabled
All probe-based failure detection is disabled.
transitive
Failure detection is by means of transitive probing, where the health of the IP interface is determined by probing other active interfaces in the group.
/ TESTADDR
The source address used in outgoing probes. Active interfaces that are being used for data traffic, as well as interfaces that have been explicitly configured with NOFAILOVER test addresses, will have the hostname (or IP address) that is used for sending and receiving the ICMP probes. All other interfaces in the group will display the name of the interface from which the probes are sent. Note that if an active IP interface is configured with both
IPv4 and IPv6 test addresses, probe target information will be displayed separately for each test address.
/ TARGETS
A space-separated list of probe target hostnames (or IP addresses) for ICMP probes, or target interfaces for transitive probes. The IP targets will be listed in firing order, and, if no probe targets could be found, this field will be empty.

Resource constraints have been placed on a particular project. Which command would you use to view the constraints that have been placed on that project?

  • A. ipcs
  • B. prctl
  • C. projects
  • D. rctladm
  • E. prstat


Answer : B

Explanation: prctl -
- get or set the resource controls of running processes, tasks, and projects.
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.
Incorrect:
not A: ipcs provides information on the ipc facilities for which the calling process has read access. not D: rctladm
- display or modify global state of system resource controls
Not E: prstat - report active process statistics
Note:
* In the Oracle Solaris operating system, the concept of a per-process resource limit has been extended to the task and project entities.

Consider the following command:
dispadmin -c IA -g -r 1000000
Which statement correctly describes the result?

  • A. The quantum will be reported in milliseconds.
  • B. The quantum will be output every 1000000 milliseconds.
  • C. The quantum will be reported in microseconds.
  • D. The quantum will be output every 1000000 microseconds.


Answer : C

Your company wants to incorporate a legacy script that runs once during the boot cycle as an SMF service. What appropriate setting for the duration attribute in the startd property group for this service?

  • A. transient
  • B. contract
  • C. wait
  • D. boot


Answer : A

Explanation: Example:
The default service model is contract, but may be modified. For this example, we are going to start the service with svc.startd. As a transient service, it will be started once and not restarted by adding the following lines to the manifest:
<property_group name='startd' type='framework'>
<propval name='duration' type='astring' value='transient'
/>
</property_group>
Note:
svc.startd provides three models of service, which are
* Transient servicesThese are often configuration services, which require no long- running processes to provide service. Common transient services take care of boot-time cleanup or load configuration properties into the kernel. Transient services are also sometimes used to overcome difficulties in conforming to the method requirements for contract or wait services. This is not recommended and should be considered a stopgap measure.
* Contract servicesThese are the standard system daemons. They require processes which run forever once started to provide service. Death of all processes in a contract service is considered a service error, which will cause the service to restart.
* Wait servicesThese services run for the lifetime of the child process, and are restarted when that process exits.

You are asked to configure your system to save crash dump information. While choosing a directory to save the dump data, you consider protecting a minimum amount of free space.
What is the default minimum free space in a crash dump directory?

  • A. By default, the minimum free space is 10% of the size of the dump volume.
  • B. By default, no minimum free space is set.
  • C. By default, the minimum free space is 1 MB.
  • D. By default, the space is determined by the amount of swap space.
  • E. By default, the space is determined by the amount of memory installed in the system.


Answer : C

Explanation: Dump Parameter: minimum free space
Minimum amount of free space required in the savecoredirectory after saving crash dump files. If no minimum free space has been configured, the default is one Mbyte.

You are about to configure resource controls for a nonglobal zone. You want to first examine settings as well as the system limits for those controls.
Which command fetches this information?

  • A. priocntl
  • B. zonecfg
  • C. rctladm
  • D. prctl


Answer : B

Explanation: zonecfg subcommand info:
info zonename | zonepath | autoboot | brand | pool | limitpriv info [resource-type [property-name=property-value]*]
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.
Incorrect:
Not A: priocntl- process scheduler control
The priocntl() function provides for control over the scheduling of an active light weight process (LWP).
Not C: rctladm- display and/or modify global state of system resource controls.
The rctladm command allows the examination and modification of active resource controls on the running system.

Not D: prctl -
- get or set the resource controls of running processes, tasks, and projects
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 on the specified entity.

You have assigned rights profiles directly to the uses frank and now you want to add another profile. Which command enables you to list profiles directly assigned to frank?

  • A. userattr profiles frank
  • B. profiles –p frank
  • C. useratter –p frank
  • D. profiles frank


Answer : B

Explanation: Example: Displaying Information About the System Administrator Rights

Profile -
Use the profiles command to display information about a specific rights profile. In the following example, information about the System Administrator rights profile is displayed:
$ profiles -p "System Administrator" info
name=System Administrator
desc=Can perform most non-security administrative tasks
profiles=Install Service Management,Audit Review,Extended Accounting Flow
Etc.

You want to configure an anonymous IPMP group.
Which method lets you enable this behavior?

  • A. Set the config/transitive-probing property to true in the svc:/network/imp:default service.
  • B. Use the ipadm set-ifprop command to set the anonymous property to true for the IPMP interface.
  • C. Edit the /etc/default./mpathd file and set TRACK_INTERFACES_ONLY_WITH GROUPS=no.
  • D. Set the config/anonymous property to true in the svc:/network/ipmp:default service.


Answer : C

Explanation: * /etc/default/mpathd
Contains default values used by the in.mpathd daemon.
* By default, in.mpathd limits failure and repair detection to IP interfaces that are configured as part of a named IPMP group. Setting TRACK_INTERFACES_ONLY_WITH_GROUPS to no enables failure and repair detection on all IP interfaces, even if they are not part of a named IPMP group. IP interfaces that are tracked but not part of a named IPMP group are considered to be part of the anonymous IPMP group. In addition to having no name, this

IPMP group is -
special in that its IP interfaces are not equivalent and thus cannot take over for one another in the event of an IP interface failure. That is, the anonymous IPMP group can only be used for failure and repair detection, and provides no high-availability or load-spreading

Assume you are on a system that has a valid use account johnjay Consider the following command-line invocation: rolemod p Network Administrator,All,Stop johnjay
What is the result?

  • A. The user will not acquire profiles allowed in /etc/secutity/policy.conf
  • B. There is no effect. The user acquires all profiles before the Stop profile is read.
  • C. The system will return an error.
  • D. The user gets Network Administrator profile and all profiles listed in the All macro.


Answer : C

Explanation:
root@solaris:~# useradd johnjayroot@solaris:~# passwd johnjayNew Password:Re-enter new Password:passwd: password successfully changed for johnjayroot@solaris:~# rolemod -p "Network Administrator,All,Stop" johnjayUX: rolemod: ERROR: Users must be modified with 'usermod'.root@solaris:~#

You are tasked to reconfigure zone1 to use virtual interface vnic1 as its network interface.
Which two steps must be included?

  • A. Disable IP Filter and IPsec.
  • B. Configure the NWAM NCP to Automatic.
  • C. Change the shared IP zone to an exclusive IP zone.
  • D. Reboot zone1 so that changes made with zonecfg take effect.
  • E. From the global zone, set the IP address of vnic1 and configure the default route.


Answer : C,D

Explanation: * How to Reconfigure a Zone to Use a VNIC
1. Become an administrator.
2. Create the VNIC.
(C) 3. Change the zone's IP type from shared to exclusive.
4.Change the zone's interface to use a VNIC.
5. Verify and commit the changes you have implemented and then exit the zone.
(D) 6. Reboot the zone.
7. Log in to the zone.
8. Configure the VNIC with a valid IP address.
* Example. Reconfiguring a Zone Configuration to Use a VNIC
In this example, zone2 already exists as a shared zone. The zone also uses the primary interface of the system rather than a virtual link. You need to modify zone2 to use vnic2. To use vnic2, zone2's IP type must first be changed to exclusive. Note that some of the output is truncated to focus on the relevant information that relates to virtual networks. global# dladm create-vnic -l net0 vnic2 global# zonecfg -z zone2
(C) zonecfg:zone1> set ip-type=exclusive
zonecfg:zone1> remove net physical=net0
zonecfg:zone1> add net
zonecfg:zone1:net> set physical=vnic2
zonecfg:zone1:net> end
zonecfg:zone1> verify
zonecfg:zone1> commit
zonecfg:zone1> exit
(D) global# zoneadm -z zone2 reboot
global# zlogin zone2
zone2# ipadm create-ip vnic2
zone2# ipadm create-addr -a 192.168.3.85/24 vnic2
ipadm: vnic2/v4
zone2# exit
global# vi /etc/hosts
#
1 localhost
127.0.0.1 localhost
192.168.3.70 loghost #For net0
192.168.3.80 zone1 #using vnic1
192.168.3.85 zone2 #using vnic2

Which two statements are correct regarding IPS repositories?

  • A. Remote client access is governed by svc:/application/pkg/server.
  • B. Every new repository contains the solaris publisher by default.
  • C. One repository can replicate the contents of another.
  • D. The pkg.depotd process makes all local repositories remotely available.
  • E. A repository uses separate protocols for pkg and browser clients.


Answer : A,D

Explanation: A: The pkd.depotd service is managed by SMF under the service identifier svc:/application/pkg/server.
D:
* Example:
Configure pkg.depotd to provide remote access. pkg.depotd provides an HTTP interface to a pkg repo. Here we are going to make the repo server listen on port 10000, and use the repo dir we created as its default.
# svcadm disable pkg/server
# svccfg -s pkg/server setprop pkg/inst_root = /data/myrepo
# svccfg -s pkg/server setprop pkg/port = 10000
# svcadm refresh pkg/server
# svcadm enable pkg/server
* pkg.depotd is the depot server for the image packaging system. It provides network access to the data contained within a package repository. Clients that do not support direct access to a repository through the file system, or for which network access is the only available or preferred method of transport, typically use the package depot.

Which two commands restart the pkg server daemon?

  • A. pkill -HUP pkg.depotd
  • B. svcadm restart svc:/application/pkg/server
  • C. pkill -USR1 pkg.depot
  • D. svcadm refresh svc:/application/pkg/server
  • E. pkg fix


Answer : B,C

Explanation: Use one of the following methods to restart the depot server process:
B: Use svcadm(1M) to restart the application/pkg/server instance.
C: Send a SIGUSR1 signal to the depot server process using kill(1). This executes a graceful restart that leaves the process intact but reloads all configuration, package, and search data:
# kill -USR1 pid
Note:
* The pkd.depotd service is managed by SMF under the service identifier svc:/application/pkg/server.

You have a ZFS pool that contains a hierarchy of data file systems. You create snapshots of the file systems and you created a clone (dpool/export/CID) of the dpool/export/home/CID file systems. The file systems are as follows:


Now you remove a file from the cloned file system:
root@sll-server1:~# rm /export/CID/core.bash.8070
How will space usage be changed for dpool/export/CID?

  • A. The USED value will increase and the REFER value will decrease; the AVAIL value will be unchanged.
  • B. The USED value will decrease and the REFER value will increase; the AVAIL value will increase.
  • C. The USED value will decrease, the REFER value will decrease; the AVAIL value will increase.
  • D. USED, REFER and the AVAIL value will be unchanged.


Answer : A

You want to create a ZFS file system with the following specifications: lzjb compression enabled
Cannot consume more than 2 GB from the storage pool
Redundant data at the block level eliminated

Mounted as /data -
Which command creates the desired file system?

  • A. zfs create o mountpoint=/data,compression=on,algorithm=lzjb,deduplication=on,quota=2g /pool1/data
  • B. zfs create o mountpoint=/data compression=on algorithm=lzjb deduplication=on quota=2g /pool1/data
  • C. zfs create o mountpoint=/data o compression=on o dedup=on o quota=2g /pool1/data
  • D. zfs create –o mountpoint=/data –o compression=on –o algorithm=lzjb –o deduplication=on –o quota=2g /pool1/data
  • E. zfs create pool/data zfs set mountpoint=/data,quota=2g, dedup=on,compression=on /pool1/data


Answer : C

Explanation: Not on compression setting:
compression=on | off | lzjb | gzip | gzip-N
Controls the compression algorithm used for this dataset. The
"lzjb" compression algorithm is optimized for performance while providing decent data compression. Setting compression to "on" uses the "lzjb" compression algorithm.
Incorrect:
Not A, Not E: Should not use commas like this.
Not B, Not D: There is no property algorithm named to this command. To specify the use of the lzjb compression command we must use compression=lzjb.

Page:    1 / 10   
Total 140 questions