0

operating systems Online Quiz - 38

Description: operating systems Online Quiz - 38
Number of Questions: 20
Created by:
Tags: operating systems
Attempted 0/20 Correct 0 Score 0

What should you do when you want to track disk space use on a per-user basis but do not want to deny users access to a volume?

  1. Enable disk quotas

  2. Enable disk quotas and set the disk quota warning level

  3. Enable the disk quota warning level only

  4. Disable disk quotas


Correct Option: A
Explanation:

To solve this question, the user needs to know how to track disk space use on a per-user basis without denying users access to a volume.

Option A: Enable disk quotas. This option is correct because disk quotas allow administrators to track disk space use on a per-user basis. Disk quotas can be set to limit the amount of disk space a user can use, but they do not deny users access to a volume.

Option B: Enable disk quotas and set the disk quota warning level. This option is incorrect because setting the disk quota warning level only notifies users when they are approaching their disk quota limit. It does not allow administrators to track disk space use on a per-user basis without denying users access to a volume.

Option C: Enable the disk quota warning level only. This option is incorrect because enabling the disk quota warning level only notifies users when they are approaching their disk quota limit. It does not allow administrators to track disk space use on a per-user basis without denying users access to a volume.

Option D: Disable disk quotas. This option is incorrect because if disk quotas are disabled, administrators will not be able to track disk space use on a per-user basis.

Therefore, the correct answer is: The Answer is: A (Enable disk quotas).

What happens when you end a disconnected session running on the remote server?

  1. all data is lost

  2. only the connection closes

  3. all applications running on the server remain active

  4. the session becomes available on the server.


Correct Option: D

sh is

  1. The "shell" programmable command-line interpreter, the primary user interface

  2. switch holder command

  3. Select holder

  4. None of the above


Correct Option: A

To run a script the command is

  1. su scriptname

  2. sh scriptname

  3. ls scriptname

  4. cd scriptname


Correct Option: B

cat command is used to

  1. display the list of files and directories present

  2. display the contents of a file

  3. display the list of files present

  4. display the list of directories present


Correct Option: B

cp command is used to

  1. copy files and folders from one location to other location

  2. creates a process

  3. creates a process id

  4. moves files and folders from one location to other location


Correct Option: A

rm command is used to

  1. Resource Management

  2. deletes files and folders

  3. deletes files

  4. deletes folders


Correct Option: C

chmod +777 stands for

  1. Grants execute permission to owner,group and others

  2. Grants write permission to owner,group and others

  3. Grants read permission to owner,group and others

  4. Grants All permissions to owner.group and others: 4 (read) + 2 (write) + 1 (execute) = 7


Correct Option: D

The command used to move to the second input command line argument is

  1. shift $2

  2. shift + 2

  3. shift 2

  4. shift * 2


Correct Option: C

cmp -s $AXA_BA_ENVPATH_SRC/$file $AXA_BA_ENVPATH_TRG/$file -s stands for

  1. Print nothing for differing files; return exit status only.

  2. Print the byte number (decimal) and the differing byte values (octal) for each difference.

  3. Compares the given 2 fils and writes in a ouput file

  4. Compares the given 2 fils and displays the result


Correct Option: A

cp -p $AXA_BA_ENVPATH/$1/$f $AXA_BA_ENVPATH/$2 -p stands for

  1. Copy and print the contents

  2. Preserve the characteristics of the source_file. Copy the contents, modification times, and permission modes of the source_file to the destination files.

  3. Copy and purges the files

  4. All of the above


Correct Option: B

if [ -d $AXA_BA_ENVPATH/$1 ] -d stands for

  1. none of the above

  2. Checks for the existence of a directoy

  3. Checks for the existence of a file

  4. Checks for the existence of a file/directoy


Correct Option: B

if [ -s $AXA_BA_ENVPATH/$1/* ] -s stands for

  1. None of the above

  2. Both 3 and 4

  3. checks for the existence of the directories

  4. checks for the existence of the files


Correct Option: D

The command used to get the permission rights of lsfadmin inorder to change the file parameters is

  1. sudo - su lsfadmin

  2. sudo su - lsfadmin -

  3. sudo su - lsfadmin

  4. sudo su -lsfadmin


Correct Option: C

ln -sf /sasdata/STG/ETL/ODD ODD The meaning of this line is

  1. ODD is a symbolic link created for the folder /sasdata/STG/ETL/ODD

  2. Both ODD and /sasdata/STG/ETL/ODD refers to same area

  3. Creates a line number for the file

  4. Creates a hard link for the folder


Correct Option: A,B

cd /sasdata/PRD/ETL/jobs .This will make the current directory as the given one.

  1. True

  2. False


Correct Option: A

ls is used to list the files and directories present in a folder. ls -lrt stands for

  1. L Displays the file or directory referenced by a symbolic link.

  2. r Displays files in reverse order.

  3. -t Displays newest files first. (based on timestamp)

  4. None of the above


Correct Option: A,B,C

What is the name of the messenger Client for MS Office, similar to our Lotus notes - "Same time"?

  1. MSN messanger

  2. Windows Messenger

  3. Office communicator

  4. There is no such messenger as of now


Correct Option: C

On which is the following OS hibernation feature is available?

  1. Windows 98

  2. Windows XP

  3. Suse Linux

  4. Windows 200


Correct Option: B

When logging into a PC. If you get an error message "The system cannot log you on because the domain is not available" What are the possible reasons?

  1. Operating system windows may be corrupted

  2. You may be using earlier version of windows

  3. Your system is not connected to the Network or Network cable is unplugged

  4. User name and password provided is incorrect


Correct Option: C
- Hide questions