2023 Realistic 1Z0-821 Dumps are Available for Instant Access [Q128-Q153]

Share

2023 Realistic 1Z0-821 Dumps are Available for Instant Access

Download Exam 1Z0-821 Practice Test Questions with 100% Verified Answers

NEW QUESTION # 128
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 set quota=none /rpool/export/home/user1
  • B. zfs userused@user1
  • C. zfs get quota rpool/export/home/user1
  • D. df -h | grep user1
  • E. zfs quota=none /rpool/export/home/user1

Answer: A

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.


NEW QUESTION # 129
You are asked to determine user jack's default login directory. Which command would provide you with useful information?

  • A. cat /etc/passwd | grep jack
  • B. cat /etc/group | grep jack
  • C. cat /etc/default/passwd | grep jack
  • D. cat /etc/shadow | grep jack

Answer: A

Explanation:
The /etc/passwd contains one entry per line for each user (or user account) of the system.
All fields are separated by a colon (:) symbol. Total seven fields as follows.
1 . Username: It is used when user logs in. It should be between 1 and 32 characters in length.
2 . Password: An x character indicates that encrypted password is stored in /etc/shadow file.
3. User ID (UID): Each user must be assigned a user ID (UID). UID 0 (zero) is reserved for root and UIDs 1-99 are reserved for other predefined accounts. Further UID 100-999 are reserved by system for administrative and system accounts/groups.
4. Group ID (GID): The primary group ID (stored in /etc/group file)
5. User ID Info: The comment field. It allow you to add extra information about the users such as user's full name, phone number etc. This field use by finger command.
6 . Home directory: The absolute path to the directory the user will be in when they log in. If this directory does not exists then users directory becomes /
7 . Command/shell: The absolute path of a command or shell (/bin/bash). Typically, this is a shell. Please note that it does not have to be a shell.


NEW QUESTION # 130
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 mount newBE /mntpkg -R /mnt update openldap
  • B. beadm create newBEbeadm activate newBEpkg install openldap
  • C. pkg install --be-nama newBE openldap
  • D. pkg install --newBE openldap

Answer: B

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 boot environment 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.


NEW QUESTION # 131
The core dump configuration for your system is:

A user is running a process in the global zone and the process crashes. The process information is:
User1 2663 2618 0 17:46:42 pts/2 0:00 /usr/bin/bash
The server host name is: zeus
What will the per-process core file be named?

  • A. core.bash.2663.zeus
  • B. /var/core/core.bash.2663
  • C. /var/core/core.bash.2663.global
  • D. core.bash.2663.global

Answer: B

Explanation:
Note the first line: global core file pattern: /globalcore/core.%f.%p
The program name is bash The runtime process ID is 2663
Note: By default, the global core dump is disabled. You need to use the coreadm command with the -e global option to enable it. The -g option causes the command to append the program name(%f) and the runtime process ID (%p) to the core file name.
Reference: Core Dump Management on the Solaris OS


NEW QUESTION # 132
Review the non-global zone configuration displayed below:

The global zone has 1024 MB of physical memory. You need to limit the non-global zone so that it uses no more than 500 MB of the global zone's physical memory. Which option would you choose?

  • A. Option E
  • B. Option B
  • C. Option D
  • D. Option C
  • E. Option A

Answer: D

Explanation:
Add a memory cap.
zonecfg:my-zone> add capped-memory
Set the memory cap.
zonecfg:my-zone:capped-memory> set physical=50m
End the memory cap specification.
zonecfg:my-zone:capped-memory> end


NEW QUESTION # 133
The crash dump notification on your server is:

Documentation states that there should be two core files for each crash dump in the /var/crash directory named vmdump.0 Which command should you choose to display theses two files?

  • A. gunzip vmdump.0
  • B. savecore -f vmdump.0
  • C. dumpadm -z off
  • D. dumpadm uncompressed

Answer: B

Explanation:
Explanation/Reference:
Explanation:
Decompress using savecore -f vmdump.0
savecore - save a crash dump of the operating system
-f dumpfile Attempt to save a crash dump from the specified file instead of from the system's current dump device. This option may be useful if the information stored on the dump device has been copied to an on- disk file by means of the dd(1M) command.


NEW QUESTION # 134
After installing the OS, you boot the system and notice that the syslogd daemon is not accepting messages from remote systems.
Which two options should you select to modify the syslogd daemon configuration so that it accepts messages from remote systems?

  • A. svccfg -s svc:/system/system-log setprop config/log_from_remote=trueRestart the syslogd daemon.
  • B. Set the following parameter in the /etc/syslogd.conf file: LOG_FROM_REMOTE= YESRestart the syslogd daemon.
  • C. Set the following parameter in the /etc/default/syslogd file:
    LOG_FROM_REMOTE=YESRestart the syslogd daemon.
  • D. svcadm enable svc:/system/system -log/config/log_from_remoteRestart the syslogd daemon.
  • E. svccfg -s svc:/system/system -log setprop start/exec= "syslogd -t"Restart the syslogd daemon.

Answer: A,B

Explanation:
B: The /etc/default/syslogd file contains the following default parameter settings. See FILES.
LOG_FROM_REMOTE
Specifies whether remote messages are logged. LOG_FROM_REMOTE=NO is equivalent to the -t command-line option. The default value for LOG_FROM_REMOTE is YES.


NEW QUESTION # 135
Examine the following command sequence:

Which three are true?

  • A. User jill, a member of the group other, can make a copy of testfile in dira.
  • B. User jill, a member of the group other, can edit the data content of testfile.
  • C. User jill, a member of the group other, cannot delete testfile.
  • D. User jill, a member of the group other, can do a long listing (1s -1) of user jack's home directory.
  • E. User oracle, not a member of the group other, cannot execute the shell script scriptfile.

Answer: A,B,C


NEW QUESTION # 136
Review the boot environment information displayed on your system:

Which two options accurately describe the newBE boot environment?

  • A. It has been deleted and will be removed at the next reboot.
  • B. It cannot be activated.
  • C. It cannot be destroyed.
  • D. It cannot be renamed.
  • E. It is activated but unbootable.
  • F. You can create a snapshot of it.

Answer: B,D

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


NEW QUESTION # 137
A user jack, using a bash shell, requests a directory listing as follows: jack@solaris: ~ $ 1s
dira dirb dirc diraa dirabc
Which three statements are correct?

  • A. The pattern dir? will expand to dira dirb dirc.
  • B. The pattern dir*a will expand to diraa.
  • C. The pattern dir*b? willexpand to dirb dirabc.
  • D. The pattern dir*a will expand to dira diraa.
  • E. The pattern dir*b? will expand to dirabc.

Answer: A,D,E

Explanation:
A: dir followed by a single letter.
C: dir followed by any characters ending with a.
D: dir followed by any characters, then character b, then one single character. only dirabc matches


NEW QUESTION # 138
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 prevent core dumps on program errors
  • B. help make buffer-overflow attacks more difficult
  • C. log any messages into the stack log
  • D. help programs to execute more quickly by keeping to their own memory space

Answer: B

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
Reference: How to Disable Programs From Using Executable Stacks


NEW QUESTION # 139
View the Exhibit and review the file system information displayed from a remote server.

You are configuring a new server. This new server has the following storage pool configured:

This new server also has the following file systems configured:

When you are finished building this new server, the pool1/data dataset must be an exact duplicate of note server. What is the correct procedure to create the pool1/data dataset on this new server?

  • A. zfs create quota=1g pool1/data
  • B. zfs create -o mountpoint=/data -o refquota=1g pool1/data
  • C. zfs create mountpoint=/data pool1/data
  • D. zfs set mountpoint=none pool1zfs create pool1/data
  • E. zfs set quota=1g pool1/data
  • F. zfs set mountpoint=none pool1zfs create -o mountpoint=/data -o quota=1g pool1/data

Answer: B

Explanation:
Explanation/Reference:
Explanation:


NEW QUESTION # 140
Review the boot environments displayed on your system:

Which option describes the solaris-1 BE?

  • A. It is active now.
  • B. It is active on the next reboot.
  • C. It is active now and on reboot.
  • D. It is unbootable.
  • E. It has been removed and will no longer be available after the next reboot.
  • F. It is inactive.

Answer: C

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 # 141
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/security/policy.conf /etc/passwd
  • C. /etc/shadow /etc/passwd
  • D. /etc/passwd /etc/shadow

Answer: D

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 # 142
You need to know the IP address configured on interface net3, and that the interface is up. Which command confirms these?

  • A. ipadm enable-if
  • B. ipadm show-addr
  • C. ipadm refresh-addr
  • D. ipadm up-addr
  • E. ipadm show-addrprop
  • F. ipadm show-if

Answer: B

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 # 143
You want to delete the IPv4 address on the interface net3. Which command should you use?

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

Answer: B

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


NEW QUESTION # 144
You are planning group names for a new system. You decide to use a numbering convention that includes the year and month the project began, to form the group number and name for work associated with that project.
So, for example, a project targeted to begin in January, 2013 would have the number (name):
201301(Pr20l301)
What are the two problems with your plan?

  • A. Group numbers should not be larger than 60000.
  • B. Group names may be no longer than 7 characters.
  • C. Group names may not contain a numeric character
  • D. Group names should be all lowercase.

Answer: A,D

Explanation:
C: The Group ID (GID) field contains the group's numerical ID. GIDs can be assigned whole numbers between 100 and 60000.
D: Group names contain only lowercase characters and numbers.
Reference: Setting Up Fields in the Group Database


NEW QUESTION # 145
When you issue the "gzip: zommand not found" message is displayed. You need to install the gzip utility on your system.
Which command would you use to check if the gzip utility is available from the default publisher for installation?

  • A. pkg list SUNWgzip
  • B. pkg search gzip
  • C. pkg info|grep gzip
  • D. pkg contents gzip

Answer: B

Explanation:
Searching for Packages
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.
pkg search
search [-HIaflpr] [-o attribute ...] [-s repo_uri] query
Search for matches to the query, and display the results.
Which tokens are indexed are action-dependent, but may include content hashes and pathnames.
Note: pkg is the retrieval client for the image packaging system. With a valid configuration, pkg can be invoked to create locations for packages to be installed, called 'images', and install packages into those images.
Packages are published by publishers, who may make their packages available at one or more repositories.
pkg, then, retrieves packages from a publisher's repository and installs them into an image.


NEW QUESTION # 146
.Which two are user definable OpenBoot parameters that can be set in the OpenBoot PROM?

  • A. IP address for the system console
  • B. verbose hardware diagnostics
  • C. default boot device
  • D. host ID
  • E. powering off the hardware
  • F. system date and time

Answer: B,C

Explanation:
The NVRAM chip stores user-definable system parameters, also referred to as
NVRAM variables or EEPROM parameters. The parameters allow administrators to control
variables such
as the default boot device and boot command. The NVRAM also contains writeable areas for
user-controlled diagnostics, macros, and device aliases. NVRAM is where the system
identification information is stored, such as the host ID, Ethernet address, and time-of-day (TOD)
clock.
Examples ofNVRAM variables:
Variable Default Description
boot-device disk or net The device from which to start up.
diag-device net The diagnostic startup source device.
diag-file Empty string Arguments passed to the startup program in diagnostic mode.
diag-switch? false Whether to run in diagnostic mode
Reference: OpenBoot 4.x Command Reference Manual


NEW QUESTION # 147
You need to configure an ISCSI target device on your x86 based Oracle Solaris II system. While configuring the iSCSI device, the following error is displayed:
bash: stmfadm: command not found
Which option describes the solution to the problem?

  • A. Start the iSCSI target daemon on this system.
  • B. The COMSTAR feature is not supported on the x86 platform. The feature is supported only on the SPARC platform.
  • C. Use the iscsitadm command on the x86 platform when configuring an iSCSI target.
  • D. Install the storage-server group package on this system.

Answer: D

Explanation:
Explanation/Reference:
Explanation:
STMF - Manages transactions, such as context and resources for Small Computer System Interface (SCSI) command execution, and tracking logical unit and port providers. STMF also handles logical unit mappings, allocating memory, recovering failed operations, enumeration, and other necessary functions of an I/O stack.
STMF is controlled by stmfadm, and stmfadm is the majority of the commands you will be using to administer COMSTAR (COmmon Multiprotocl Scsi TARget).
Install the packages you need for COMSTAR with iSCSI and reboot:
# pfexec pkg install storage-server
# pfexec pkg install SUNWiscsit
# shutdown -y -i6 -g0
Note: You can set up and configure a COMSTAR Internet SCSI (iSCSI) target and make it available over the network. The iSCSI features can work over a normal Internet connection (such as Ethernet) using the standard iSCSI protocol. The iSCSI protocol also provides naming and discovery services, authentication services using CHAP and RADIUS, and centralized management through iSNS.
The COMSTAR target mode framework runs as the stmf service. By default, the service is disabled. You must enable the service to use COMSTAR functionality. You can identify the service with the svcs command. If you have not rebooted the server since installing the group/feature/storage-server package, the service might not be enabled correctly.


NEW QUESTION # 148
The interface net3 should be operating, but is not.
Command:

Which command should you enter next?

  • A. ipadm create-ip
  • B. ipadm enable-if
  • C. ipadm up-addr
  • D. ipadm show-if

Answer: B

Explanation:
Enable-if -t interface
Enables the given interface by reading the configuration from the persistent store. All the persistent interface properties, if any, are applied and all the persistent addresses, if any, on the given interface will be enabled.
-t, --temporary
Specifies that the enable is temporary and changes apply only to the active configuration.


NEW QUESTION # 149
View the Exhibit.

The file came from your Automated Installer (AI) install server.
The file is ____________.

  • A. The default AI conf ig file for non-global zones
  • B. An AI SC profile for non-global zones
  • C. The default AI manifest for non-global zones
  • D. A custom AI manifest

Answer: D

Explanation:
ai_manifest -Automated installation manifest file format
Synopsis /usr/share/install/ai.dtd.1 Some customizations have been made,such as the selection of specific locales.


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

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

Answer: A

Explanation:
This procedure captures in a syslog file all failed login attempts. 1.Set up the /etc/default/login file with the desired values for SYSLOG and SYSLOG_FAILED_LOGINS Edit the /etc/default/login file to change the entry. Make sure that SYSLOG=YES is uncommented.
2.Create a file with the correct permissions to hold the logging information.Create the authlog file in the /var/adm directory.
3.Edit the syslog.conf file to log failed password attempts. Send the failures to the authlog file.
Reference: Oracle Solaris 11 Information Library, How to Monitor All Failed Login Attempts


NEW QUESTION # 151
User jack logs in to host Solaris and executes the following command sequence:

Which three statements are correct?

  • A. User jack can change permissions for testfile because he is the owner of the file.
  • B. User jill can edit testfile because she has read and write permission at the group level.
  • C. User jill can change the permissions of testfile because she has write permission for the file at the group level.
  • D. User jack can edit testfile because he has read and write permissions at the group level.
  • E. User jack can change permissions for testfile because he has execute permission for the file.
  • F. User jack can use cat to output the contents of testfile because he has read permission as the file owner.

Answer: A,B,E


NEW QUESTION # 152
New features wore added to ZFS in Oracle Solaris11. Your justification to upgrade from Solaris10 to oracle Solaris11 is that it will be possible to take advantage of the enhancements that were made to ZFS.
Identify the three ZFS functions and features that are included in Oracle Solaris 11, but not in Solaris 10.

  • A. Ability for ZFS to detect and remove redundant data from the tile system
  • B. Ability to split a mirrored ZFS storage pool
  • C. elimination of the swap file system when using ZFS on the root disk
  • D. Encrypted ZFS datasets
  • E. Shadow Data Migration
  • F. Ability to use ZFS on the boot drive and boot to a ZFS root file system.

Answer: A,D,F

Explanation:
A: ZFS encryption was introduced in ZFS Pool Version Number 30, Solaris Nevada
b149.
Filesystem encryption since Solaris 11 Express
B: Deduplication was introduced in ZFS Pool Version Number 21, Solaris Nevada b128.
E: Booting From a ZFS Root File System Both SPARC based and x86 based systems use the new style of booting with a boot archive, which is a file system image that contains the files required for booting. When a system is booted from a ZFS root file system, the path names of both the boot archive and the kernel file are resolved in the root file system that is selected for booting.
Reference: Oracle Solaris ZFS Administration Guide, Booting From a ZFS Root File System


NEW QUESTION # 153
......

Positive Aspects of Valid Dumps 1Z0-821 Exam Dumps! : https://guidetorrent.dumpstorrent.com/1Z0-821-exam-prep.html