User brian changes the permissions for db_data this command: chmod 4755 db_data What is true?
Correct Answer: C
Explanation/Reference: Explanation: Use the chmod command to change permissions for a file or directory. You must be the owner of a file or directory, or have root access, to change its permissions. Here we do not know if brian owns db_data. Note: Permission 7 full 6 read and write 5 read and execute 4 read only 3 write and execute 2 write only 1 execute only 0 none 0 --- no permission 1 --x execute 2 -w- write 3 -wx write and execute 4 r-- read 5 r-x read and execute 6 rw- read and write 7 rwx read, write and execut Solaris: Solaris Advanced User's Guide
1Z0-821 Exam Question 42
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.
1Z0-821 Exam Question 43
Which four can the SMF notification framework be configured to monitor and report?
Correct Answer: A,E,F,G
Note 1: State Transition Sets are defined as: to<state> Set of all transitions that have <state> as the final state of the transition. form-<state> Set of all transitions that have <state> as the initial state of the transition. <state> Set of all transitions that have <state> as the initial state of the transitional. Set of all transitions. (A) Valid values of state are maintenance, offline (G), disabled (E), online and degraded. An example of a transitions set definition: maintenance, from-online, to-degraded. F: In this context, events is a comma separated list of SMF state transition sets or a comma separated list of FMA (Fault Management Architecture) event classes. events cannot have a mix of SMF state transition sets and FMA event classes. For convenience, the tags problem{diagnosed, updated, repaired, resolved} describe the lifecycle of a problem diagnosed by the FMA subsystem - from initial diagnosis to interim updates and finally problem closure. Note 2: SMF allows notification by using SNMP or SMTP of state transitions. It publishes Information Events for state transitions which are consumed by notification daemons like snmp-notify(1M) and smtp-notify(1M). SMF state transitions of disabled services do not generate notifications unless the final state for the transition is disabled and there exist notification parameters for that transition. Notification is not be generated for transitions that have the same initial and final state. Reference: man svccfg setnotify
1Z0-821 Exam Question 44
Which modification needs to be made to the Service Management Facility before you publish a new package to the IPS repository?
Correct Answer: D
pkg/image_root (astring) The path to the image whose file information will be used as a cache for file data.
1Z0-821 Exam Question 45
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?
Correct Answer: A
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