Real Oracle 1Z0-821 Exam Questions [Updated 2022]
1Z0-821 Exam Dumps Pass with Updated 2022 Oracle Solaris 11 System Administration
Oracle 1Z0-821 Exam Syllabus Topics:
| Topic | Details |
|---|---|
| Topic 1 |
|
| Topic 2 |
|
| Topic 3 |
|
| Topic 4 |
|
| Topic 5 |
|
| Topic 6 |
|
| Topic 7 |
|
| Topic 8 |
|
| Topic 9 |
|
| Topic 10 |
|
| Topic 11 |
|
NEW QUESTION 112
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 total CPU resource available in the zone's processor set.
- B. The network is being utilized 100% with no physical bandwidth remaining.
- C. dbzone is using 5.48% of the total physical memory that has been allocated to the zone.
- D. dbzone is using 0.21% of the global zone's total CPU.
- E. dbzone is using 2.37% of the global zone's total virtual memory.
Answer: A,C
Explanation:
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.
Reference: man zonestat
NEW QUESTION 113
View the exhibit to inspect the file system configuration on your server.
View the Exhibit to inspect the file system configuration on your server.
Your department's backup policy is to perform a full backup to a remote system disk on Saturday.
On Sunday through Friday, you are to perform a differential backup to the same remote system disk:
Following your company policy, which option describes a valid procedure for backing up the /data file system to a remote disk named /remote/backup?
- A. Option D
- B. Option A
- C. Option C
- D. Option B
Answer: C
NEW QUESTION 114
You are attempting to troubleshoot an event that should have made an entry into the messages log. This event happened about two weeks ago. Which file should you look at first?
- A. /var/adm/messages.2
- B. /var/adm/messages.0
- C. /var/adm/messages.3
- D. /var /adm/messagas.1
- E. /var/adm/messages
Answer: E
Explanation:
The /var/adm/messages is the file to which all the messages printed on the console are logged to by the Operating System. This helps to track back check the console messages to troubleshoot any issues on the system.
Syslog daemon also writes to this /var/adm/messages file.
The /var/adm/messages file monitored and managed by newsyslog and its configuration file is /usr/lib/newsyslog.
This script runs as the roots cron job everyday, checks the /var/adm/messages file and copies/moves it to /var/adm/messages.0, 1, 2, 3, 4, 5, 6, 7. In other words, it does the Log Rotation for the /var/adm/messages.
In an event the /var file system is running out of space, these files needs to checked and can be removed (not the actual /var/adm/messages itself) to free up space on the file system.
However, care has to be taken, if you decide to empty the /var/adm/messages itself for any reason. This process is called Truncation.
SOLARIS SYSTEM ADMIN TIPS, /var/adm/messages
NEW QUESTION 115
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 origin for the publisher
- C. pkg set-publisher to set the stickiness on the http://server1.example.com publisher and unset stickiness for http://pkg.oracle.com/solaris/release
- D. pkg publisher to specify the new publisher
Answer: B
Explanation:
Explanation/Reference:
Explanation:
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
NEW QUESTION 116
You wish to edit your crontab file that is located in /var/spool/cron/crontab. What command must you enter to edit this file?
- A. crontab -r
- B. crontab -e /etc/default/cron
- C. crontab -e
- D. crontab -e /var/spool/cron/crontab
Answer: C
Explanation:
Explanation/Reference:
Explanation:
The main tool for setting up cron jobs is the crontab command, though this is not available on every Unix variant. Typically under Solaris or Linux one would create a new crontab or edit an existing one, using the command;
crontab -e
Use the ls -l command to verify the contents of the/var/spool/cron/crontabs file.
NEW QUESTION 117
Review the boot environments displayed on your system:
Which option describes the solaris-1 BE?
- A. It is unbootable.
- B. It is active now.
- C. It has been removed and will no longer be available after the next reboot.
- D. It is active on the next reboot.
- E. It is inactive.
- F. It is active now and on reboot.
Answer: F
Explanation:
In the below output,NR (now running) means the BE is active now and will be the active BE
on reboot.
Example:
Display your existing BE information.
# beadm list
BE Active Mountpoint Space Policy Created
solaris NR / 12.24G static 2011-10-04 09:42 You create a flash archive of the Solaris 10 global zone on the serves named sysA. The archive name is s10-system.flar,and it is stored on a remote server named backup_server.
NEW QUESTION 118
A change in your company's security policy now requires an audit trial of all administrators assuming the sysadm role,capturing:
There are two command necessary to accomplish this change. One is a rolemod command. What is the other?
- A. auditconfig set flags=lo,ex sysadm
- B. auditconfig -setpolicy +argv
- C. auditconfig set policy=argv
- D. auditconfig -setflags lo,ex sysadm
Answer: B
Explanation:
Audit Significant Events in Addition to Login/Logout (see step 2 below)
Use this procedure to audit administrative commands,attempts to invade the system,and
other significant events as specified by your site security policy.
For all users and roles,add the AUE_PFEXEC audit event to their preselection mask.
# usermod -K audit_flags=lo,ps:no username
# rolemod -K audit_flags=lo,ps:no rolename
# auditconfig -setpolicy +argv
3- Record the environment in which audited commands are executed.
# auditconfig -setpolicy +arge
Note: [-t] -setpolicy [+|-]policy_flag[,policy_flag ...]
Set the kernel audit policy. A policy policy_flag is literal strings that denotes an audit policy.
A prefix of + adds the policies specified to the current audit policies. A prefix of - removes
the policies specified from the current audit policies. No policies can be set from a local
zone unless the perzone policy is first set from the global zone.
NEW QUESTION 119
Review the storage pool information:
Choose the correct procedure to repair this storage pool.
- A. Shut the system down, replace disk c3t3d0, and boot the system. When the system is booted, execute the zpool clear pool1 command.
- B. Shut the system down, replace disk c3t3d0, and boot the system. When the system is booted execute the zpool online pool1 command.
- C. Shut the system down, replace disk c3t3d0, and boot the system. When the system is booted, execute the zpool replace pool1 c3t3d0 command.
- D. Shut the system down, replace disk c3t3d0, and boot the system. When the system is booted, execute the zpool replace pool1 c3t3d0 c3t3d0 command.
Answer: C
Explanation:
Explanation/Reference:
Explanation:
You might need to replace a disk in the root pool for the following reasons:
The root pool is too small and you want to replace it with a larger disk The root pool disk is failing. In a non-redundant pool, if the disk is failing so that the system won't boot, you'll need to boot from an alternate media, such as a CD or the network, before you replace the root pool disk.
In a mirrored root pool configuration, you might be able to attempt a disk replacement without having to boot from alternate media. You can replace a failed disk by using the zpool replace command.
Some hardware requires that you offline and unconfigure a disk before attempting the zpool replace operation to replace a failed disk.
For example:
# zpool offline rpool c1t0d0s0
# cfgadm -c unconfigure c1::dsk/c1t0d0
<Physically remove failed disk c1t0d0>
<Physically insert replacement disk c1t0d0>
# cfgadm -c configure c1::dsk/c1t0d0
# zpool replace rpool c1t0d0s0
# zpool online rpool c1t0d0s0
# zpool status rpool
<Let disk resilver before installing the boot blocks>
SPARC# installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/c1t0d0s0 x86# installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c1t9d0s0
NEW QUESTION 120
You have edited /etc/profile to include the lines:
dennis_says=hello
export dennie_says
You have also edited /etc/skel/local.profile to include the line:
dennis_says=world
You now create a new user account brian, and specify use of the bash shell. When brian logs in and enters
Echo $dennis_says
What will he see, and why?
- A. hello, because the local.profile entry is not automatically sourced on login
- B. hello, because the global /etc/profile entry overrides the local.profile entry
- C. hello, because the value specified in local.profile was not exported
- D. nothing, because the variable was not exported in local.profile
- E. world, because the local.profile entry will be executed last
Answer: E
Explanation:
Explanation/Reference:
Explanation:
The $HOME/.profile file is an initialization file that is executed after the /etc/profile when logging in to the Bourne or Korn shell. The file contains user preferences for variable settings. If the ENV variable is set to
.kshrc, the .kshrc file executes every time a new shell begins execution. The $HOME/.profile is copied from the /etc/skel/local.profile file by the Administration Tool when creating a new account.
Note: /etc/skel/local.profile
Per-system configuration file for
sh/ksh/ksh93/bash login sessions,
installed for new users
NEW QUESTION 121
To confirm the IP address and netmask have been correctly configured on the network interfaces which command should you use?
- A. ipadm show-addr
- B. ipadm show-nic
- C. ipadm show-addripadm show-mask
- D. ipdilm show-if
- E. ipadm show-ifconfig
Answer: A
Explanation:
Explanation/Reference:
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
NEW QUESTION 122
User jack logs in to host Solaris and executes the following command sequence:
Which three statements are correct?
- A. User jill can change the permissions of testfile because she has write permission for the file at the group level.
- B. User jack can change permissions for testfile because he is the owner of the file.
- C. User jack can change permissions for testfile because he has execute permission for the file.
- D. User jack can edit testfile because he has read and write permissions at the group level.
- E. User jack can use cat to output the contents of testfile because he has read permission as the file owner.
- F. User jill can edit testfile because she has read and write permission at the group level.
Answer: B,C,F
NEW QUESTION 123
Review the boot environments displayed on your system:
Which option describes the solaris-1 BE?
- A. It is unbootable.
- B. It is active now.
- C. It has been removed and will no longer be available after the next reboot.
- D. It is active on the next reboot.
- E. It is inactive.
- F. It is active now and on reboot.
Answer: F
Explanation:
Explanation/Reference:
Explanation:
In the below output, NR (now running) means the BE is active now and will be the active BE on reboot.
Example:
Display your existing BE information.
# beadm list
BE Active Mountpoint Space Policy Created
-- ------ ---------- ----- ------ -------
solaris NR / 12.24G static 2011-10-04 09:42
NEW QUESTION 124
The current ZFS configuration on your server is:
pool1 124K 3.91G 32K /pool1
pool1/data 31K 3.91G 31K /data
You need to create a new file system named /data2. /data2 will be a copy of the /data file system.
You need to conserve disk space on this server whenever possible.
Which option should you choose to create /data2, which will be a read writeable copy of the /data file system, while minimizing the amount of total disk space used in pool1?
- A. zfssnapshot pool1/data@nowzfssetmountpoint=/data2,comptession=on pool1/data@now
- B. zfs snapshot pool1/data@nowzfs clone -o mountpoint=/data2 ocompression=onpool1/data@now pool1/data2
- C. zfs set mountpoint=/data2 compression=on pool1/data2
- D. zfs create snapshot pool1/data@nowzfs sendpool1/data@now|zfs recv pool1/data2
- E. zfs create snapshot pool1/data@nowzfs clone -o mountpoint=/data2 pool1/data@nowpool1/data2
- F. zfs snapshot pool1/data@nowzfs clone -o mountpoint=/data2 pool1/data@now pool1/data2
Answer: B
Explanation:
zfs snapshot [-r] [-o property=value] ... filesystem@snapname|volume@snapname
Creates a snapshot with the given name. All previous modifications by successful system calls to
the file system are part of the snapshot
zfs clone [-p] [-o property=value] ... snapshot filesystem|volume
Creates a clone of the given snapshot.
Note:
Because snapshots are fast and low overhead, they can be used extensively without great
concern for system performance or disk use .
With ZFS you can not only create snapshot but create a clone of a snapshot.
A clone is a writable volume or file system whose initial contents are the same as the dataset from
which it was created. As with snapshots, creating a clone is nearly instantaneous, and initially
consumes no additional disk space. In addition, you can snapshot a clone.
A clone is a writable volume or file system whose initial contents are the same as the original
dataset. As with snapshots, creating a clone is nearly instantaneous, and initially consumes no
additional space.
Clones can only be created from a snapshot. When a snapshot is cloned, it creates an implicit
dependency between the parent and child.
Reference: man zfs
NEW QUESTION 125
Which three options describe the purpose of the zonep2vchk command?
- A. Used to create zonecfg template for a Solaris 10 global zone that that will be migrated to a solaris10 branded zone.
- B. Used on a Solaris 10 global zone to access the system for problems before migrating that system to a Solaris 10 branded zone.
- C. Used to access a Solaris 10 global zone for problems before migrating that zone to a Solaris 11 global zone
- D. Used to migrate a Solaris 10 global zone to a non-global zone on the same server; the non-global zone can then be migrated to a Solaris 11 server as a Solaris10 branded zone.
- E. Used to migrate an Oracle Solaris 11 global zone to a non-global zone.
Answer: A,D,E
Explanation:
Explanation/Reference:
Explanation:
zonep2vchk
- check a global zone's configuration for physical to virtual migration into non-global zone The zonep2vchk utility is used to evaluate a global zone's configuration before the process of physical-to- virtual (p2v) migration into a non-global zone.
The p2v process involves archiving a global zone (source), and then installing a non-global zone (target) using that archive Zonep2vchk serves two functions. First, it can be used to report issues on the source which might prevent a successful p2v migration. Second, it can output a template zonecfg, which can be used to assist in configuring the non-global zone target.
Zonep2vchk can be executed on a Solaris 10 or later global zone. To execute on Solaris 10, copy the zonep2vchkutility to the Solaris 10 source global zone.
When run on Solaris 10, a target release of S11 can be specified, which will check for p2v into a Solaris 10 Branded zone.
NEW QUESTION 126
Which operation will fail if the DNS configuration is incorrect?
- A. ping www.oracle.com.
- B. cat/etc/resolv.conf
- C. ping 23.45.82.174
- D. ping 192.168.1.1
- E. ping localhost.
- F. domainname
Answer: A
Explanation:
www.oracle.comwould have to be resolved to an IP name by the domain name service.
NEW QUESTION 127
......
1Z0-821 Exam Dumps, 1Z0-821 Practice Test Questions: https://www.testkingfree.com/Oracle/1Z0-821-practice-exam-dumps.html
Free 1Z0-821 Exam Dumps to Pass Exam Easily: https://drive.google.com/open?id=1CiR-fVeSCcy2_kAp0ChWHSKrm2Ru2GG5