1Z0-821問題集には練習試験問題解答
1Z0-821はOracle Solaris実際の無料試験練習テスト
質問 # 144
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?
- A. genius will be thompson because /etc/profile system settings always override local settings.
- B. genius will be ritchie, because that was the value exported in .profile.
- C. genius will be kernighan, because .bashrc executes after .profile.
- D. genius will be ritchie because .profile executes after .bashrc.
- E. genius will be ritchie because variable settings in .profile take precedence over variable settings in .bashrc.
正解:E
質問 # 145
A datalink can best be described as______.
- A. a driver for a Network Interface Card
- B. a logical object used for IP Multipathing
- C. the software connecting the Internet Layer and the Physical Layer
- D. a device that provides Classless Inter-Domain Routing
正解:B
解説:
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:
質問 # 146
User1 is attempting to run the following command: cp bigfile verybig
The system displays the following errer:
cp: cannot create verybig: Disc quota exceeded
Your initial troubleshooting shows that the df -h command indicates the account is at 100% capacity. What command would you use to determine how much disk space the user has available?
- A. zfs get quota rpool/export/home/user1
- B. zfs userused@user1
- C. zfs quota=1M /rpool/export/home/user1
- D. df -h | grep user1
正解:A
解説:
ZFS quotas can be set and displayed by using the zfs set and zfs get commands. In the following example, a quota of 10 Gbytes is set on tank/home/bonwick.
# zfs set quota=10G tank/home/bonwick # zfs get quota tank/home/bonwick NAME PROPERTY VALUE SOURCE tank/home/bonwick quota 10.0G local
Reference: ZFS Quotas and Reservations
質問 # 147
On which is the open boot prom available?
- A. SPARC only
- B. x86, x86 64-Bit and SPARC
- C. x86 only
- D. x86 64-Bit only
- E. both x86 and x86 64-Bit
正解:A
解説:
Explanation/Reference:
Explanation:
No OpenBoot Environment on the Intel Platform. The Intel environment has no OpenBoot PROM or NVRAM. On Intel systems, before the kernel is started, the system is controlled by the basic input/output system (BIOS), the firmware interface on a PC. Therefore, many features provided by OpenBoot are not available on Intel systems.
Note: The Open Boot PROM (OBP) bootloader only exists within SPARC. Before Solaris 10 01/06, the bootloader for Solaris x86 was a Sun customized bootstrap software. After Solaris 10 01/06, it uses GRUB, a well known bootloader that's commonly used in the Linux world.
With GRUB, it's much easier to make the system dual-boot Linux and Solaris. GRUB extends the capabilities of the bootloader that was not available previously such as the ability to boot from a USB DVD drive. Those who have used Linux will be quite familiar with GRUB and its options.
質問 # 148
Review the zonestat command:
zonestate - q physical - memory -R high -z -p -p "zones" 10 24h 60m
Select the option that correctly describes the information that is displayed by this command.
- A. It is a sample of dbzone's physical memory usage taken every hour over a 24-hour period.Only the top 10 samplings of peak memory usage are displayed. All other utilization data is eliminated.
- B. It is a sample of dbzone's physical memory usage taken every 10 seconds and 24-hour period.Only peak memory usage is displayed each hour.All other utilization data is eliminated.
- C. It is a sample of dbzone's CPU, virtual memory, and networking utilization.Physical memory is executed from the report.The sampling is taken every 10 minutes over a 24- hour period and peak utilization id displayed each hour.
- D. It is a sample of dbzone's CPU, virtual memory, and networking utilization.Physical memory is executed from the report.The sampling is taken every 10 minutes over a 24- hour period and displayed each hour.
- E. It is a sample of dbzone's physical memory usage taken every 10 seconds and 24-hour period.Only peak virtual memory usage and CPU utilization are displayed each hour.All other Utilization data is eliminated.
正解:E
解説:
* (Not A, B, C): interval (here 10 seconds): Specifies the length in seconds to pause between each interval report.
* duration (here 24 h)
* -R report[, report] (here high)
Print a summary report.
High Print a summary report detailing the highest usage of each resource and zone during any interval of the zonestat utility invocation.
Note: The zonestat utility reports on the cpu, memory, and resource control utilization of the currently running zones. Each zone's utilization is reported both as a percentage of system resources and the zone's configured limits.
The zonestat utility prints a series of interval reports at the specified interval. It optionally also prints one or more summary reports at a specified interval.
The default output is a summary of cpu, physical, and virtual memory utilization. The -r option can be used to choose detailed output for specific resources.
質問 # 149
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. The disk will contain an EFI disk label.
- B. A 1-GB ZFS file system named /pool1 is created.
- C. A zpool create error is generated.
- D. A 15.97-GB storage pool named pool1 is created.
正解:B
質問 # 150
The default publisher on your system is:
You want to update the Oracle Solaris 11 environment on your system, but you are not able to connect this system to the Internet to access the default Oracle repository. A repository has been created on your local network and is named http://server1.example.com.
Which command would you choose to connect your system to the local repository?
- A. pkg add-publisher to add the new publisher
- B. pkg set-publisher to set the stickiness on the http://server1.example.com publisher and unset stickiness for http://pkg.oracle.com/solaris/release
- C. pkgset-publisher to set the origin for the publisher
- D. pkg publisher to specify the new publisher
正解:C
解説:
Solaris 11 Express makes it pretty easy to set up a local copy of the repository.
A common reason folks need access to a local repository is because their system is not connected
to the Internet.
Tthe pkg set-publisher command can be used to for example add a publisher or to enable or
disable a publisher.
Note: Example Adding a Publisher
Use the -g option to specify the publisher origin URI.
# pkg set-publisher -g http://pkg.example.com/release example.com
Example Specifying the Preferred Publisher
Use the -P option to specify a publisher as the preferred publisher. The specified publisher moves
to the top of the search order. You can specify the -P option when you add a publisher or you can
modify an existing publisher.
# pkg set-publisher -P example.com
Example Enabling or Disabling a Publisher
Use the -d option to disable a publisher. The preferred publisher cannot be disabled. A disabled
publisher is not used in package operations such as list and install. You can modify the properties
of a disabled publishers.
Use the -e option to enable a publisher.
# pkg set-publisher -d example2.com
Reference: Managing Package Publishers
質問 # 151
You need to set up an Oracle Solaris 11 host as an iSCSI target so that the host's disk can be accessed over a storage network. The disk device is c3t4d0.
Which six options describe the steps that need to be taken on this host to enable an iSCSI target?
- A. Use the stmfadm command to make the LUN viewable.
- B. Use the stmfadm command to create a LUN using iscsi/target.
- C. Use the stmfadm command to make the volume viewable.
- D. Create zfs volume named iscsi/target.
- E. Use the itadm command to create the iSCSI target.
- F. Enable the svc:/network/iscsi/target:default Service.
- G. Use the stmfadm command to create a LUN using /dev/zvol/rdsk/iscsi/target.
- H. Create a zpool named iscsi with disk device c3t4d0
- I. Create a ZFS file system named iscsi/target.
正解:A、D、E、F、G、H
解説:
How to Create an iSCSI LUN The following steps are completed on the system that is providing the storage device. Example: target# zpool create sanpool mirror c2t3d0 c2t4d0 (C)2. Create a ZFS volume to be used as a SCSI LUN. (D)3. Create a LUN for the ZFS volume. Example: target# stmfadm create-lu /dev/zvol/rdsk/sanpool/vol1 Logical unit created: 600144F0B5418B0000004DDAC7C10001
4. Confirm that the LUN has been created. Example target# stmfadm list-lu LU Name: 600144F0B5418B0000004DDAC7C10001
(F) 5. Add the LUN view.
This command makes the LUN accessible to all systems.
target# stmfadm add-view 600144F0B5418B0000004DDAC7C10001
How to Create the iSCSI Target
This procedure assumes that you are logged in to the local system will contains the iSCSI target. Note: The stmfadm command manages SCSI LUNs. Rather than setting a special iSCSI property on the ZFS volume, create the volume and use stmfadm to create the LUN.
(H)
1. Enable the iSCSI target service.
target# svcadm enable -r svc:/network/iscsi/target:default
(I)
2. Create the iSCSI target.
target# itadm create-target
Reference: Oracle Solaris Administration: Devices and File Systems, Configuring iSCSI Devices With COMSTAR
質問 # 152
You have a process called bigscript,and you need to know the PID number for this process.
Which command will provide that information?
- A. ps bigscript
- B. pgrep bigscript
- C. prstat bigscript
- D. pkill bigscript
正解:B
解説:
Pgrep takes a process name and return a PID.
Note: pgrep looks through the currently running processes and lists the process IDs which matches the selection criteria to stdout. All the criteria have to match. For example, pgrep -u root sshdwill only list the processes called sshd AND owned by root.
Incorrec answers:
ps bigscript: You can't pass a name to ps,it interprets it as arguments.
質問 # 153
You want to delete the IPv4 address on the interface net3. Which command should you use?
- A. ipadm deiete-ipv4 ner3/v4
- B. ipadm delete-ip net3/v4
- C. ipadm delete-addr net3/v4
- D. ipadm delete-vni net3/v4
- E. ipadm disable-if net3/v4
- F. ipadm down-addr net3/v4
正解:C
解説:
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.
質問 # 154
Identify three differences between the shutdown and init commands.
- A. The shutdown command will shut thesystem down and turn off power;init will only shut system down.
- B. init shuts a system down faster than the shutdown command.
- C. The shutdown sends a shutdown message to any systems that are mounting resource-tern that is being shut down.
- D. init does not terminate all services normally. The shutdown command performs a t shutdown of all services.
- E. Only shutdown broadcasts a final shutdown warning to all fogged in users.
- F. The shutdown command can only bring the system to the single-user milestone. The command must be used to shut the system down to run level 0.
正解:B、C、E
解説:
Note shutdown: shutdown is executed by the super user to change the state of the machine. In most cases, it is used to change from the multi-user state (state 2) to another state.
By default, shutdown brings the system to a state where only the console has access to the operating system. This state is called single-user.
Before starting to shut down daemons and killing processes, shutdown sends a warning message and, by default, a final message asking for confirmation. message is a string that is sent out following the standard warning message "The system will be shut down in ..." If the string contains more than one word, it should be contained within single (') or double (") quotation marks.
Note init: If a 0 through 6 is entered, init enters the corresponding run level. Run levels 0, 5, and 6 are reserved states for shutting the system down. Run levels 2, 3, and 4 are available as multi-user operating states.
OPTIONS 0 Go into firmware. 5 Shut the machine down so that it is safe to remove the power. Have the machine remove power, if possible.
6 Stop the operating system and reboot to the state defined by the initdefault entry in /etc/inittab.
Reference: man init, man shutdown
質問 # 155
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. el000g#
- B. net#
- C. nic#
- D. eth#
- E. lo#
正解:B
解説:
Explanation/Reference:
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
質問 # 156
Consider the following commands:
What is displayed when this sequence of commands is executed using the bash shell?
- A. cat: cannot open file1: No such file or directory
- B. bash: syntax error near unexpected token '| |'
- C. bash: syntax error broker pipe
- D. Hello, world
- E. cat: cannot open file1: No such file or directory Hello, world
正解:E
質問 # 157
The following image properties are displayed on your system:
Which two options describe the boot environment policy property that is currently set for this image?
- A. A reboot is not required after a package operation.
- B. A reboot is required for all package operations
- C. Do not create a new BE. The install, update, uninstall, or revert operation is not performed if a new BE is required.
- D. For package operations that require a reboot, this policy creates a new BE set as active on the next boot.
- E. All package operations are performed in a new BE set as active on the next boot.
- F. If a BE is created, do not set it as the active BE on the next boot
正解:B、D
解説:
Image properties described below.
* be-policy Specifies when a boot environment is created during packaging operations. The following values are allowed: / default Apply the default BE creation policy: create-backup.
/ always-new (D, F)
Require a reboot for all package operations (D) by performing them in a new BE set as active on
the next boot (F). A backup BE is not created unless explicitly requested.
This policy is the safest, but is more strict than most sites need since no packages can be added
without a reboot.
質問 # 158
The following image properties are displayed on your system:
Which two options describe the boot environment policy property that is currently set for this image?
- A. A reboot is not required after a package operation.
- B. A reboot is required for all package operations
- C. Do not create a new BE. The install, update, uninstall, or revert operation is not performed if a new BE is required.
- D. For package operations that require a reboot, this policy creates a new BE set as active on the next boot.
- E. All package operations are performed in a new BE set as active on the next boot.
- F. If a BE is created, do not set it as the active BE on the next boot
正解:B、D
解説:
Explanation/Reference:
Explanation:
Image properties described below.
* be-policy
Specifies when a boot environment is created during packaging operations. The following values are allowed:
/default
Apply the default BE creation policy: create-backup.
/always-new (D, F)
Require a reboot for all package operations (D) by performing them in a new BE set as active on the next boot (F). A backup BE is not created unless explicitly requested.
This policy is the safest, but is more strict than most sites need since no packages can be added without a reboot.
質問 # 159
When upgrading an existing system from Solaris 11 Express to Oracle Solaris 11, what happens to the datalink names?
- A. They maintain their names.
- B. They are called el00g#.
- C. They follow the default naming convention for the newly installed version.
- D. They are left unnamed, to avoid conflicts, and need to be renamed after the installation process is complete.
- E. They are called eth#.
正解:C
解説:
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
Note: There is no upgrade path from Oracle Solaris 10 to Oracle Solaris 11. You must perform a fresh installation.
Reference: Transitioning From Oracle Solaris 10 to Oracle Solaris 11, Network Configuration Features
質問 # 160
You are using AI to install a new system. You have added to following information to the AI manifest:
<configuration type= "zone" name= "dbzone"
source = "http://sysA.example.com/zone_cfg/zone.cfg"/>
Which statement is true with regard to the zone.cfg?
- A. The zone.cfg file is an xml file in a form suitable for use as a command file for the zonecfg command.
- B. The zone.cfg file is an AI manifest that specifies how the zone is to be installed.
- C. It is am xml configuration file from the /etc/zone directory. It will be used as a profile for the zone. It specifies the zonename, zonepath, and other zonecfg parameters.
- D. The zone.cfg file is text file in a zonecfg export format.
- E. The zone.cfg file is an SC profile with keywords that are specific for configuring a as part of the installation process.
正解:B
解説:
The configuration element supports non-global zone configurations. When installing
a global zone system, the zone configurations specified in the AI manifest are used to install non-
global zones onto the system after the global zone has been installed
The configuration element has the following attributes:
type
The type of configuration to install. The only type supported by AI is zone.
name
A name given to the configuration. This name must be unique across all configuration elements in
an AI manifest. For configurations of type zone, this name is also used as the zonename for he
zone.
Source
The location from which AI downloads the configuration file for this configuration element. The
value can be an HTTP or FILE URI specification. For configurations of type zone, this value should
point to a zone configuration file as produced from the zonecfg export command.
質問 # 161
User jack logs in to host Solaris and executes the following command sequence:
Which three statements are correct?
- A. User jack can edit testfile because he has read and write permissions at the group level.
- B. User jill can change the permissions of testfile because she has write permission for the file at the group level.
- C. User jack can change permissions for testfile because he has execute permission for the file.
- D. User jack can use cat to output the contents of testfile because he has read permission as the file owner.
- E. User jill can edit testfile because she has read and write permission at the group level.
- F. User jack can change permissions for testfile because he is the owner of the file.
正解:C、E、F
質問 # 162
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 revert p7zip
- B. pkg refresh p7zip
- C. pkg install p7zip
- D. pkg fix p7sip
- E. pkg install --no-backup-be p7sip
- F. pkg rebuild-index p7zip
- G. pkg verify p7zip
- H. pkg uninstsll p7zip
正解:A
解説:
Explanation
Explanation:
Use the pkg revert command to restore files to their as-delivered condition.
質問 # 163
You need to know the IP address configured on interface net3,and that the interface is up. Which command confirms these?
- A. ipadm up-addr
- B. ipadm enable-if
- C. ipadm show-addr
- D. ipadm refresh-addr
- E. ipadm show-if
- F. ipadm show-addrprop
正解:C
解説:
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
質問 # 164
Identify the Automated Installer's (AI) equivalent to jumpStart's finish scripts and sysidcfg files.
- A. installadm create-service
- B. Installadm create - client
- C. svccfg - s application/pkg/server setprop sysidcfg
- D. IPS software package repository
- E. SMF system configuration profile files
- F. Manifest files
正解:E
解説:
Explanation/Reference:
Explanation:
Comparing sysidcfg File Keywords to System Configuration Profile Directives The following table compares sysidcfg file keywords with example AI system configuration profile specifications.
sysidcfg File Keyword
System Configuration Profile Directives
Etc.
質問 # 165
......
無料Oracle Solaris 1Z0-821試験問題:https://www.jpntest.com/shiken/1Z0-821-mondaishu
1Z0-821問題集でOracle Solaris必ず合格できる練習問題集:https://drive.google.com/open?id=1vNM7RamqiZ-rKDE43QYl9qA6ehMzJkUJ