Tuesday, December 15, 2015

Solaris test answers of 2016.

In this post you can find Complete and recently updated Correct Question and answers of Solaris. All Answers updated regularly with new questions. Upwork Solaris test answers of 2016.



Question:* When using the ls command to display size of files, you display file sizes and directory sizes in Kbytes, Mbytes, Gbytes, or Tbytes (when the file or directory size is larger than 1024 bytes) using:

Answer: • -h

Question:* If you need to shut down Solaris in 30 seconds for an installation, what is the command?

Answer: • -g30

Question:* Which command allows you to update your current password?

Answer: • passwd (*)

Question:* Which of the following command can be used to see the detailed boot sequence?

Answer: • boot -m verbose

Question:* What command is used to configure Solaris' multipathing support?

Answer: • mpathadm

Question:* You can use Patch Manager to perform the following on your system:

Answer: • All are correct

Question:* What is ZFS?

Answer: • A file system used by Solaris.

Question:* Which of the following act as an interface between the user and the kernel?

Answer: • Shell

Question:* Within the Solaris Operating System, what is the first line of defense to protect the file system?

Answer: • Default UNIX permissions assigned to every file system object.

Question:* Solaris 10 OS stores user account and group entry information in the which of following system files?

Answer: • /etc/passwd /etc/shadow /etc/group

Question:* What is the difference between ARC and L2ARC?

Answer: • ARC is the primary cache, and L2ARC is the secondary cache.

Question:* What can be called discrete rights to processes that perform operations?

Answer: • Privelages

Question:* Which of the following is TRUE about /bin/ksh ?

Answer: • Indicates the Korn shell

Question:* Which of the following commands can be used for remote copying?

Answer: • rcp

Question:* When installing a non-hot-pluggable device, what must you do before installation?

Answer: • Shut down the system.

Question:* What is a good simple rule to enforce with new users within the Trusted Extension System?

Answer: • Keep your password private.

Question:* You need to prevent the new staff from performing “console aborts”. How do you do this?

Answer: • Change the value of KEYBOARD_ABORT to “disable” in the /etc/default/kbd file.

Question:* What are the benefits of NFS?

Answer: • All of the given options are valid benefits

Question:* pkgadm can display the following certificate type:

Answer: • All are correct

Question:* To find only those files larger than 400 blocks in the current working directory, you use:

Answer: • find . -size +400 -print

Question:* The following crontab file (besides root) is stored in the /var/spool/cron/crontabs directory:

Answer: • all are correct

Question:* What is an example of a protocol used on Solaris' network layer?

Answer: • IPv4

Question:* Which of the following commands can be used to ping a host?

Answer: • ping

Question:* To add a new attached printer you use:

Answer: • Both Solaris Print Manager and LP print service commands

Question:* Within the Solaris Operating System, what are authentication services used for?

Answer: • Secure identification of users via password, or other forms of identification.

Question:* In the context of Solaris, what are SAN devices?

Answer: • Storage area network devices are storage devices in a high-speed network that are also connected to servers.

Question:* How to check filesystem damage?

Answer: • fsck

Question:* What will auditing tell you about a Solaris system's security?

Answer: • It will tell you about changes made to the system.

Question:* Is it possible to log in via serial port?

Answer: • Yes.

Question:* For managing terminals and modems, you use:

Answer: • Both

Question:* Which of the following are main components of SunOS operating system?

Answer: • Kernel, Shell and Directory Hierarchy

Question:* What is an example of an encrypted authentication service within Solaris?

Answer: • Kerberos

Question:* To verify that a certificate was not altered en route, you use the fingerprint (digest):

Answer: • All are correct

Question:* What is a UNIX File System (UFS) ACL, and what does it do?

Answer: • Access Control Lists restrict or grant read, write, or execute access to specific users or groups.

Question:* Which of the following command will output the default shell for the current user ?

Answer: • echo $SHELL

Question:* Which manages all the physical resources of the computer?

Answer: • Kernel

Question:* What is the outpout of svcs -d name_of_service command?

Answer: • List all the services this service is depended upon

Question:* To view the system's Solaris Release Information you:

Answer: • display the contents of the /etc/release file

Question:* To display the size of one or more directories, subdirectories, and files, you use:

Answer: • the du command

Question:* You suspect an unauthorized use of the “su” command. Where do you look and what would it tell you?

Answer: • “/var/adm/sulog”, and it tells you every use of the “su” command.

Question:* To display a system’s Host ID number you use:

Answer: • the hostid command

Question:* Under the Solaris Operating System, are double-quotes, left single-quotes and right single-quotes interchangable?

Answer: • No. Command syntax must be exact.

Question:* What is location that your project database definition would be stored?

Answer: • /etc/nsswitch.conf

Question:* Which of the following commands can be used to capture network packets?

Answer: • snoop

Question:* Which of the following is NOT a valid output for command : echo $SHELL

Answer: • /bin/tch

Question:* Solaris is what kind of operating system?

Answer: • Unix

Question:* The International Organization for Standardization designed the OSI Reference Model that uses structured layers. What does the acronym OSI mean?

Answer: • Open Systems Interconnection

Question:* What is the difference between RAID-0 (Concatenation), and RAID-0 (Stripe) Volumes?

Answer: • Concatenated RAID-0 writes to the first available component, while Stripe distributes the data equally across all components.

Question:* Which of the following is TRUE about following command and the option: useradd -u 800 -g TEST

Answer: • UID number for the new user : 800 Primary group for the new user : TEST

Question:* To list the total number of physical processors on a system, you use:

Answer: • psrinfo -p

Question:* Which of the following command can be used to add new user accounts to the local system?

Answer: • useradd

Question:* The '-g' switch to the shutdown command is followed by:

Answer: • grace time in seconds

Question:* When setting up a volume in VTS, what data storage scheme does VTS use?

Answer: • RAID

Question:* Though the traditional UNIX crypt algorithm is insufficient for current systems, why is it still utilized?

Answer: • For the sake of backwards compatibility.

Question:* Which of the following field in /etc/passwd represents user primary group?

Answer: • GID

Question:* Which of the following Solaris 10 command will list all configurable hardware in the system?

Answer: • cfgadm

Question:* If you are on a stand alone system, and you want to bring it to single user mode, you execute:

Answer: • init s

Question:* When tuning Solaris, does one system's /etc/system settings govern another systems environment?

Answer: • No.

Question:* To automatically execute system tasks, you use:

Answer: • all are correct

Question:* If you add a user to a group while they are already logged on, what do they have to do in order to be able to access files owned by that group?

Answer: • Log out of the shell and back in.

Question:* Do you have to be a super user to install a device to your Solaris system?

Answer: • Yes.

Question:* You have been assigned the task of interpreting VTS probe errors. Where do you find them?

Answer: • /var/sunvts/logs/vtsk.err

Question:* To set up a terminal, you use:

Answer: • the Solaris Management Console

Question:* What is the default difference between run levels 2 and 3?

Answer: • Run level 3 starts NFS services

Question:* If an adjustment in the /etc/system file has rendered your system unbootable, what command would you use to recover?

Answer: • ok boot -a

Question:* What is the name of the daemon that handles FTP transfers?

Answer: • in.ftpd

Question:* What command would you use to restart the SSH server daemon on Solaris 10 using the Service Management Framework (SMF)?

Answer: • svcadm restart ssh

Question:* Which of the following is a default shell for root user?

Answer: • bourne

Question:* If '-1 < N < 7', Scripts in /etc/rcN.d are executed in:

Answer: • ASCII order of their names

Question:* To apply patches to a machine, you use:

Answer: • All are correct

Question:* If you are at the PROM level (you pressed stop-A and got to the ok prompt), and you want to start the system from the Solaris DVD-ROM disk, you use the command:

Answer: • boot cdrom -s

Question:* On a newly installed Solaris system, the script /sbin/rc4 performs the following actions contained in the scripts in /etc/rc4.d:

Answer: • None are correct

Question:* Which of the following command can be used to stop a running service?

Answer: • svcadm disable name_of_service

Question:* Which of the following is a user profile for a user with Bourne shell as a default shell?

Answer: • .profile

Question:* The tnd daemon pulls tnrhdb and tnrhtp information from the LDAP directory and local files. What governs the order that they are loaded?

Answer: • Their order in the nsswitch.conf file.

Question:* Which of the following is TRUE for files /etc/hosts.equiv and $HOME/.rhosts?

Answer: • Thery are related to system security

Question:* Which of the following Solaris 10 command scan for new devices?

Answer: • devfsadm

Question:* When exporting a ZFS storage pool, what effect does the “zpool export tank” command have, and what can be done in the event of a failure?

Answer: • “zpool export tank” attempts to unmount any mounted file system. The -f option is used to forcefully unmount file systems in the event of a failure.

Question:* To remove entire temporary directories, you cd to the temp directories, then use the following command:

Answer: • rm -r *

Question:* To remove a crontab file, you use the command:

Answer: • crontab -r

Question:* What does system mount option (Solaris 10) nodevices signify?

Answer: • To disallow the opening of device-special files

Question:* If the repository of the SMF (Service Management Facility) has become corrupted, you can stop the svc.configd daemon with:

Answer: • pkill svc.configd

Question:* Which of the following is the default shell for root user in Solaris Operating System ?

Answer: • Bourne

Question:* Once you installed a software package, you can check if the installation is correct with:

Answer: • pkgchk -v

Question:* To display the total number of blocks that are contained in a directory, you use:

Answer: • du -s

Question:* If you are at the PROM level (you pressed stop-A and got to the ok prompt), and you want to check the revision number, you use the command:

Answer: • banner

Question:* How can you get the WWN info about the HBA ports in a system under Solaris 10?

Answer: • fcinfo hba-port

Question:* Crash dump files are created in the directory:

Answer: • /var/crash/

Question:* What must happen before logging into the system?

Answer: • A default project must be assigned to the user.

Question:* What system resource call specifies the total number of files that can be assigned by the open(2) system call?

Answer: • process.max-file-descriptor

Question:* Which of the following command will delete the password for user "test" and prompt for a new password on login?

Answer: • passwd -df test

Question:* What directories are included in the root path?

Answer: • /usr/gnu/bin:/usr/bin:/usr/sbin:/sbin

Question:* To create a soft partition, what parameters are needed with the metainit command?

Answer: • metainit [-s diskset] soft-partition -p [-e] component size

Question:* If users want to perform drag-and-drop operations, what must be true about the source and target label?

Answer: • They must be the same.

Question:* Where are the details displayed by the ls -l command stored?

Answer: • The inode for the file. (*)

Question:* What is the outpout of svcs command?

Answer: • List all active services

Question:* Which of the following is TRUE about ROOT USER?

Answer: • User ID=0, Group ID=1

Question:* How do you list all of the zones that are configured on a system?

Answer: • zoneadm list -c

Question:* To set the hard and soft limits on the number of inodes and the amount of disk space for each user, you use:

Answer: • edquota

Question:* Because the command, “mpathadm modify” is only effective while the system is running, what must be updated to retain changes that are made after a shutdown?

Answer: • /kernel/drv/scsi_vhci.conf

Question:* Which of the followiing commands can be used to change the priority of a process?

Answer: • nice

Question:* Which of the following is an INVALID control for password management in Solaris 10

Answer: • PWDPOLICY

Question:* What is Oracle VTS?

Answer: • It is an Oracle validation test for hardware diagnostics.

Question:* Which of the following shell is a superset of the Bourne shell with C shell-likeenhancements and additional feature?

Answer: • Korn

Question:* Which of the folllwing files contain user passwords?

Answer: • Both /etc/passwd and /etc/shadow

Question:* To check the status of active processes on a system, you use:

Answer: • all are correct

Question:* To remove a software package you use the command:

Answer: • pkgrm

Question:* Which of the following Solaris 10 command will list all open TCP connections?

Answer: • netstat -f inet

Question:* If you want to view information on the certificate you have stored in the package keystore, you use the command:

Answer: • pkgadm listcert

Question:* Which of the following directories contain kernel?

Answer: • /, /usr and /platform

Question:* If you are at the PROM level (you pressed stop-A and got to the ok prompt), and you want to get to run level 3 (without a reboot), you use the command:

Answer: • boot

Question:* On an inittab File the line starts with 'p3:', if the third field is 'respawn' it means that:

Answer: • The process indicated on the last field is started, and restarted when it dies

Question:* On a SPARC system, if you want to create a crash (core) dump, you do:

Answer: • halt -d

Question:* Which of the following is not a function of the harness (VTSK) in VTS' agent layer?

Answer: • Encryption of messages.

Question:* For a service called SSS, to inspect its properties you do:

Answer: • inetadm -l SSS

Question:* To verify that a printer's banner page is optional on printer printer-name, you should look for the output line "Banner not required" in response to:

Answer: • lpstat -p printer-name -l

Question:* Which of the following Solaris 10 commands can be used to create an alias temporarily?

Answer: • ifconfig

Question:* By default, the package keystore of a signed packages that is used with pkgadd and patchadd, is stored at:

Answer: • /var/sadm/security

Question:* When applying patches with Patch Manager, you

Answer: • Need to set up the keystore and certificates manually

Question:* To install a package non-interactively, by default you can set an response file to the 'pkgadd -a' command in:

Answer: • /var/sadm/install/admin

Question:* Instead of using the pprosetup and pprosvc commands, it is better to use the command:

Answer: • smpatch

Question:* In order to use the 'smpatch add' command, your system should be in:

Answer: • single-user mode

Question:* If you want to get a list of all software packages installed on the system you use:

Answer: • pkginfo

Question:* Which of the following Solaris 10 commands can be used to create a permanent alias?

Answer: • echo

Question:* Which of the following commands will output all the interfaces to a system?

Answer: • netstat

Question:* After the cron daemon executes an at job, the at job’s file:

Answer: • is removed from the atjobs directory

Question:* Which is not a tunable parameter in Solaris?

Answer: • Range Configuration

Question:* The equivalent of using the following three commands: smpatch analyze, smpatch download, and smpatch add, is to use the command:

Answer: • smpatch update

Question:* To display information about how disk space is used, the following is employed:

Answer: • the df command

Question:* What does command ps print without option?

Answer: • all jobs belong to the user

Question:* You can change the locales on your system without reinstalling the OS or manually adding and removing packages, using the command:

Answer: • localeadm

Question:* To list all users of each mounted UFS file system and the number of 1024-byte blocks used, you employ:

Answer: • quot -a

Question:* To schedule single (one-time) system tasks, you use the following facility:

Answer: • crontab

Question:* To determine whether a system has 32 bit or 64–bit capabilities enabled on x86 based systems, you use:

Answer: • the isalist command

Question:* The Service Access Facility enables you to set up ttymon and listen port monitors by using:

Answer: • the sacadm command



No comments:

HTML5 Upwork (oDesk) TEST ANSWERS 2022

HTML5 Upwork (oDesk) TEST ANSWERS 2022 Question: Which of the following is the best method to detect HTML5 Canvas support in web br...

Disqus for upwork test answers