Pass the Oracle Oracle Solaris 1z0-821 Questions and answers with CertsForce

Viewing page 3 out of 8 pages
Viewing questions 21-30 out of questions
Questions # 21:

You created an IP address for interface not.3 with the following command, which executed successfully:

ipadm create-addr –T static –a 192.168.0.100/24 net3/v4

You then ran:

ipadm show–if

The result indicated that the interface was down.

You then ran:

ipadm delete-addr net3/v4

ipadm create-addr –T static –a 192.168.0.101/24 net3/v4

ipadm show-if

The last command indicated that the interface was up.

Why did it work with the second address specified, but not the first?

Options:

A.

The 192.168.0.100 address is reserved for broadcast messages.


B.

Another device exists on the network, using the 192.168.0.100 address.


C.

The network interface card does not support the address 192.168.0.100.


D.

The address 192.168.0.100 is at a boundary and may not be configured in Oracle Solaris 11.


E.

192.168.0.100 is a DHCP address and may not be statically configured in Oracle Solaris 11.


Expert Solution
Questions # 22:

A user brian is configured to use the bash shell. His home directory is /export/home/brian, and contains a .profile and a .bashrc file.

In the -profile, there are these lines:

genius =ritchie

export genius

In the .bashrc us this line:

genius=kernighan

In /etc/profile are these lines:

genius=thompson

export genius

When brian logs in and asks for the value of genius, what will he find, and why?

Options:

A.

genius will be ritchie, because that was the value exported in .profile.


B.

genius will be kernighan, because .bashrc executes after .profile.


C.

genius will be ritchie because variable settings in .profile take precedence over variable settings in .bashrc.


D.

genius will be ritchie because .profile executes after .bashrc.


E.

genius will be thompson because /etc/profile system settings always override local settings.


Expert Solution
Questions # 23:

User jack, whose account is configured to use the korn shell, logs in and examines the value of his PATH environment variable:

Question # 23

What will happen, and why?

Options:

A.

He will get a "file not found" error, because the current directory is not in his seaech path.


B.

He will get a "file not found" error, because his home directory is not in his search path.


C.

The useradd script will execute, because jack is in the same directory that the script is located in.


D.

The command /user/sbin/useradd will execute, because it is the last match in the search path.


E.

The command /user/sbin/useradd will execute, because it is the first match in the search path.


Expert Solution
Questions # 24:

To help with your troubleshooting, you need to determine the version of the OBP. Which two commands will provide you with this information?

Options:

A.

printenv


B.

banner


C.

.version


D.

set-env


E.

show-devs


F.

value version


Expert Solution
Questions # 25:

In an effort to reduce storage space on your server, you would like to eliminate duplicate copies of data in your server’s ZFS file systems.

How do you specify that pool1/data should not contain duplicate data blocks (redundant data) on write operations?

Options:

A.

zfs create - o compression=on pool1/data


B.

zpool create -o deduplication =on pool1; zfs create pool1/data


C.

zfs create - o deduplication=on pool1; zfs create pool1/data


D.

zfs create - o dedupratio=2 pool1/data


E.

zfs create - o dedup=on pool1/data


Expert Solution
Questions # 26:

To confirm the IP address and netmask have been correctly configured on the network interfaces which command should you use?

Options:

A.

ipdilm show-if


B.

ipadm show-nic


C.

ipadm show-addr


D.

ipadm show-ifconfig


E.

ipadm show-addripadm show-mask


Expert Solution
Questions # 27:

user1, while in his home directory, is attempting to run the following command in his home directory: cp bigfile verybig

The system displays the following error:

cp: cannot create verybig: Disc quota exceeded

Your initial troubleshooting shows that the df -h command indicates he is at 100% capacity. What command would you use to increase the disk space available to the user?

Options:

A.

zfs get quota rpool/export/home/user1


B.

zfs userused@user1


C.

zfs quota=none /rpool/export/home/user1


D.

df -h | grep user1


E.

zfs set quota=none /rpool/export/home/user1


Expert Solution
Questions # 28:

Which two SMF milestones can be specified at boot time?

Options:

A.

none


B.

network


C.

all


D.

config


E.

unconfig


F.

devices


Expert Solution
Questions # 29:

You want to display network interface information. Which command should you use?

Options:

A.

ipadm show-if


B.

ipadm show-addr


C.

ipadm show-prop


D.

ipadm show-addrprop


Expert Solution
Questions # 30:

A user jack, using a bash shell, requests a directory listing as follows:

Question # 30

Which three statements are correct?

Options:

A.

The pattern dir? will expand to dira dirb dirc.


B.

The pattern dir*a will expand to diraa.


C.

The pattern dir*a will expand to dira diraa.


D.

The pattern dir*b? will expand to dirabc.


E.

The pattern dir*b? will expand to dirb dirabc.


Expert Solution
Viewing page 3 out of 8 pages
Viewing questions 21-30 out of questions