The /etc/hosts file can be best described as .
Correct Answer:
E
As your machine gets started, it will need to know the mapping of some hostnames to IP addresses before DNS can be referenced. This mapping is kept in the /etc/hosts file. In the absence of a name server, any network program on your system consults this file to determine the IP address that corresponds to a host name.
You are installing the Solaris 11 Operation System by using the Text Installer. A panel
prompts you to create a root password and a user account.
Which four describe your options for completing this panel of the Installation?
Correct Answer:
ABDG
A: You are not required to create a user account. B: You must create a root password.
D: If you create a user account in this panel, you need to provide both the user's password and a root password.
In this case, root will be a role assigned to the user.
G: If you do not create a user account, you still need to provide a root password. In this case, root will be a regular user.
A user on the system has started a process, but it needs to be terminated. The process ID was determined as follows:
pgrep userprogram l5317
The user attempted to terminate the program as follows: pkill 15317
This command runs without an error message, and the process continues to run. What is the issue?
Correct Answer:
B
You can use the pgrep and pkill commands to identify and stop command processes that you no longer want to run. These commands are useful when you mistakenly start a process that takes a long time to run.
To terminate a process:
Type pgrep to find out the PID(s) for the process(es). Type pkill followed by the PID(s).
You can kill any process that you own. Superuser can kill any process in the system except for those processes with process IDs of 0, 1, 2, 3, and 4. Killing these processes most likely
will crash the system.
Review the ZFS dataset output that is displayed on your system:
Which four correctly describe the output?
Correct Answer:
ACEG
A: + Indicates the file/directory was added in the later dataset
C: R Indicates the file/directory was renamed in the later dataset E: - Indicates the file/directory was removed in the later dataset
G: M Indicates the file/directory was modified in the later dataset
Note: Identifying ZFS Snapshot Differences (zfs diff)
You can determine ZFS snapshot differences by using the zfs diff command.
The following table summarizes the file or directory changes that are identified by the zfs diff command.
File or Directory Change Identifier
* File or directory is modified or file or directory link changed M
* File or directory is present in the older snapshot but not in the newer snapshot
—
* File or directory is present in the newer snapshot but not in the older snapshot
+
* File or directory is renamed R
Identify three differences between the shutdown and init commands.
Correct Answer:
ABE