The following command is issued:
pkg set-publisher P publisher2
What is the impact on your system?
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:
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.
- 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
* Target mode displays IPMP probe target information. The following output fields are supported:
The IP interface name associated with the information.
The probe target discovery mode:
Probe targets found by means of the routing table.
Probe targets found by means of multicast ICMP probes.
All probe-based failure detection is disabled.
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.
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.
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?
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.
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
* 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?
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?
Answer : A
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'
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?
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?
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.
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?
Answer : B
Explanation: Example: Displaying Information About the System Administrator Rights
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
desc=Can perform most non-security administrative tasks
profiles=Install Service Management,Audit Review,Extended Accounting Flow
You want to configure an anonymous IPMP group.
Which method lets you enable this behavior?
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?
Answer : C
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?
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
(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
global# vi /etc/hosts
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?
Answer : A,D
Explanation: A: The pkd.depotd service is managed by SMF under the service identifier svc:/application/pkg/server.
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?
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
* 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:
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?
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.
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.