1z0-821 practice questions, page 2 of 10, with answer review and explanations.
Question 6
You have a ticket from a new user on the system, indicating that he cannot log in to his account. The information in the ticket gives you both the username and password. The ticket also shows that the account was set up three days ago. As root, you switch users to this account with the following command: su newuser You do not get an error message. You then run 1s -1a and see the following files: local1.cshrc local1.login local1.profile .bash_history .bashrc .profile As root, you grep the /etc/passwd file and the /etc/shadow file for this username, with these results: /etc/passwd contains newuser:x:60012:10:/home/newuser:/usr/bin/bash /etc/shadow contains newuser:UP: : : : :10: : As root, what is your next logical step?
Usermod –f 0
passwd newuser
mkdir /home/newuser
useradd –D
Question 7
You have a user that needs to use the cron tool to schedule some repetitive tasks. When the user enters the crontab e command in a terminal window, the following error appears: crontab: you are not authorized to use cron. Sorry In order to troubleshoot this issue, in what directory would you start your invest
/etc/cron.d
/var/spool/cron
/var/spool/cron/crontable
/var/spool/cron/atjobs
Question 8
You are having an issue with the shutdown command. You wish to determine if the file is a script or an executable program. Which command would you use to determine this?
od shutdown
file shutdown
test shutdown
cksum shutdown
attrib shutdown
Question 9
What determines which bits in an IP address represent the subnet, and which represent the host?
Subnet
unicast
netmask
multicast
broadcast
Question 10
Which two accurately identify features of a Solaris 10 branded zone?
executes in a Solaris 10 global zone
is created by importing a Solaris 10 flash archive
enables Linux binary applications to run unmodified
provides a complete runtime environment for Solaris 9 applications
allows a Solaris 10 global zone to be migrated into a Solaris 10 non-global zone on a Solaris 11 system