Oracle 1z0-821 Exam Practice Questions (P. 4)
- Full Access (241 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #16
When speaking to an Oracle Support Engineer, you are asked to verify the version of the Solaris 11 build currently running on your system.
Which command would display the Solaris 11 build version currently running on your system?
Which command would display the Solaris 11 build version currently running on your system?
- Apkg info all
- Bcat /etc/release
- Ccat /etc/update
- Dprtconf | grep –i update
- Epkg info entire
Correct Answer:
B
Which Solaris release you are running on your system can be determined using the following command: cat /etc/release
This will tell you which release you are running and when it was released.
The more recent your system, the more info is contained in this file.
Example:
# cat /etc/release
Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC
Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
Assembled 23 August 2011
B
Which Solaris release you are running on your system can be determined using the following command: cat /etc/release
This will tell you which release you are running and when it was released.
The more recent your system, the more info is contained in this file.
Example:
# cat /etc/release
Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC
Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
Assembled 23 August 2011
send
light_mode
delete
Question #17
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?
Which option describes the solution to the problem?
- AThe COMSTAR feature is not supported on the x86 platform. The feature is supported only on the SPARC platform.
- BUse the iscsitadm command on the x86 platform when configuring an iSCSI target.
- CInstall the storage-server group package on this system.
- DStart the iSCSI target daemon on this system.
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.
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.
send
light_mode
delete
Question #18
Your SPARC server will not boot into multi user-server milestones and you need to troubleshoot to out why. You need to start the server with minimal services running so that you can go through each milestone manually to troubleshoot the issue.
Select the option that boots the server with the fewest services running.
Select the option that boots the server with the fewest services running.
- Aboot -s
- Bboot milestone none
- Cboot -m milestone=single-user
- Dboot -m milestone=none
- Eboot -m none
Correct Answer:
D
The command boot -m milestone=none is useful in repairing a system that have problems booting early.
Boot Troubleshooting:
To step through the SMF portion of the boot process, start with: boot -m milestone=none
Then step through the milestones for the different boot levels: svcadm milestone svc:/milestone/single-user:default svcadm milestone svc:/milestone/multi-user:default svcadm milestone svc:/milestone/multi-user-server:default
D
The command boot -m milestone=none is useful in repairing a system that have problems booting early.
Boot Troubleshooting:
To step through the SMF portion of the boot process, start with: boot -m milestone=none
Then step through the milestones for the different boot levels: svcadm milestone svc:/milestone/single-user:default svcadm milestone svc:/milestone/multi-user:default svcadm milestone svc:/milestone/multi-user-server:default
send
light_mode
delete
Question #19
User1 is attempting to assist user2 with terminating user2's process 1234.
User1 entered the following: kill -9 1234
Why does the process continue to run?
User1 entered the following: kill -9 1234
Why does the process continue to run?
- AYou can kill a process only if you are root.
- BYou can kill only a process that you own.
- CYou can kill the process only with the pkill command.
- DYou need to kill the process with a stronger kill signal.
Correct Answer:
B
Kill -9 -
Kill (terminates without cleanup)
Only works if issued by process owner or super user (root)
The program cannot respond to this signal; it must terminate
Note: Unix provides security mechanisms to prevent unauthorized users from killing other processes. Essentially, for a process to send a signal to another, the owner of the signaling process must be the same as the owner of the receiving process or be the superuser.
B
Kill -9 -
Kill (terminates without cleanup)
Only works if issued by process owner or super user (root)
The program cannot respond to this signal; it must terminate
Note: Unix provides security mechanisms to prevent unauthorized users from killing other processes. Essentially, for a process to send a signal to another, the owner of the signaling process must be the same as the owner of the receiving process or be the superuser.
send
light_mode
delete
Question #20
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?
- Azoneadm list –icv dbzone
- Bzones tat –c summary dbzone
- Czonecfg –z dbzone info
- Dzonecfg –icv dbzone info
Correct Answer:
C
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
C
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
send
light_mode
delete
All Pages