Oracle Solaris 11 System Administration v12.0 (1z0-821)

Page:    1 / 16   
Total 234 questions

_________ serves as the interface between the SMF repository and the user to ensure that a consistent,picture of the repository is presented to the user.

  • A. repository.db
  • B. service manifest
  • C. svc.startd
  • D. svc.configd


Answer : D

Explanation:
SVC.CONFIGD is the repository daemon responsible for maintaining /etc/svc/repository.db.
The repository.db must come clean during this integrity check otherwise it is a "no go" for usual boot sequence to run level 3. The repository may get corrupted due to various hardware issues,software bugs,disk write failures,etc.
Note: When svc.configd(1M),the Solaris Repository Daemon,is started,it does an integrity check of the smf(5) repository,stored in /etc/svc/repository.db. This integrity check can fail due to a disk failure,the database file being corrupted either due to a hardware bug,a software bug,or an accidental overwrite. If the integrity check fails,svc.configd will write a message to the console.

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

  • A. /etc/cron.d
  • B. /var/spool/cron
  • C. /var/spool/cron/crontable
  • D. /var/spool/cron/atjobs


Answer : A

Explanation:
crontab: you are not authorized to use cron. Sorry.
This message means that either the user is not listed in the cron.allow file (if the file exists),or the user is listed in the cron.deny file.
You can control access to the crontab command by using two files in the /etc/cron.d directory: cron.deny and cron.allow. These files permit only specified users to perform crontab command tasks such as creating,editing,displaying,or removing their own crontab files.
The cron.deny and cron.allow files consist of a list of user names,one user name per line.

View the Exhibit.


Which is true regarding the disk drive?

  • A. This disk configuration could be used as a ZFS root disk.
  • B. This disk contains an SMI disk label.
  • C. Slice 7 represents the entire disk and cannot be used as a slice for a file system
  • D. The disk contains an EFI disk label.


Answer : A

Explanation:

Installing a ZFS Root Pool -
The installer searches for a disk based on a recommended size of approximately 13 GB.

A datalink can best be described as______.

  • A. a driver for a Network Interface Card
  • B. the software connecting the Internet Layer and the Physical Layer
  • C. a device that provides Classless Inter-Domain Routing
  • D. a logical object used for IP Multipathing


Answer : D

Explanation:
The command dladm is used to configure data-link interfaces in Sun Solaris. A configured data-link is represented in the system as interface that can be used for TCP/IP. Each data- link relies on either a single network device or an link aggregation device to send & recieve packets.
Network interfaces provide the connection between the system and the network. These interfaces are configured over data links,which in turn correspond to instances of hardware devices in the system.
In the current model of the network stack,interfaces and links on the software layer build on the devices in the hardware layer. More specifically,a hardware device instance in the hardware layer has a corresponding link on the data-link layer and a configured interface on the interface layer. This one-to-one relationship among the network device,its data link,and the IP interface is illustrated in the figure that follows.
Network Stack Showing Network Devices,Links,and Interfaces:


View the Exhibit and review the disk configuration.


The following command is executed on the disk:
zpool create pool1 c3t3d0s0
What is the result of executing this command?

  • A. A zpool create error is generated.
  • B. A 1-GB ZFS file system named /pool1 is created.
  • C. A 15.97-GB storage pool named pool1 is created.
  • D. The disk will contain an EFI disk label.


Answer : B

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?

  • A. 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.
  • B. 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.
  • C. Use the svccfg setnotify command to create a notification and send an email when a service enters the maintenance state.
  • D. 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 the maintenance state.


Answer : C

Explanation:
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]

Which best describes the svc:/system/boot-config service?

  • A. It is used to change the milestone on a system.
  • B. It is used to set the default run level of the system.
  • C. It provides the parameters used to set the system to automatically perform a fast or slow reboot.
  • D. When the service is enabled,the system performs a fast reboot by default; when it is disable the system performs a slow reboot by default.


Answer : C

Explanation:
Starting with the Oracle Solaris 11 Express release,Fast Reboot is supported on the
SPARC platform,as well as the x86 platform. On both platforms,this feature is controlled by the SMF and implemented through a boot configuration service,svc:/system/boot-config.
The boot-config service provides a means for setting or changing the default boot configuration parameters.
The fastreboot_default property of the boot-config service enables an automatic fast reboot of the system when either the reboot or the init 6 command is used. When the config/fastreboot_default property is set to true the system automatically performs a fast reboot,without the need to use the reboot -f command. By default,this property's value is set to false on the SPARC platform and to true on the x86 platform.

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?

  • A. ipadm set-gateway 192.168.1.1
  • B. route add default 192.168.1.1
  • C. ipadm set-default 192.168.1.1
  • D. dladm route-add –d 192.168.1.1
  • E. echo 192.168.1.1 >/etc/gateway
  • F. echo 192.168.1.1 >/etc/defaultrouter


Answer : B,F

Explanation:
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

The /usr/bin/p7zip file that is part of the p7zip package has been overwritten. This server is critical to production and cannot be rebooted. Identify the command that would restore the file without requiring a reboot.

  • A. pkg verify p7zip
  • B. pkg fix p7sip
  • C. pkg rebuild-index p7zip
  • D. pkg revert p7zip
  • E. pkg uninstsll p7zip
  • F. pkg install p7zip
  • G. pkg install --no-backup-be p7sip
  • H. pkg refresh p7zip


Answer : D

Explanation:
Use the pkg revert command to restore files to their as-delivered condition.

Which network protocol provides connectionless,packet-oriented communication between applications?

  • A. TCP
  • B. UDP
  • C. IP
  • D. ICMP
  • E. NFS
  • F. IPSec


Answer : B

Explanation:
The User Datagram Protocol (UDP) is one of the core members of the Internet Protocol
Suite,the set of network protocols used for the Internet. With UDP,computer applications can send messages,in this case referred to as datagrams,to other hosts on an Internet
Protocol (IP) network without requiring prior communications to set up special transmission channels or data paths.
Compared to TCP,UDP is a simpler message-based connectionless protocol.

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

  • A. ipdilm show-if
  • B. ipadm show-nic
  • C. ipadm show-addr
  • D. ipadm show-ifconfig
  • E. ipadm show-addripadm show-mask


Answer : C

Explanation:
Show address information,either for the given addrobj or all the address objects configured on the specified interface,including the address objects that are only in the persistent configuration.
State can be: disabled,down,duplicate,inaccessible,ok,tentative
Example:
# ipadm show-addr

ADDROBJ TYPE STATE ADDR -
lo0/v4 static ok 127.0.0.1/8
lo0/v6 static ok ::1/128

The OpenBoot firmware controls the operation of the system before the operating system is loaded.
Which four tasks are directly controlled by the OpenBoot firmware?

  • A. Provides a list of boot entries from which to choose
  • B. Allows hardware to identify itself and load its own plug-in device driver
  • C. Loads the boot loader from the configured boot device
  • D. Performs basic hardware testing
  • E. Installs the console
  • F. Reads and executes the boot archive
  • G. Extract and executes the kernel image


Answer : A,B,C,D

Explanation:
OpenBoot firmware is executed immediately after you turn on your system. The primary tasks of OpenBoot firmware are to:
* Test and initialize the system hardware (D)
* Determine the hardware configuration (D)
*Boot the operating system from either a mass storage device or from a network
*Provide interactive debugging facilities for testing hardware and software
Some notable features of OpenBoot firmware.
* Plug-in Device Drivers (B)
Most common tasks that you perform using OpenBoot
* Booting Your System
The most important function of OpenBoot firmware is to boot the system.
Note: If auto-boot? is true,the system will boot from either the default boot device or from the diagnostic boot device depending on whether OpenBoot is in diagnostic mode. (C)

You want to delete the IPv4 address on the interface net3. Which command should you use?

  • A. ipadm delete-ip net3/v4
  • B. ipadm down-addr net3/v4
  • C. ipadm disable-if net3/v4
  • D. ipadm delete-vni net3/v4
  • E. ipadm delete-addr net3/v4
  • F. ipadm deiete-ipv4 ner3/v4


Answer : E

Explanation:
The ipadm delete-addr subcommand removes addresses from interfaces.
To remove an address from the IPMP group,type the following command:
# ipadm delete-addr addrobj
The addrobj uses the naming convention inder-interface/user-string.

Which two SMF milestones can be specified at boot time?

  • A. none
  • B. network
  • C. all
  • D. config
  • E. unconfig
  • F. devices


Answer : A,C

Explanation:
The milestones that can be specified at boot time are
none
single-user
multi-user
multi-user-server
all

In a fresh installation of Oracle Solaris 11,default datalinks are named with a genetic naming convention,and they increment as you add interfaces. What is the default name?

  • A. eth#
  • B. net#
  • C. el000g#
  • D. lo#
  • E. nic#


Answer : B

Explanation:
When you install this Oracle Solaris release on a system for the first time,Oracle Solaris automatically provides generic link names for all the system's physical network devices.
This name assignment uses the net# naming convention,where the # is the instance number. This instance number increments for each device,for example,net0,net1,net2,and so on.
Note:
Network configuration in Oracle Solaris 11 includes
* Generic datalink name assignment Generic names are automatically assigned to datalinks using the net0,net1,netN naming convention,depending on the total number of network devices that are on the system

Page:    1 / 16   
Total 234 questions