Cert-XK0-002 – CompCert: Linux+

Posted on
Like what you see? Share it.Share on Google+Share on LinkedInShare on FacebookShare on RedditTweet about this on TwitterEmail this to someone

Cert-XK0-002 – CompCert: Linux+
CompTIA
Transcender Practice Test

 

Objective : Management
SubObjective : Manage local storage devices and file systems
Single Answer Multiple Choice

 

What is the function of the ‘rawrite’ command?

 

 

  1. to change the finger information for a user
  2. to write critical data for an ext2 file system to the image file
  3. to write image files to diskettes in the MS-DOS environment
  4. to display the usage information for RAM on the system

 

 

 

Answer:
C. to write image files to diskettes in the MS-DOS environment

Tutorial:
The ‘rawrite’ command is used to write image files to diskettes in the MS-DOS environment. The ‘rawrite’ command prompts the user to enter the image to be copied, followed by the name of the diskette drive on which the image should be written. After writing the image to the diskette, the ‘rawrite’ command returns a success or failure message.

The ‘rawrite’ command is not used to change the finger information for a user. The ‘chfn’ command can be used to change the finger information for the specified user. The ‘chfn’ command can be used to change the user’s full name, office details, office phone number, and residence phone number.

The ‘rawrite’ command is not used to write critical data for the ext2 file system to the image file. To save the critical ext2 file system data to a file, the ‘e2image’ command should be used. Using the ‘e2image’ command, the data is stored in the form of an image file and can be used in situations, such as file system corruption.

The ‘rawrite’ command is not used to display the usage information for RAM on the system. When used without any parameter, the ‘ramsize’ command displays the RAM disk usage on the system.

 

Reference:
RedHat.com, Using the rawrite Utility, http://www.redhat.com/docs/manuals/linux/RHL-7.1-Manual/alpha-install-guide/s1-makediskette-rawrite.html
Linux Command Directory, chfn, http://www.linuxdevcenter.com/linux/cmd/cmd.csp?path=c/chfn
Linux Command Directory, ramsize, http://www.linuxdevcenter.com/linux/cmd/cmd.csp?path=r/ramsize

 


SubObjective : Modify file and directory permissions and ownership using CLI commands
Single Answer Multiple Choice

 

Which Linux system directory has the default drwxrwxrwt permission string?

 

 

  1. /usr
  2. /tmp
  3. /root
  4. /home

 

 

 

Answer:
B. /tmp

Tutorial:
The /tmp system directory has the default drwxrwxrwt permission string or the 1777 permission. All the users of the system can write to the /tmp directory. By enabling the sticky bit on the /tmp directory, you can ensure that only the file owners or system administrators are able to remove the files from the system. Sticky bit, which is a special permission applied on a directory, allows all the users to simultaneously add files to that directory and the file’s owner or an administrator to delete a file from the directory. A sticky bit is enabled on a directory when the directory’s permission string ends with the character, ‘t’. The sticky bit can be added to the permission string set of the other users by using the ‘chmod o+t /directoryname‘ command.

None of the /usr, /root, or /home directories have the default drwxrwxrwt permission string. The /usr directory and the /home directory have a default permission string of drwxr-xr-x or the 0755 permission; the /root directory has a default permission string of drwxr-x— or the 0750 permission.

 

Reference:
Linux.com, Basic Commands, http://howtos.linux.com/guides/abs-guide/basic.shtml.
Linux Online, Files and File System security, http://www.linux.org/docs/ldp/howto/Security-HOWTO/file-security.html.
Linux+ 2005 In Depth, Chapter 5: Linux Filesystem Management, Setting Special Permissions, pp. 190-193.

 


Objective : Configuration
SubObjective : Configure basic server network services

Single Answer Multiple Choice

 

Which Apache directive is used to specify the type and severity of errors encountered by the Apache server?

 

 

  1. ErrorLog
  2. LogError
  3. LogLevel
  4. SetErrorLog

 

 

 

Answer:
C. LogLevel

 

Tutorial:
The LogLevel directive is used to set the type and severity of errors encountered by the Apache server. The following errors encountered by the Apache server during data processing are logged by default in the error_log file:Emerg: This error type indicates an emergency. The system stops functioning during an emergency.Alert: This error type is also an error demanding attention and requires immediate user action.Crit: This error type signifies a critical system condition.Error: This error type reports a general error condition that may affect the proper functioning of an application without hampering the overall functioning of the system.Notice: This error type is a lower priority notification to the user and alerts the user to system-generated events.Info: This error type is a lower priority notification to the user and provides the user with system-related information.Debug: This error type displays the debug-level system generated messages.

The ErrorLog directive is used to configure the name of the file to which the Apache server will write the error message

Like what you see? Share it.Share on Google+Share on LinkedInShare on FacebookShare on RedditTweet about this on TwitterEmail this to someone
cmadmin

ABOUT THE AUTHOR

Posted in Archive|

Comment: