Oracle Solaris 11 limits access to the system with usernames and passwords The usernames are held in ___________, and the passwords are held in ___________. Select the correct pair.
Correct Answer: B
Explanation/Reference: Explanation: The /etc/passwd file contains basic user attributes. This is an ASCII file that contains an entry for each user. Each entry defines the basic attributes applied to a user. /etc/shadow file stores actual password in encrypted format for user's account with additional properties related to user password i.e. it stores secure user account information. All fields are separated by a colon (:) symbol. It contains one entry per line for each user listed in /etc/passwd file.
Question 102
Review the zonestat command: zonestate - q physical - memory -R high -z -p -p "zones" 10 24h 60m Select the option that correctly describes the information that is displayed by this command.
Correct Answer: D
* (Not A, B, C): interval (here 10 seconds): Specifies the length in seconds to pause between each interval report. * duration (here 24 h) * -R report[, report] (here high) Print a summary report. High Print a summary report detailing the highest usage of each resource and zone during any interval of the zonestat utility invocation. 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. The default output is a summary of cpu, physical, and virtual memory utilization. The -r option can be used to choose detailed output for specific resources.
Question 103
In order to display the IP addresses of network interfaces, what command would you use?
Correct Answer: D
'ipadm show-addr' displays all the configured addresses on the system. Example: # ipadm show-addr ADDROBJ TYPE STATE ADDR lo0/v4 static ok 127.0.0.1/8 lo0/v6 static ok ::1/128
Question 104
Review the ZFS dataset output that is displayed on your system: Which four correctly describe the output?
Correct Answer: A,C,E,G
A: + Indicates the file/directory was added in the later dataset C: R Indicates the file/directory was renamed in the later dataset E: - Indicates the file/directory was removed in the later dataset G: M Indicates the file/directory was modified in the later dataset Note: Identifying ZFS Snapshot Differences (zfs diff) You can determine ZFS snapshot differences by using the zfs diff command. The following table summarizes the file or directory changes that are identified by the zfs diff command. File or Directory Change Identifier *File or directory is modified or file or directory link changed M *File or directory is present in the older snapshot but not in the newer snapshot - *File or directory is present in the newer snapshot but not in the older snapshot + *File or directory is renamed R
Question 105
You need to configure an ISCSI target device on your x86 based Oracle Solaris II system. While configuring the iSCSI device, the following error is displayed: bash: stmfadm: command not found Which option describes the solution to the problem?
Correct Answer: C
STMF - Manages transactions, such as context and resources for Small Computer System Interface (SCSI) command execution, and tracking logical unit and port providers. STMF also handles logical unit mappings, allocating memory, recovering failed operations, enumeration, and other necessary functions of an I/O stack. STMF is controlled by stmfadm, and stmfadm is the majority of the commands you will be using to administer COMSTAR (COmmon Multiprotocl Scsi TARget). Install the packages you need for COMSTAR with iSCSI and reboot: # pfexec pkg install storage-server # pfexec pkg install SUNWiscsit # shutdown -y -i6 -g0 Note: You can set up and configure a COMSTAR Internet SCSI (iSCSI) target and make it available over the network. The iSCSI features can work over a normal Internet connection (such as Ethernet) using the standard iSCSI protocol. The iSCSI protocol also provides naming and discovery services, authentication services using CHAP and RADIUS, and centralized management through iSNS. The COMSTAR target mode framework runs as the stmf service. By default, the service is disabled. You must enable the service to use COMSTAR functionality. You can identify the service with the svcs command. If you have not rebooted the server since installing the group/feature/storage-server package, the service might not be enabled correctly. Reference: Oracle Solaris Administration, Configuring iSCSI Devices With COMSTAR