CompTIA Linux+ Exam Post-Assessment(Complete)2022
CompTIA Linux+ Exam Post-Assessment(Complete)2022 A user is reporting to you that they are unable to run a script named script1 within their home directory. The user has ownership of the file, and the modes on the file are "-rwxrw-rw-". What two commands could be used to set only the permissions necessary for the user to run the script? chmod a+wx script1 chmod 765 script1 chown user:user script1 chmod u+x script1 chmod 765 script1 chmod u+x script1 What two commands can you use within to list available databases and list the tables within the current database, respectively? l a d t /l and /t 00:01 00:54 You need to gather information on quota usage by all users on the /shares folder. What command should you use? edquota -l /shares quota -ul /shares repquota /shares quota -ls /shares repquota /shares What two commands can you use to display scheduled job IDs on a system? atq at -l cron -l at --jobs atq and at -l After failing to successfully mount the /dev/sda3 partition, you discover that the partition ID is incorrectly set to "7". What should the partition ID be for a standard Linux partition? 83 88 82 f0 82 What are the two versions of the X Windows system that are commonly available on Linux platforms? Cocoa XFree86 X.org NeXT X.org and NeXT After attempting to mount a partition, you get an error that the mount has failed because the filesystem is dirty. What command should you run to fix issues with the filesystem? fsck -f mke2fs clean fsck -f You have modified the /etc/aliases file, but your postfix service is not routing mail for the new alias. You have verified the configuration in /etc/aliases, but the new aliases are still not functioning. What is most likely the problem? There is not a correspondingly named user for the alias. The newaliases command has not been run. The postfix service must be restarted after the aliases file is changed, to read in the new aliases. Permissions on the aliases file are incorrect. The newaliases command has not been run. What two regular expressions are extended expressions and require the use of the egrep command? ? * $ (match1|match2) ? and (match1|match2) What CUPS commands utilize the -r flag to specify a reason for an action being performed on a printer? cupsaccept cupsenable cupsqueue cupsdisable cupsaccept cupsqueue cupsdisable What statement accurately describes the Advanced Encryption Standard (AES)? It encrypts blocks of data in three stages using a 168-bit key length. It is an encryption standard that uses keys that are 448 bits in length. It is a fast encryption standard that operates on streams of data instead of blocks of data and uses variable length keys up to 2048 bits in length. It is an improvement on the 3DES encryption method and is available in 128, 192, and 256 bit key lengths. It is an improvement on the 3DES encryption method and is available in 128, 192, and 256 bit key lengths. A server currently has a runaway process with a PID of 2600 that can't be halted by the standard kill signal. What two kill commands will force the Linux kernel to stop the process by routing the resources for the process to /dev/null? kill -SIGHALT 2600 kill -SIGKILL 2600 kill -9 2600 killall 2600 kill -SIGKILL 2600 kill -9 2600
Written for
- Institution
- CompTIA Linux+
- Course
- CompTIA Linux+
Document information
- Uploaded on
- September 5, 2022
- Number of pages
- 21
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
- and the
-
comptia linux exam post assessmentcomplete2022
-
a user is reporting to you that they are unable to run a script named script1 within their home directory the user has ownership of the file