1z0-821 practice questions, page 3 of 10, with answer review and explanations.
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?
ipadm set-gateway 192.168.1.1
route add default 192.168.1.1
ipadm set-default 192.168.1.1
dladm route-add –d 192.168.1.1
echo 192.168.1.1 >/etc/gateway
echo 192.168.1.1 >/etc/defaultrouter
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?
Use 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.
Make 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.
Use the svccfg setnotify command to create a notification and send an email when a service enters the maintenance state.
Use 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
Question 13
How are operating system updates distributed in the Oracle Solaris 11 environment?
Updates 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.
Patches 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.
Software updates are published as packages to a repository. All software packages are then updated manually from the command line using the pkg command.
Software updates, published as packages to an OS image. All software packages are then updated manually from the command line using the pkg command.
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?
He will get a "file not found" error, because the current directory is not in his seaech path.
He will get a "file not found" error, because his home directory is not in his search path.
The useradd script will execute, because jack is in the same directory that the script is located in.
The command /user/sbin/useradd will execute, because it is the last match in the search path.
The command /user/sbin/useradd will execute, because it is the first match in the search path.
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?
Host oracle does not have a valid host public key.
Host oracle does not have a valid host private key.
Host solaris does not have a valid host public key.
Host does not have a valid host private key.
Host solaris is not configured for host-based authentication.
Host oracle is not configured for host-based authentication.