JPNTest 1Z0-821問題集245問でOracle Solarisを確実実践
リアル最新1Z0-821試験問題1Z0-821問題集
Oracle 1Z0-821 認定試験の出題範囲:
| トピック | 出題範囲 |
|---|---|
| トピック 1 |
|
| トピック 2 |
|
| トピック 3 |
|
| トピック 4 |
|
| トピック 5 |
|
質問 # 132
You have been asked to terminate a process that appears to be hung and will not terminate. The process table is shown below:
root 15163 15156 0 12:51:15 pts/3 0:00 hungscript What command will terminate the process?
- A. kill -2 15163
- B. kill -9 15163
- C. kill -15 15163
- D. kill -1 15163
正解:B
解説:
Here we should use SIGTERM to terminate the process.
Note:
When no signal is included in the kill command-line syntax, the default signal that is used is -15
(SIGKILL). Using the -9 signal (SIGTERM) with the kill command ensures that the process
terminates promptly. However, the -9 signal should not be used to kill certain processes, such as
a database process, or an LDAP server process. The result is that data might be lost.
Tip - When using the kill command to stop a process, first try using the command by itself, without
including a signal option. Wait a few minutes to see if the process terminates before using the kill
command with the -9 signal.
Reference: Terminate the process
質問 # 133
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. Do not create a new BE. The install, update, uninstall, or revert operation is not performed if a new BE is required.
- B. A reboot is not required after a package operation.
- C. For package operations that require a reboot, this policy creates a new BE set as active on the next boot.
- D. If a BE is created, do not set it as the active BE on the next boot
- E. All package operations are performed in a new BE set as active on the next boot.
- F. A reboot is required for all package operations
正解:C、F
解説:
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.
質問 # 134
View the Exhibit.
After Installing the OS, you need to verify the network interface information. Which command was used to display the network interface information in the exhibit?
- A. ipadm show-addr
- B. netstat -a
- C. ifconfiq -a
- D. svcs -1 network/physical
正解:A
解説:
'ipadm show-addr' displays all the configured addresses on the system.
Example:
# ipadm show-addr
ADDROBJ TYPE STATE ADDR
lo0/v4 static ok 127.0.0.1/8
lo0/v6 static ok ::1/128
質問 # 135
Which three of the components would degrade performance if used in a ZFS storage pool, and are not recommended configurations?
- A. a file on a UFS file system
- B. a Veritas Volume Manager (VxVM) volume
- C. an EDI disk
- D. a LUN in a hardwareRAID array
- E. a disk slice from an SMI labeled disk
- F. a Solaris Volume Manager (SVM) volume
正解:A、B、F
解説:
A: ZFS also allows you to use UFS files as virtual devices in your storage pool. This feature is aimed primarily at testing and enabling simple experimentation, not for production use. The reason is that any use of files relies on the underlying file system for consistency. If you create a ZFS pool backed by files on a UFS file system, then you are implicitly relying on UFS to guarantee correctness and synchronous semantics. However, files can be quite useful when you are first trying out ZFS or experimenting with more complicated layouts when not enough physical devices are present. All files must be specified as complete paths and must be at least 64 Mbytes in size.
B, E: You can construct logical devices for ZFS using volumes presented by software-based volume managers, such as Solaris Volume Manager (SVM) or Veritas Volume Manager (VxVM). However, these configurations are not recommended. While ZFS functions properly on such devices, less-than-optimal performance might be the result.
Reference: Solaris ZFS Administration Guide, Managing ZFS Storage Pools
質問 # 136
Examine the following command sequence:
Which three are true?
- A. Useroracle, nota member of the groupother, cando a short listing (1s) of dirb.
- B. Userjill, a member of the group other, can do a long listing (is-1) of userjack'shomedirectory.
- C. User jill, a member of the group other, cannot delete testfile.
- D. User jill,amember of the group other, can edit the data content of testfile.
- E. User jill, a member of the group other, can make a copy oftestfileindira.
- F. User oracle, not a member of the group other, cannot execute the shell script.
正解:C、D、E
質問 # 137
View the following information for a software package:
Which command would you use to display this information for a software package that is not
currently installed on your system?
- A. pkg verify -v gzip
- B. pkg list gzip
- C. pkg search -1 gzip
- D. pkg info -r gzip
- E. pkg contents gzip
正解:D
解説:
By default, the pkg info command only lists information about installed packages on
the system; however, we can use a similar command to look up information about uninstalled
packages, as shown in here:
Example:
Listing Information About an Uninstalled Package
# pkg info -r php-52
Name: web/php-52
Summary: PHP Server 5.2
Description: PHP Server 5.2
Category: Development/PHP
State: Not Installed
Publisher: solaris
Version: 5.2.17
Build Release: 5.11
Branch: 0.175.0.0.0.1.530
Packaging Date: Wed Oct 12 14:01:41 2011
Size: 44.47 MB
FMRI: pkg://solaris/web/[email protected], 5.11-0.175.0.0.0.1.530:20111012T140141Z
Note: pkg info command displays information about packages in a human-readable form.
Multiple FMRI patterns may be specified; with no patterns,
display information on all installed packages in the image.
With -l, use the data available from locally installed packages.
This is the default.
With -r, retrieve the data from the repositories of the image's
configured publishers. Note that you must specify one or more
package patterns in this case.
Reference: man pkg
質問 # 138
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. Allows hardware to identify itself and load its own plug-in device driver
- B. Installs the console
- C. Performs basic hardware testing
- D. Extract and executes the kernel image
- E. Provides a list of boot entries from which to choose
- F. Reads and executes the boot archive
- G. Loads the boot loader from the configured boot device
正解:A、C、E、G
解説:
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
*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)
Some notable features of OpenBoot firmware.
質問 # 139
You suspect a problem with the oponldap package and want to make sure that the files have not be modified or otherwise tampered with.
Which command would validate all of the files contained in the openldap package and report any problems?
- A. pkg verify openldap
- B. pkginfo openldap
- C. pkgchk openldap
- D. pkg contents openldap
- E. pkg set-property signature-policy verify
正解:C
解説:
Explanation/Reference:
Explanation:
pkgchk checks the accuracy of installed files or, by using the -l option, displays information about package files. pkgchk checks the integrity of directory structures and files. Discrepancies are written to standard error along with a detailed explanation of the problem.
質問 # 140
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?
- A. zfs userused@user1
- B. df -h | grep user1
- C. zfs set quota=none /rpool/export/home/user1
- D. zfs get quota rpool/export/home/user1
- E. zfs quota=none /rpool/export/home/user1
正解:C
解説:
Explanation/Reference:
Explanation:
ZFS quotas can be set and displayed by using the zfs set and zfs get commands.
We can remove the quota restriction by setting to quota to none.
質問 # 141
You arc Installing the Oracle Solaris 11 Operating System by using the Text Installer. Which three options describe the features associated with the Text Installer?
- A. It can be used to install only SPARC systems.
- B. You canselect how to configure the remaining network interfaces.
- C. You can choose whether root is a role or user account.
- D. You can configure the network manually.
- E. You can do both automatic and manual configuration of the network.
- F. It installs gnome as the default user environment on a system capable of displaying a environment.
正解:C、D、E
解説:
C: You are not required to create a user account. But, you must create a root
password.
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.
To create a user account, type a username and password. The name must begin with a letter and
can contain only letters and numbers.
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.
Networking Configuration With Text Installer
The networking panel in the text installer provide users with the following options.
Automatically - Configures target system with automatic NCP, similar to the LiveCD installer's
method.
Manually - Selects "DefaultFixed" NCP and provides for static IPv4 configuration of one network
interface (NIC). IPv4 default route and IPv6 autoconfiguration are enabled for that chosen NIC.
This option also provides for manual configuration of DNS, NIS and LDAP naming services.
None - Selects "DefaultFixed" NCP and configures loopback interfaces only.
Reference: Installing Oracle Solaris 11 Systems, How to Perform a Text Installation
質問 # 142
The advantage of core tiles is that they allow you an opportunity to examine the cause of problems, so that they can be resolved.
However, core files must be managed because they_____.
- A. make numerous entries into the /var/adm/wtmpx file
- B. take up large amounts of disk space
- C. fill up swap space; this will begin to slow the system due to swaps
- D. fill up swap space; this will begin to slow the system due to paging
- E. steal resources from the processor, slowing down system performance
正解:B
解説:
Explanation/Reference:
Explanation:
Part of the job of cleaning up heavily loaded file systems involves locating and removing files that have not been used recently. You can locate unused files by using the ls or find commands.
Other ways to conserve disk space include emptying temporary directories such as the directories located in /var/tmp or /var/spool, and deleting core and crash dump files.
Note: Core files are generated when a process or application terminates abnormally. Core files are managed with the coreadm command.
For example, you can use the coreadm command to configure a system so that all process core files are placed in a single system directory. This means it is easier to track problems by examining the core files in a specific directory whenever a process or daemon terminates abnormally.
質問 # 143
Which operation will fail if the DNS configuration is incorrect?
- A. ping www.oracle.com.
- B. ping 23.45.82.174
- C. ping localhost.
- D. ping 192.168.1.1
- E. domainname
- F. cat/etc/resolv.conf
正解:A
解説:
www.oracle.comwould have to be resolved to an IP name by the domain name service.
質問 # 144
How should you permanently restrict the non-global zone testzone so that it does not use more than 20 CPU shares while it is running?
- A. While configuring the zone, add this entry: add rct1set name= zone.cpu-sharesadd value (priv=privileged, limit=20, action=none)endexitfrom command line, enter: # dispadmin
- d FSS - B. While configuring the zone, add this entry:add rct1set name = capped.cpu-sharesadd value (priv = privileged, limit = 20, action = none)endexit
- C. From the command line enter: #prct1 -n zone.cpu-shares - r - v 20 - i zone testzone
- D. From the command line, enter:#prct1 - n zone.cpu-shares - v 80 - r - i zone global
正解:C
解説:
The prctl utility allows the examination and modification of the resource controls associated with an active process, task, or project on the system. It allows access to the basic and privileged limits and the current usage on the specified entity.
How to Change the zone.cpu-shares Value in a Zone Dynamically
This procedure can be used in the global zone or in a non-global zone.
For more information about roles, see Configuring and Using RBAC (Task Map) in System Administration Guide: Security Services.
# prctl -n zone.cpu-shares -r -v value -i zone zonename
idtype is either the zonename or the zoneid. value is the new value.
Note: project.cpu-shares
Number of CPU shares granted to a project for use with the fair share scheduler
質問 # 145
User1 is attempting to assist user2 with terminating user2's process 1234.
User1 entered the following: kill -9 1234
Why does the process continue to run?
- A. You can kill only a process that you own.
- B. You need to kill the process with a stronger kill signal.
- C. You can kill a process only if you are root.
- D. You can kill the process only with the pkill command.
正解:A
解説:
Kill -9
Kill (terminates without cleanup)
Only works if issued by process owner or super user (root)
The program cannot respond to this signal; it must terminate
Note: Unix provides security mechanisms to prevent unauthorized users from killing other processes. Essentially,for a process to send a signal to another,the owner of the signaling process must be the same as the owner of the receiving process or be the superuser.
質問 # 146
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?
- A. mkdir /home/newuser
- B. useradd -D
- C. passwd newuser
- D. Usermod -f 0
正解:C
解説:
The content of the /etc/shadow document indicates that the newuser account has no password.
We need to add a password.
The passwd utility is used to update user's authentication token(s).
D: Here the user account already exist. There is no need to create it.
When invoked without the -D option, the useradd command creates a new user account using the values specified on the command line plus the default values from the system.
Depending on command line options, the useradd command will update system files and may also create the new user's home directory and copy initial files.
質問 # 147
Choose three options that describe the features associated with a Live Media installation.
- A. installs the server-based set of packages only
- B. installs the desktop based packages
- C. provides a "hands free" installation
- D. can be used to install only x86 platforms
- E. allows both automatic and manual configuration of the network
- F. does not allow the root user to log in to the system directly from the console (or any terminal)
- G. installs both the server-based and desktop-based package
正解:B、C、D
解説:
The graphical installer is officially known as the "Live Media." This means that Oracle Solaris can be booted into RAM, causing zero impact on your existing operating system.
After it is loaded, you are free to experiment with Oracle Solaris to determine whether it is something you would like to install to your system.
You can download Oracle Solaris 11 Live Media for x86, which is an approximately 800 MB image file, and use a DVD burner to create the disk, or you can use the ISO image directly in a virtual machine or through the Oracle Integrated Lights Out Manager (ILOM) Remote Console.
The Live Media is not intended for long-term use. For example, any changes that you make to the system are lost when the system is shut down. Therefore, the next logical step is to install Oracle Solaris on the system, which the Live Media makes easy by placing an Install Oracle Solaris icon right on the desktop. But before we head down that road, let's step back a bit and consider the installation options.
Note: The Live Media provides administrators with an opportunity to explore the Oracle Solaris 11 environment without installing it on a system. The system boots off the media directly allowing administrators to start the installer should they choose to install it to a system.
質問 # 148
Review the boot environment information displayed on your system: Which two options accurately describe the newBE boot environment?
- A. You can create a snapshot of it.
- B. It is activated but unbootable.
- C. It cannot be destroyed.
- D. It cannot be renamed.
- E. It has been deleted and will be removed at the next reboot.
- F. It cannot be activated.
正解:D、F
解説:
If the boot environment is unbootable, it is marked with an exclamation point (!) in the Active column in the beadm list output.
The beadm command restricts actions on unbootable boot environments as follows:
You cannot activate an unbootable boot environment. (B)
You cannot destroy a boot environment that is both unbootable and marked as active on reboot.
You cannot create a snapshot of an unbootable boot environment.
You cannot use an unbootable boot environment or boot environment snapshot with the -e option of beadm create.
You cannot rename an unbootable boot environment. (C)
Reference: Creating and Administering Oracle Solaris 11 Boot Environments, Unbootable Boot Environments
質問 # 149
When issuing the zonestat 2 1h is command,the following information is displayed:
Which two options accurately describe the statistics contained in the output?
- A. dbzone is using 0.21% of the global zone's total CPU.
- B. dbzone is using 0.21% of the total CPU resource available in the zone's processor set.
- C. The network is being utilized 100% with no physical bandwidth remaining.
- D. dbzone is using 5.48% of the total physical memory that has been allocated to the zone.
- E. dbzone is using 2.37% of the global zone's total virtual memory.
正解:B、D
解説:
A: %PART The amount of cpu used as a percentage of the total cpu in a processor-set to which the zone is bound. A zone can only have processes bound to multiple processor sets if it is the global zone,or if psrset(1m) psets are used. If multiple binding are found for a zone,it's %PART is the fraction used of all bound psets. For [total] and [system],%PART is the percent used of all cpus on the system.
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.
質問 # 150
ServerA contains two ISO images of a package repository named so1.repo.iso-a and so1.repo.iso-b respectively. You need to create a single local package repository on server that clients can connect to. The package repository will be stored on the /export/IPS file system and named repo. The preferred publisher will be named solaris and the publisher URL will be http://serverA.example.com.
Which is the correct procedure to perform on ServerA to create the local Package repository?
- A. cat so1.repo,iso-a so1.repo.iso-b > /export/IPS/repo.isoMount the ISO image and copy the repo directory from the ISO image to /export/IPS/reposet the pkg/inst_root property and the pkg/readonly property to /export/IPS/reposet the preferred pkg/inst_root property by using pkg set-publisher - G http://serverA.example.com/ \- g http://pkg.oracle.com/solaris.com/release/- p solaris
- B. cat so1.repo.iso-a sol.repo.iso-b > so1.full.isoMount the ISO image and use the rsync command to extract the contents of the ISO file to the /export/IPS file system.Set the pkg/inst_root property to /export/IPS/repo and the pkg/readonly property to true.Set the preferred publisher by using pkg set-publisher -Ghttp://pkg.oracle.com/solaris/release/ \-g http"//serverexample.com/ solaris
- C. cat so1.repo.iso-a so1.repo.iso-b > so1.full.isoMount the ISO image and use the rsync command to extract the contents of the ISO file to /export/IPS/repoSet the pkg/inst_root property to /export/IPS/repo and the pkg/readonly property to trueSet the preferred publisher by using pkg set-publisher solaris \-g http://pkg.oracle.com/
- D. cat so1.repo.iso-a so1.repo.iso-b > /export/IPS/repoSet the pkg/inst_root property to true and the pkg/readonly property to /export/IPSSet the preferred publisher by using pkg set-publisher -G http://serverA.example.com/ \-g http://pkg/oracle.com/solaris/rekease/solaris
正解:A
解説:
Concatenate the files into one file using the cat command.
Make the contents of the repository .iso file available using the mount command.
To increase the performance of repository accesses and to avoid the need to remount
the .iso image each time the system restarts,copy the repository files from /mnt/repo/to a
ZFS file system. You can do this copy with rsync or with tar.
質問 # 151
Oracle Solaris 11 limits access to the system with usernames and passwords
The usernames are held in ___________, and the passwords are held in ___________.
Select the correct pair.
- A. /etc/passwd /etc/shadow
- B. /etc/shadow /etc/passwd
- C. /etc/security/policy.conf /etc/passwd
- D. /etc/security /etc/passwd
正解:A
解説:
The /etc/passwd file contains basic user attributes. This is an ASCII file that contains an entry for each user. Each entry defines the basic attributes applied to a user.
/etc/shadow file stores actual password in encrypted format for user's account with additional properties related to user password i.e. it stores secure user account information. All fields are separated by a colon (:) symbol. It contains one entry per line for each user listed in /etc/passwd file.
質問 # 152
After installing the OS, the following network configuration information is displayed from the system:
Which option describes the state of this server?
- A. The network interface is configured with a static IP address.
- B. The automatic network configuration option was chosen during the installation of the OS.
- C. The network was not configured during the installation of the OS.
- D. The manual network configuration option was chosen during the installation of the OS.
正解:C
解説:
Only the loopback addresses are configured. No IP address is configured.
質問 # 153
Which two accurately describe the Solaris IPS repository?
- A. It contains a collection of software packages.
- B. It contains a collection of operating system patches.
- C. The packages in a catalog are associated with a specific publisher.
- D. It is an ISO image of the Solaris installation media.
- E. All packages within an IPS package repository reside in a catalog.
正解:A、C
解説:
Explanation/Reference:
Explanation:
Image Packaging System (IPS) is a new network based package management system included in Oracle Solaris 11. It provides a framework for complete software lifecycle management such as installation, upgrade and removal of software packages. IPS also enables you to create your own software packages, create and manage package repositories, and mirror existing package repositories.
Oracle Solaris software is distributed in IPS packages. IPS packages are stored in IPS package repositories, which are populated by IPS publishers.
E: The following command displays property information about the local repository.
$ pkgrepo get -s /export/repoSolaris11
SECTION PROPERTY VALUE publisher prefix solaris repository description This\ repository\ serves\ a\ copy\ of\ the\ Oracle\ Solaris\ 11\ Build\ 175b\ Package\ Repository.
repository name Oracle\ Solaris\ 11\ Build\ 175b\ Package\ Repository
repository version 4
The value of the publisher prefix specifies that solaris is to be used in the following cases:
When more than one publisher's packages are present and no publisher is specified in the package name in the pkg command When packages are published to the repository and no publisher is specified.
質問 # 154
Which four can the SMF notification framework be configured to monitor and report?
- A. service fault management events
- B. services that have been disabled
- C. processes that have been killed
- D. legacy services that have not started
- E. service dependencies that have stopped or faulted
- F. all service transition states
- G. service configuration modifications
正解:A、B、C、F
解説:
Note 1: State Transition Sets are defined as:
to<state>
Set of all transitions that have <state> as the final state of the transition.
form-<state>
Set of all transitions that have <state> as the initial state of the transition.
< state>
Set of all transitions that have <state> as the initial state of the transitional.
Set of all transitions. (A)
Valid values of state are maintenance, offline (G), disabled (E), online and degraded. An example of a transitions set definition: maintenance, from-online, to-degraded.
F: In this context, events is a comma separated list of SMF state transition sets or a comma separated list of FMA (Fault Management Architecture) event classes. events cannot have a mix of SMF state transition sets and FMA event classes. For convenience, the tags problem- {diagnosed, updated, repaired, resolved} describe the lifecycle of a problem diagnosed by the FMA subsystem - from initial diagnosis to interim updates and finally problem closure.
Note 2:
SMF allows notification by using SNMP or SMTP of state transitions. It publishes Information Events for state transitions which are consumed by notification daemons like snmp-notify(1M) and smtp-notify(1M). SMF state transitions of disabled services do not generate notifications unless the final state for the transition is disabled and there exist notification parameters for that transition. Notification is not be generated for transitions that have the same initial and final state.
質問 # 155
......
Oracle 1Z0-821 (Oracle Solaris 11 System Administration) 認定試験は、Oracle Solaris 11 オペレーティングシステム上で実行されるシステムの管理と管理に関するスキルと知識を検証したい IT プロフェッショナル向けに設計されています。この認定試験には、Oracle Solaris 11 オペレーティングシステムのインストール、設定、管理、ネットワーク、セキュリティ、仮想化など、幅広いトピックが含まれます。この試験は、候補者が実際の環境で Oracle Solaris 11 システム管理に関連するタスクを実行する能力をテストするように設計されています。
1Z0-821別格な問題集で最上級の成績にさせる1Z0-821問題:https://www.jpntest.com/shiken/1Z0-821-mondaishu
手に入れよう!最新1Z0-821認定の有効な試験問題集解答:https://drive.google.com/open?id=1b84BfA4usmy7lrHnWZ9x6l4IetAnWnlA