Oracle 1z0-821 Exam Practice Questions (P. 3)
- 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 #11
You are troubleshooting a newly installed desktop Oracle Solaris 11 system with a single network interface. From this system, you can connect to other systems within the company intranet, but cannot access any external services (such as websites and email), even when using IP addresses.
Examining the routing table confirms that the default route to 192.168.1.1 is missing. DHCP is not used at this site. Which two commands will temporarily mid permanently configure the default route?
Examining the routing table confirms that the default route to 192.168.1.1 is missing. DHCP is not used at this site. Which two commands will temporarily mid permanently configure the default route?
- Aipadm set-gateway 192.168.1.1
- Broute add default 192.168.1.1
- Cipadm set-default 192.168.1.1
- Ddladm route-add –d 192.168.1.1
- Eecho 192.168.1.1 >/etc/gateway
- Fecho 192.168.1.1 >/etc/defaultrouter
Correct Answer:
BF
B: Setting the default route on Solaris is easy. If you are trying to just set the route temporarily you can use the route command:
Route add default <ipaddress>
Example:
Route add default 192.168.1.1 -
Note: Route command manipulates the kernel routing tables. Routing is the process of forwarding a packet from one computer to another. It is based on the IP address in the IP packet header and netmask.
F: If you want the route to be persisted when you reboot the system, you will need to set the route in the /etc/defaultrouter file.
/etc/defaultrouter
Example:
Echo 192.168.1.1 > /etc/defaultrouter
BF
B: Setting the default route on Solaris is easy. If you are trying to just set the route temporarily you can use the route command:
Route add default <ipaddress>
Example:
Route add default 192.168.1.1 -
Note: Route command manipulates the kernel routing tables. Routing is the process of forwarding a packet from one computer to another. It is based on the IP address in the IP packet header and netmask.
F: If you want the route to be persisted when you reboot the system, you will need to set the route in the /etc/defaultrouter file.
/etc/defaultrouter
Example:
Echo 192.168.1.1 > /etc/defaultrouter
send
light_mode
delete
Question #12
You want the system to generate an email notification each time one of the services has changed its state. Which option would send an email message to the system administrator whenever a service changes to the maintenance state?
- AUse the setsc command in ALOM to enable the mail alerts to be sent to a specified email address whenever the fault management facility detects a service change to the maintenance state.
- BMake an entry in the /etc/syslog.conf file to instruct syslogd to send an email alert when it receives a message from the SMF facility that a service has changed to the maintenance state.
- CUse the svccfg setnotify command to create a notification and send an email when a service enters the maintenance state.
- DUse the scvadm command to enable the notification service. Set the –g maintenance option on the netnotify service to send an email when a service enters
Correct Answer:
C
This procedure causes the system to generate an email notification each time one of the services or a selected service has a change in state. You can choose to use either SMTP or SNMP. Normally, you would only select SNMP if you already have SNMP configured for some other reason.
By default, SNMP traps are sent on maintenance transitions. If you use SNMP for monitoring, you can configure additional traps for other state transitions.
1. Become an administrator or assume a role that includes the Service Management rights profile.
2. Set notification parameters.
Example:
The following command creates a notification that sends email when transactions go into the maintenance state
# /usr/sbin/svccfg setnotify -g maintenance mailto:[email protected]
C
This procedure causes the system to generate an email notification each time one of the services or a selected service has a change in state. You can choose to use either SMTP or SNMP. Normally, you would only select SNMP if you already have SNMP configured for some other reason.
By default, SNMP traps are sent on maintenance transitions. If you use SNMP for monitoring, you can configure additional traps for other state transitions.
1. Become an administrator or assume a role that includes the Service Management rights profile.
2. Set notification parameters.
Example:
The following command creates a notification that sends email when transactions go into the maintenance state
# /usr/sbin/svccfg setnotify -g maintenance mailto:[email protected]
send
light_mode
delete
Question #13
How are operating system updates distributed in the Oracle Solaris 11 environment?
- AUpdates are only available to customers with an active support contract. The updates are distributed through the My Oracle Support web portal and installed in a central location. All software packages are then updated manually from the command line using the smpatch command.
- BPatches are download from http: //support.oracle.com either automatically or manually. All software packages are then updated manually from the command line using the smpatch or patchadd commands.
- CSoftware updates are published as packages to a repository. All software packages are then updated manually from the command line using the pkg command.
- DSoftware updates, published as packages to an OS image. All software packages are then updated manually from the command line using the pkg command.
Correct Answer:
C
* Updating all of the packages on your installed system To update all of the packages on your system that have available updates, use the pkg update command, as follows:
# pkg update
Running this command updates packages that you might not otherwise consider updating, for example, kernel components and other low-level system packages.
* Adding or updating individual packages To add individual software packages, use the pkg install command. Any dependent packages are also updated at the same time.
* install package updates that deliver fixes A pkg update operation might include bug fixes, so the operation is similar to applying a specific patch or patches in previous Oracle Solaris releases.
Note: The IPS interfaces first check for updates for currently installed packages before retrieving them via the network. By default, interfaces check repository catalogs in the following locations:
* The default installation repository at pkg.oracle.com/solaris/release.
* The support repository in My Oracle Support. This repository is restricted to users with Oracle Solaris 11 Express support contracts, and it contains packages with the latest bug fixes. For this reason, a support contract must be purchased for production deployments.
C
* Updating all of the packages on your installed system To update all of the packages on your system that have available updates, use the pkg update command, as follows:
# pkg update
Running this command updates packages that you might not otherwise consider updating, for example, kernel components and other low-level system packages.
* Adding or updating individual packages To add individual software packages, use the pkg install command. Any dependent packages are also updated at the same time.
* install package updates that deliver fixes A pkg update operation might include bug fixes, so the operation is similar to applying a specific patch or patches in previous Oracle Solaris releases.
Note: The IPS interfaces first check for updates for currently installed packages before retrieving them via the network. By default, interfaces check repository catalogs in the following locations:
* The default installation repository at pkg.oracle.com/solaris/release.
* The support repository in My Oracle Support. This repository is restricted to users with Oracle Solaris 11 Express support contracts, and it contains packages with the latest bug fixes. For this reason, a support contract must be purchased for production deployments.
send
light_mode
delete
Question #14
User jack, whose account is configured to use the korn shell, logs in and examines the value of his PATH environment variable:

What will happen, and why?

What will happen, and why?
- AHe will get a "file not found" error, because the current directory is not in his seaech path.
- BHe will get a "file not found" error, because his home directory is not in his search path.
- CThe useradd script will execute, because jack is in the same directory that the script is located in.
- DThe command /user/sbin/useradd will execute, because it is the last match in the search path.
- EThe command /user/sbin/useradd will execute, because it is the first match in the search path.
Correct Answer:
D
D
send
light_mode
delete
Question #15
User jack on host solaris attempts to use ssh to log in to host oracle and receives this message: jack@solaris:~$ ssh oracle ssh: connect to host oracle port 22: connection refused
What is the problem?
What is the problem?
- AHost oracle does not have a valid host public key.
- BHost oracle does not have a valid host private key.
- CHost solaris does not have a valid host public key.
- DHost does not have a valid host private key.
- EHost solaris is not configured for host-based authentication.
- FHost oracle is not configured for host-based authentication.
- GHost oracle is not running the ssh service.
- HHost solaris is not running the ssh service.
Correct Answer:
G
The host he is trying to connect to (oracle) is not running the required service (ssh).
G
The host he is trying to connect to (oracle) is not running the required service (ssh).
send
light_mode
delete
All Pages