Guaranteed Success in Oracle Solaris 1Z0-821 Exam Dumps [Q42-Q64]

Share

Guaranteed Success in Oracle Solaris 1Z0-821 Exam Dumps

Oracle 1Z0-821 Daily Practice Exam  New 2022 Updated 245 Questions


Oracle 1Z0-821 Exam Syllabus Topics:

TopicDetails
Topic 1
  • Managing password algoritgms
  • Manage user initialization files
  • Setting Up and Administering Data Storage
Topic 2
  • Explain basic networking concepts
  • Troubleshoot installation issues
Topic 3
  • Troubleshoot zone and resource utilization issues
  • Explain key user management concepts
Topic 4
  • Administer ZFS Snapshots and Clones
  • Administer an Oracle Solaris zone
  • Schedule system administration tasks
Topic 5
  • Determine the current zones configuration and resource utilization on the system
  • Installing Oracle Solaris 11 using an Interactive Installer
Topic 6
  • Troubleshoot user account and quota issues
  • Troubleshoot service and boot issues
Topic 7
  • Explain the role of the Service Management Facility (SMF)
  • Install the Oracle Solaris 11 operating system by using an interactive installer
Topic 8
  • Troubleshoot access and authentication issues
  • Plan for an Oracle Solaris 11 operating system installation
Topic 9
  • Troubleshoot file systems and storage issues
  • Setting Up and Administering User Accounts
Topic 10
  • Troubleshoot software update issues
  • Update the Oracle Solaris 11 operating system by using IPS
Topic 11
  • Managing System Processes and Scheduling System Tasks
  • Verify the operating system installation

 

NEW QUESTION 42
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. netstat-a
  • B. ifconfiq-a
  • C. svcs -1network/physical
  • D. ipadm show-addr

Answer: D

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

 

NEW QUESTION 43
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 required for all package operations
  • B. For package operations that require a reboot,this policy creates a new BE set as active on the next boot.
  • C. If a BE is created,do not set it as the active BE on the next boot
  • D. A reboot is not required after a package operation.
  • E. All package operations are performed in a new BE set as active on the next boot.
  • F. Do not create a new BE. The install,update,uninstall,or revert operation is not performed if a new BE is required.

Answer: A,B

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.

 

NEW QUESTION 44
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. zfs set mountpoint=/data2 compression=on pool1/data2
  • B. zfs create snapshot pool1/data@nowzfs clone -o mountpoint=/data2 pool1/data@now pool1/data2
  • C. zfs create snapshot pool1/data@nowzfs send pool1/data@now | zfs recv pool1/data2
  • D. zfs snapshot pool1/data@nowzfs clone -o mountpoint=/data2 -ocompression=on pool1/data@now pool1/data2
  • E. zfs snapshot pool1/data@nowzfs clone -o mountpoint=/data2 pool1/data@now pool1/data2
  • F. zfs snapshot pool1/data@nowzfs set mountpoint=/data2, comptession=on pool1/data@now

Answer: D

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.

 

NEW QUESTION 45
The line
set noexec_user_stack= l
should be added to the /etc/system file to prevent an executable stack while executing user programs.
What is the purpose of this?

  • A. help programs to execute more quickly by keeping to their own memory space
  • B. log any messages into the stack log
  • C. help prevent core dumps on program errors
  • D. help make buffer-overflow attacks more difficult

Answer: D

Explanation:
Explanation/Reference:
Explanation:
How to Disable Programs From Using Executable Stacks
Purpose: Prevent executable stack from overflowing.
You must be in the root role.
Edit the /etc/system file, and add the following line:
set noexec_user_stack=1
Reboot the system.
# reboot

 

NEW QUESTION 46
To confirm the IP addresses and netmasks have been correctly configured on the network interfaces, which command(s) should you use?

  • A. ipadm show-ip
    ipadm show-mask
  • B. ipadm show-addr
    ipadm show-mask
  • C. ipadm show-if
  • D. ipadm show-nic
  • E. ipadm show-addr
  • F. ipadm show-config

Answer: E

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.
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 47
Which network protocol provides connectionless, packet-oriented communication between applications?

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

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.

 

NEW QUESTION 48
User jack logs in to host solar in and issues the following command:
jack@solaris:-$ ls .ssh
id_dsa id_dsa.pub id_rsa id_rsa.pub known_hosts authorized_keys
Which two are true?

  • A. The authorized_keys file contains the private keys of remote users authorized to access jack'saccount on solaris.
  • B. The id_rsa file contains the private key for rhosts-based host authentication.
  • C. The known_hosts file contains the verified public keys of remote hosts known to be trusted.
  • D. The id_rsa.pub file contains the Rivest Shamir Adelman public key for the host solaris.
  • E. The id_dsa.pub file contains the Digital Signature Algorithm public key for the user jack.

Answer: B,C

Explanation:
A: You will see two files starting with id_rsa. id_rsa is the private key and id_rsa.pub is public key.
E: The .ssh/known_hosts file
In order to use public-key secure connection with other hosts (ssh, scp, sftp) there is a special directory, ~/.ssh/, where passphrases and public keys are stored. Normally you wouldn't need to know the gory details, but from time to time a host will change its public key and then you have difficulty using ssh or scp with that host, and have to edit a file named known_hosts. If you try to ssh to another computer, but get an error message that warns about a changed or incorrect public key, then it is probably just a case of that host changing its public key. (It is possible, though usually not the case, that malicious hacking is involved.) Unless you actuallysuspect hacker involvement, you can edit the file ~/.ssh/known_hosts using your usual text editor (vi, emacs, nedit, or pico) and delete any line with the name of that host.
Then when you try to ssh that host again, it will be like the first time ever; ssh will ask you if you want to accept a new public key, you type the whole word yes, and everything will proceed normally from there.
Here is what a typical ~/.ssh/known_hosts file might contain. Note that newton is represented on two different lines:
newton 1024 35 153438062610297067329638677441205712613292203533062535600064224677647442245028 855505387934431717435134842994423656065076260604296084868001730665553662299156 116414854701274715680961503198280525759778667306417179500370189017139564144825 610347509023078143132936185076849630461827976942220442313116255293297021841 ucsub 1024 37 132170811640421742212085598383135714069016332111955003414250071326834884018721 183646445780180633494496866895830879394309011412231102757022090299732775466435 482517698989962531081214859205054227533597152962802400251809883548442498002326 460312850336779152617243800769119880843882425555806081435017335194477605333 simpson 1024 41 840896920592494584403453622735282634536002054701576247765078766974814128393752 943151071629834843909016027026612791643752972116459602750267266908365259665072 736159491719667576217171370458928680504368847255632477925660234893185547218857 65548457461907512536847079297627580626353420887972219277539015703446529603 newton,128.138.249.8 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEA0d7Aoure0toNJ+YMYi61QP2ka8m5x5ZQlT7obP8CK3eropf qsMPPY6uiyIh9vpiFX2r1LHcbx139+vG6HOtVvuS8+IfMDtawm3WQvRuOopz3vVy5GtMwtaOgehs XoT930Ryev1bH5myPtWKlipITsOd2sX9k3tvjrmme4KCGGss=
Reference: How to Generate a Public/Private Key Pair for Use With Solaris Secure Shell

 

NEW QUESTION 49
Which three files must be edited in order to set up logging of all failed login attempts?

  • A. /etc/default/login
  • B. /etc/syslog.conf
  • C. /var/adm/loginlog
  • D. /var/adm/authlog

Answer: A,B,D

Explanation:
How to Monitor All Failed Login Attempts
This procedure captures in a syslog file all failed login attempts.
Assume the Primary Administrator role, or become superuser.
1. Assume the Primary Administrator role, or become superuser.
2. (C) Set up the /etc/default/login file with the desired values for SYSLOG and SYSLOG_FAILED_LOGINS
3. (A) Create a file with the correct permissions to hold the logging information.
Create the authlog file in the /var/adm directory.
4. (B) Edit the syslog.conf file to log failed password attempts.

 

NEW QUESTION 50
A user account must be a member of a primary group,and may also be a member of one or more secondary groups. What is the maximum total number of groups that one user can concurrently belong to?

  • A. 0
  • B. 1
  • C. 2
  • D. 3
  • E. 4
  • F. 5
  • G. The number of groups one user can concurrently belong to is unlimited in Solaris 11.

Answer: F

Explanation:
Each user belongs to a group that is referred to as the user's primary group. The GID
number,located in the user's account entry within the /etc/passwd file,specifies the user's
primary group.
Each user can also belong to up to 15 additional groups,known as secondary groups. In
the /etc/group file,you can add users to group entries,thus establishing the user's
secondary group affiliations.
Note (4 PSARC/2009/542):
his project proposes changing the maximum value for NGROUPS_MAX
from 32 to 1024 by changing the definition of NGROUPS_UMAX from 32
to 1024.
The use for a larger number of groups is described in CR 4088757,
particular in the case of Samba servers and ADS clients; the Samba servers map every SID to a Unix group. Users with more than 32 groups SIDs are common. We've seen reports varying from "64 is enough","128 is absolutely enough" and "we've users with more 190 group SIDS).
NGROUPS_MAX as defined by different Unix versions are as follows (http://www.j3e.de/ngroups.html):
Linux Kernel >= 2.6.3 65536 Linux Kernel < 2.6.3 32 Tru64 / OSF/1 32 IBM AIX 5.2 64 IBM AIX 5.3 ... 6.1 128 OpenBSD,NetBSD,FreeBSD,Darwin (Mac OS X) 16 Sun Solaris 7,8,9,10 16 (can vary from 0-32)
HP-UX 20 IRIX 16 (can vary from 0-32) Plan 9 from Bell Labs 32 Minix 3 0 (Minix-vmd: 16) QNX 6.4 8

 

NEW QUESTION 51
Examine this command and its output:
$ zfs list -r -t all tank
Name USED AVAIL REFER MOUNTPOINT
tank 3.00G 1.84G 32K /tank
tank/database 3.00G 1.84G 2.00G /tank/database
tank/[email protected] 1.00G - 2.00G -
Which two conclusions can be drawn based on this output?

  • A. The tank dataset consumes 3 GB of storage.
  • B. The tank/[email protected] dataset consumes 1 GB of storage that is shared with its parent.
  • C. The tank/[email protected] dataset consumes 2 GB of storage that is shared with its child.
  • D. The tank/[email protected] dataset consumes 1 GB of storage that is not shared with its parent.
  • E. The tank/[email protected] dataset consumes 2 GB of storage that is not shared with its child.

Answer: A,B

 

NEW QUESTION 52
You want to install the openldap software package to a now boot environment for testing before introducing the now software package to the production environment. What option describes the correct procedure to:
1) create a new BE named nowBE
2) install the software to that new BE only

  • A. beadm create newBEbeadm activate newBEpkg installopenldap
  • B. pkg install --be-nama newBE openldap
  • C. pkg install --newBE openldap
  • D. beadmcreate newBEbeadmmount newBE /mntpkg -R /mntupdate openldap

Answer: A

Explanation:
If you want to create a backup of an existing boot environment, for example, prior to modifying the original boot environment, you can use the beadm command to create and mount a new bootenvironment that is a clone of your active boot environment. This clone is listed as an alternate boot environment in the GRUB menu for x86 systems or in the boot menu for SPARC systems.
When you clone a boot environment by using the beadm create command, all supported zones in that boot environment are copied into the new boot environment.
How to Create a Boot Environment
1.Become the root role.
2.Create the boot environment.
# beadm create BeName
BeName is a variable for the name of the new boot environment. This new boot environment is
inactive.
3.(Optional) Use the beadm mount command to mount the new boot environment.
# beadm mount BeName mount-point
Note: If the directory for the mount point does not exist, the beadm utility creates the directory, then mounts the boot environment on that directory.
If the boot environment is already mounted, the beadm mount command fails and does not remount the boot environment at the newly specified location.
4. (Optional) Activate the boot environment.
# beadm activate BeName
BeName is a variable for the name of the boot environment to be activated.
On reboot, the newly active boot environment is displayed as the default selection in the x86 GRUB menu or the SPARC boot menu.
Reference: Creating and Administering Oracle Solaris 11 Boot Environments, Creating a Boot Environment

 

NEW QUESTION 53
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/security /etc/passwd
  • B. /etc/passwd /etc/shadow
  • C. /etc/security/policy.conf /etc/passwd
  • D. /etc/shadow /etc/passwd

Answer: B

Explanation:
Explanation/Reference:
Explanation:
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.

 

NEW QUESTION 54
dbzone is currently running on your server.
Which two methods would you use to safely and cleanly shut down dbzone and all of its applications?

  • A. zoneadm -z dbzone shutdown
  • B. zoneadm -z dbzone halt
  • C. zlogin dbzone shutdown -i0
  • D. zoneadm -z dbzone shutdown -i0
  • E. zlogin -z dbzone halt

Answer: B,C

Explanation:
Explanation/Reference:
Explanation:
D: zoneadm halt command halts the specified zones. halt bypasses running the shutdown scripts inside the zone. It also removes run time resources of the zone.
E: Use: zlogin zone shutdown
to cleanly shutdown the zone by running the shutdown scripts.
Use this procedure to cleanly shut down a zone.
1. Become superuser, or assume the Primary Administrator role.
2. Log in to the zone to be shut down, for example, my-zone, and specify shutdown as the name of the utility and init 0 as the state global# zlogin my-zone shutdown -y -g0 -i 0

 

NEW QUESTION 55
You need to install the solaris-desktop group package. Which command would you use to list the set of packages included in that software group?

  • A. pkg search
  • B. pkginfo
  • C. pkg info
  • D. pkg contents

Answer: A

Explanation:
Use the pkg search command to search for packages whose data matches the specified pattern.
Like the pkg contents command,the pkg search command examines the contents of packages. While the pkg contents command returns the contents,the pkg search command returns the names of packages that match the query.

 

NEW QUESTION 56
The line
set noexec_user_stack= l
should be added to the /etc/system file to prevent an executable stack while executing user programs. What is the purpose of this?

  • A. help programs to execute more quickly by keeping to their own memory space
  • B. log any messages into the stack log
  • C. help prevent core dumps on program errors
  • D. help make buffer-overflow attacks more difficult

Answer: D

Explanation:
How to Disable Programs From Using Executable Stacks
Purpose: Prevent executable stack from overflowing.
You must be in the root role.
Edit the /etc/system file,and add the following line:
set noexec_user_stack=1
Reboot the system.
# reboot

 

NEW QUESTION 57
Your server has a ZFS storage pool that is configured as follows:

The server has two spate 140-GB disk drives: c3t5d0 c3t6d0
Which command would add redundancy to the pool1 storage pool?

  • A. zpool attach pool1 c3t5d0 c3t6d0
  • B. zpool mirror pool1 c3t5d0 c3t6d0
  • C. zpool attach pool1 c3t3d0 c3c5d0; zpoo1 attach pool1 c3t4d0 c3t6d0
  • D. zpool add raidz pool1 c3t5d0 c3t6d0
  • E. zpool add pool1 mirror c3t5d0 c3t6d0

Answer: A

Explanation:
You can convert a non-redundant storage pool into a redundant storage pool by using the zpool attach command.
Note: zpool attach [-f] pool device new_device Attaches new_device to an existing zpool device. The existing device cannot be part of a raidz configuration. If device is not currently part of a mirrored configuration, device automatically transforms into a two-way mirror of device and new_device. If device is part of a two-way mirror, attaching new_device creates a three-way mirror, and so on. In either case, new_device begins to resilver immediately.
Reference: Converting a Non-Redundant ZFS Storage Pool to a Mirrored ZFS Storage Pool
Reference: man zpool

 

NEW QUESTION 58
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. echo 192.168.1.1 >/etc/defaultrouter
  • B. echo 192.168.1.1 >/etc/gateway
  • C. ipadm set-gateway 192.168.1.1
  • D. dladm route-add -d 192.168.1.1
  • E. route add default 192.168.1.1
  • F. ipadm set-default 192.168.1.1

Answer: A,E

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

 

NEW QUESTION 59
You are asked to troubleshoot networking issues on an unfamiliar system.
Select the correct command to display what network devices are installed.

  • A. ifconfig -a
  • B. dladm show-ether
  • C. dladm show-phys
  • D. netadm show-ether
  • E. dladm show-dev
  • F. netadm show-dev

Answer: E

Explanation:
dladm show-dev
Shows information for all devices or the specified device.

 

NEW QUESTION 60
Which three options describe the purpose of the zonep2vchk command?

  • A. 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.
  • B. Used to access a Solaris 10 global zone for problems before migrating that zone to a Solaris 11 global zone
  • C. Used to create zonecfg template for a Solaris 10 global zone that that will be migrated to a solaris10 branded zone.
  • D. Used to migrate an Oracle Solaris 11 global zone to a non-global zone.
  • E. Used on a Solaris 10 global zone to access the system for problems before migrating that system to a Solaris 10 branded zone.

Answer: A,C,D

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.
Reference: man zonep2vchk

 

NEW QUESTION 61
A user jack, using a korn shell, requests a directory listing as follows:
jack@solaris:/export/home/jack $ 1s
file filea Filea fileb Fileb filec Filec
Which two statements are correct?

  • A. The pattern [g-e] * will expand to file filea fileb filec.
  • B. The pattern [gfe] * will expand to file filea fileb filec.
  • C. The pattern [?i]*a will expand to fileaFilea.
  • D. The pattern [fF] [a-zA-z]i*e will expand to file.
  • E. The pattern [fF]*a? will expand to [fF] *a?.

Answer: B,C

Explanation:
A:starting withone singlecharacter,second character must be letter i,any characters,
ending with letter a.
C: starting with letter e, f, or g, followed by anything.

 

NEW QUESTION 62
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 /var/spool/cron/crontab
  • C. crontab -e
  • D. crontab -e /etc/default/cron

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 63
You are troubleshooting interface net3 and you enter the following sequence of commands:

Your next command should be:

  • A. ipadm up-addr net3/v4
  • B. ipadm enable-if -T net3
  • C. ipadm create-addr -T static -a 192.168.1.25/24 net3
  • D. ipadm create-ip -T static -a 192.168.1.25/24 -n net3
  • E. <ipadm create-vnic -a 192.168.1.25/24 net3/v4

Answer: C

Explanation:
Explanation/Reference:
Explanation:
If you are assigning a static IP address, use the following syntax:
# ipadm create-addr -T static -a address addrobj
where addrobj uses the naming format interface/user-defined-string, such as e1000g0/v4globalz.
Note:
create-addr [-t] -T static [-d] -a {local | remote}=addr[/prefixlen], ... addrobj Creates a static IPv4 or IPv6 address on the interface specified in addrobj. If the interface on which the address is created is not plumbed, this subcommand will implicitly plumb the interface. The created static address will be identified by addrobj.
By default, a configured address will be marked up, so that it can be used as a source or destination of or for outbound and inbound packets.

 

NEW QUESTION 64
......

Test Engine to Practice 1Z0-821 Test Questions: https://www.examdumpsvce.com/1Z0-821-valid-exam-dumps.html

Use Valid 1Z0-821 Exam - Actual Exam Question & Answer: https://drive.google.com/open?id=1IOBj-A19yzHLkPijHJJ8B-wVe754173e