Assume Oracle 1Z0-821 Dumps PDF Are going to be The Best Score
Oracle Solaris 1Z0-821 Exam and Certification Test Engine
NEW QUESTION 53
User jack logs in to host solaris and then attempts to log in to host oracle using ssh. He receives the following error message:
The authenticity of host oracle (192.168.1.22) can't be established. RSA key fingerprint is 3B:23:a5:6d:ad:a5:76:83:9c:c3:c4:55:a5:18:98:a6
Are you sure you want to continue connecting (yes/no)?
Which two are true?
- A. The public host key supplied by oracle is not known to the host solaris.
- B. The error would not occur if the RSA key fingerprint shown in the error message was added to the /etc/ssh/known_hosts file on solaris.
- C. If jack answers yes, the RSA public key for the host oracle will be added to the known_hosts file for the user jack.
- D. The private host key supplied by oracle is not known to solaris.
- E. The public host key supplied by solaria is not known to the host oracle.
Answer: B,C
Explanation:
The fingerprints are used to guard against man in the middle attacks. Since ssh logins usually work over the internet (an insecure connection), someone could hijack your connection. When you try to log into yourmachine.com, he could get "in the middle" and return your challenge as if he was yourmachine.com. That way, he could get hold of your login password.
To make this attack harder, ssh stores the fingerprint of the server's public key on the first connection attempt. You will see a prompt like:
The authenticity of host 'eisen (137.43.366.64)' can't be established. RSA key fingerprint is cf:55:30:31:7f:f0:c4:a0:9a:02:1d:1c:41:cf:63:cf. Are you sure you want to continue connecting (yes/no)
When you enter yes, ssh will add the fingerprint to your known_hosts file. you will see
Code:
Warning: Permanently added 'eisen,137.43.366.64' (RSA) to the list of known hosts.
The next time you login, ssh will check whether the host key has changed. A changing host key
usually indicates a man in the middle attack, and ssh refuses to connect.
NEW QUESTION 54
What determines which bits in an IP address represent the subnet, and which represent the host?
- A. unicast
- B. multicast
- C. Subnet
- D. broadcast
- E. netmask
Answer: E
Explanation:
A subnetwork, or subnet, is a logically visible subdivision of an IP network. The practice of dividing a network into two or more networks is called subnetting.
The routing prefix of an address is written in a form identical to that of the address itself.
This is called the network mask, or netmask, of the address. For example, a specification of the most-significant 18 bits of an IPv4 address, 11111111.11111111.11000000.00000000, is written as 255.255.192.0.
NEW QUESTION 55
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 manual network configuration option was chosen during the installation of the OS.
- C. The automatic network configuration option was chosen during the installation of the OS.
- D. The network was not configured during the installation of the OS.
Answer: D
Explanation:
Only the loopback addresses are configured. No IP address is configured.
NEW QUESTION 56
You wish to troubleshoot some issues that you are having on the system. You want to monitor the /var/adm/messages file in real time. Which command would you use to do this?
- A. test
- B. head
- C. cat
- D. file
- E. tail
Answer: E
Explanation:
tail is a program on Unix and Unix-like systems used to display the last few lines of a text file or piped data.
By default, tail will print the last 10 lines of its input to the standard output. With command line
options the number of lines printed and the printing units (lines, blocks or bytes) may be changed.
The following example shows the last 20 lines of filename:
tail -n 20 filename
NEW QUESTION 57
Identify the correct description of an IPS image.
- A. An ISO image of the Solaris media DVD
- B. An IPS repository
- C. A location where packages can be installed, for example, your Solaris instance
- D. A depot location or source where Solaris packages can be installed from
Answer: C
Explanation:
Explanation/Reference:
Explanation:
An image is a location where packages can be installed.
An image can be one of three types:
* Full images are capable of providing a complete system.
* Partial images are linked to a full image (the parent image), but do not provide a complete system on their own.
* User images contain only relocatable packages.
NEW QUESTION 58
You are currently working in both your home directory and the system directory /tmp. You are switch back and forth with full path names. Which pair of cd commands will provide you with a shortcut to switch between these two locations?
- A. cd and cd.
- B. cd ~ and cd
- C. cd ~ and cd -
- D. cd * and cd . .
Answer: C
Explanation:
In the Bourne Again, C, Korn, TC, and Z shells, the tilde (~) is used as a shortcut for specifying your home directory.
cd -
It's the command-line equivalent of the back button (takes you to the previous directory you were in).
Note:
To make certain that you are in your home directory, type the cd (change directory) command. This command moves you to your home (default) directory.
NEW QUESTION 59
Before booting testzone, a non-global zone, you want to connect to the zone's console so that you can watch the boot process.
Choose the command used xo connect to testzone's console.
- A. zlogin - z testzone console
- B. zoneadm - z testzone - C
- C. zlogin - z testzone - C
- D. zoneadm - console testzone
- E. zlogin - C testzone
- F. zoneadm - C testzone
Answer: E
NEW QUESTION 60
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 install openldap
- B. pkg install --be-nama newBE openldap
- C. beadm create newBEbeadm mount newBE /mntpkg -R /mnt update openldap
- D. pkg install --newBE 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 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 61
On server A, you enter the following command to add a static route to serverA route -p add
-host 192.168.1.101 192.168.1.101 -static
What is the purpose of this command?
- A. to specify routing to an adjacent network when in.rdisc is not used
- B. to specify an IPMP target IP address to in.mpathd
- C. to specify routing to an adjacent network when in.routed is not used
- D. to ensure the IP address for serverB is not flushed from the ARP cache
- E. to temporarily bypass IP Filter rules
- F. to optimize link aggregation using a direct connection between two systems
Answer: B
Explanation:
Note: # route -p add -host destination-IP gateway-IP -static
where destination-IP and gateway-IP are IPv4 addresses of the host to be used as a target.
For example, you would type the following to specify the target system 192.168.10.137, which is on the same subnet as the interfaces in IPMP group itops0:
$ route -p add -host 192.168.10.137 192.168.10.137 -static
This new route will be automatically configured every time the system is restarted. If you want to define only a temporary route to a target system for probe-based failure detection, then do not use the -p option.
NEW QUESTION 62
Examine the following command sequence:
Which three are true?
- A. User oracle, not a member of the group other, cannot execute the shell script scriptfile.
- B. User jill, a member of the group other, cannot delete testfile.
- C. User jill, a member of the group other, can make a copy of testfile in dira.
- D. User jill, a member of the group other, can edit the data content of testfile.
- E. User jill, a member of the group other, can do a long listing (1s -1) of user jack's home directory.
Answer: B,C,D
NEW QUESTION 63
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 search -1 gzip
- B. pkg contents gzip
- C. pkg info -r gzip
- D. pkg verify -v gzip
- E. pkg list gzip
Answer: C
Explanation:
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
NEW QUESTION 64
Which modification needs to be made to the Service Management Facility before you publish a new package to the IPS repository?
- A. The pkg/image.root property for the application/pkg/server service must be set to the location of the repository.
- B. The pkg.depotd must be disabled.
- C. The Pkg/writabie_root property for the application/Pkg/server service must be set to true.
- D. The pkg/readonly property for the application/pkg/server service must be set to false.
Answer: A
Explanation:
pkg/image_root
(astring) The path to the image whose file information will be used as a cache for file data.
NEW QUESTION 65
What is the output of the following command, if executed using the default shell for the root account of a standard Live CD Install of Oracle Solaris 11?
echo '$SHELL'
- A. /usr/bin/bash
- B. the PID for the current shell
- C. /usr/bin/ksh
- D. $SHELL
Answer: D
Explanation:
Single quotes are most strict. They prevent even variable expansion. Double quotes prevent wildcard expansion but allow variable expansion. For example: #!/bin/sh echo $SHELL echo "$SHELL" echo '$SHELL' This will print: /usr/bin/bash /usr/bin/bash $SHELL
NEW QUESTION 66
Select the five tasks that need to be performed on the Automated Installer (AI) install server before setting up the client.
- A. Download the text install image into the IPS repository.
- B. Create the AI install service. Specify the path to the AI network boot image ISO file and the path where the AI net image ISO file should be unpacked.
- C. DHCP must be available on the network for the Install server and the clients, but the install server does not need to be the DHCP server.
- D. Create a local IPS repository on the AI Install server and start the repository server service, the publisher origin to the repository file.
- E. The DHCP server must be enabled on the install server and must provide the DHCP service for the clients.
- F. Download the AI boot image. The image must be the same version as the Oracle Solaris OS that you plan to install on the client.
- G. Create the AI install service. Specify the path to the AI network boot image ISO file and the path to the IPS repository.
- H. Set up a IP address on the AI install server.
- I. Install the AI installation tools.
Answer: A,C,G,H,I
Explanation:
B: Configure the AI install server to use a static IP address and default route.
D: The create-service command can set up DHCP on the AI install server. If you want to set up a separate DHCP server or configure an existing DHCP server for use with AI. The DHCP server must be able to provide DNS information to the systems to be installed.
E: An automated installation of a client over the network consists of the following high-level steps:
1.The client system boots over the network and gets its network configuration and the location of
the install server from the DHCP server.
2.The install server provides a boot image to the client.
3.Characteristics of the client determine which installation instructions and which system
configuration instructions are used to install the client.
4.The Oracle Solaris 11 OS is installed on the client, pulling packages from the package
repository specified by the installation instructions in the AI install service.
G: Install the AI tool set.
Use the installadm create-service command to create an AI install service. Give the service a
meaningful name, and specify the path where you want the service created. Specify the source of
the network boot image (net image) package or ISO file.
installadm create-service [-n svcname] [-s FMRI_or_ISO] [-d imagepath]
-d imagepath The imagepath is the location of the new install service. The install-image/solaris-autoinstall package is installed to this location, or the specified ISO file is expanded at this location.
Reference: Installing Oracle Solaris 11 Systems, Create an AI Install Service
NEW QUESTION 67
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 search -1 gzip
- B. pkg contents gzip
- C. pkg info -r gzip
- D. pkg verify -v gzip
- E. pkg list gzip
Answer: C
Explanation:
Explanation/Reference:
Explanation:
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.
NEW QUESTION 68
Select the five tasks that need to be performed on the Automated Installer (AI) install server before setting up the client.
- A. Download the text install image into the IPS repository.
- B. Create the AI install service. Specify the path to the AI network boot image ISO file and the path where the AI net image ISO file should be unpacked.
- C. DHCP must be available on the network for the Install server and the clients, but the install server does not need to be the DHCP server.
- D. Create a local IPS repository on the AI Install server and start the repository server service, the publisher origin to the repository file.
- E. The DHCP server must be enabled on the install server and must provide the DHCP service for the clients.
- F. Download the AI boot image. The image must be the same version as the Oracle Solaris OS that you plan to install on the client.
- G. Create the AI install service. Specify the path to the AI network boot image ISO file and the path to the IPS repository.
- H. Set up a IP address on the AI install server.
- I. Install the AI installation tools.
Answer: A,C,G,H,I
Explanation:
Explanation/Reference:
Explanation:
B: Configure the AI install server to use a static IP address and default route.
D: The create-service command can set up DHCP on the AI install server. If you want to set up a separate DHCP server or configure an existing DHCP server for use with AI. The DHCP server must be able to provide DNS information to the systems to be installed.
E: An automated installation of a client over the network consists of the following high-level steps:
1. The client system boots over the network and gets its network configuration and the location of the install server from the DHCP server.
2. The install server provides a boot image to the client.
3. Characteristics of the client determine which installation instructions and which system configuration instructions are used to install the client.
4. The Oracle Solaris 11 OS is installed on the client, pulling packages from the package repository specified by the installation instructions in the AI install service.
G: Install the AI tool set.
Use the installadm create-service command to create an AI install service. Give the service a meaningful name, and specify the path where you want the service created. Specify the source of the network boot image (net image) package or ISO file.
installadm create-service [-n svcname]
[-s FMRI_or_ISO] [-d imagepath]
-d imagepath
The imagepath is the location of the new install service. The install-image/solaris-auto-install package is installed to this location, or the specified ISO file is expanded at this location.
NEW QUESTION 69
You are having an issue with the shutdown command. You wish to determine if the file is a script or an executable program. Which command would you use to determine this?
- A. attrib shutdown
- B. odshutdown
- C. test shutdown
- D. file shutdown
- E. cksumshutdown
Answer: D
Explanation:
The file command determines the file type. file tests each argument in an attempt to classify it. There are three sets of tests, performed in this order: filesystem tests, magic tests, and language tests. The first test that succeeds causes the file type to be printed.
Reference: man file
NEW QUESTION 70
Which two options are accurate regarding the non-global zone console?
- A. Access the non-global zone console by using the zlogin -c command.
- B. Disconnect from the non-global zone console by using the ~. keys.
- C. Disconnect from the non-global zone console by using the #. keys.
- D. Access the non-global zone console by using the zlogin -1 command.
Answer: A,B
Explanation:
A: How to Log In to the Zone Console Use the zlogin command with the -C option and the name of the zone,for example,my-zone. global# zlogin -C my-zone
C: To disconnect from a non-global zone,use one of the following methods.
*To exit the zone non-virtual console: zonename# exit
*To disconnect from a zone virtual console,use the tilde (~) character and a period: zonename# ~.
NEW QUESTION 71
You are troubleshooting the Oracle Solaris11 Automated Installer (AI),which is not connecting with the IPS software repository.
Which three steps will help determine the cause of DNS name resolution failure?
- A. Ping the IP address of the IPS server to verify connectivity.
- B. Run the command /sbin/dhcpinfo DNSserv to ensure that the DHCP server providing the DNS server information.
- C. Run df -k to verify that the boot directory containing the boot archive is loopback mounted under /etc/netboot.
- D. Run netstat -nr to verify the routing to the DNS server.
- E. On the installation server,verify that the menu.1st file for the client points to a valid boot arc hive.
- F. Verify the contents of /etc/resolve.conf.
Answer: B,D,F
Explanation:
Check DNS
*(A) Check whether DNS is configured on your client by verifying that a non-empty /etc/resolv.conf file exists.
*(F) If /etc/resolv.conf does not exist or is empty,check that your DHCP server is providing DNS server information to the client: # /sbin/dhcpinfo DNSserv If this command returns nothing,the DHCP server is not set up to provide DNS server information to the client. Contact your DHCP administrator to correct this problem.
*(B) If an /etc/resolv.conf file exists and is properly configured,check for the following possible problems and contact your system administrator for resolution:
** The DNS server might not be resolving your IPS repository server name. ** No default route to reach the DNS server exists.
NEW QUESTION 72
......
Oracle 1Z0-821 Exam Syllabus Topics:
| Topic | Details |
|---|---|
| Topic 1 |
|
| Topic 2 |
|
| Topic 3 |
|
| Topic 4 |
|
| Topic 5 |
|
Use 1Z0-821 Exam Dumps (2022 PDF Dumps) To Have Reliable 1Z0-821 Test Engine: https://www.dumptorrent.com/1Z0-821-braindumps-torrent.html