Ndg linux exam answers

Содержание
  1. Cisco NDG Linux
  2. Recent Posts
  3. NDG Linux Essentials 2.0 Final Exam (Chapter 9-18) Answers
  4. NDG Linux Essentials 2.0 Final Exam (Chapter 9-18) Answers
  5. Which of the following are traits of a multiuser operating system?
  6. (choose three)
  7. A pipe allows you to…
  8. Channel 2 is:
  9. The grep command…
  10. Which of the following commands can be used to scroll through a text file?
  11. (choose two)
  12. Which command can be used to print line numbers?
  13. Which are appropriate editors for writing shell scripts?
  14. (choose two)
  15. Which of the following are correct about for and while loops?
  16. (choose two)
  17. What is the correct way to assign the word “Hello” to a variable?
  18. What is the correct way to save the current directory to a variable?
  19. What is the meaning of $(( $i + 1)) ?
  20. Which of the following are valid CPU types for Intel-based platforms?
  21. (choose two)
  22. Choose all of the following statements that are true in regard to virtual RAM:
  23. (choose three)
  24. A division of a hard drive may be referred to as a _______ .
  25. The fdisk command is a tool used for working with the MBR partitioned disks.
  26. True or False?
  27. Which of the following commands will display CPU information?
  28. (choose two)
  29. The Process ID (PID) of the init process is:
  30. What directory typically contains log files?
  31. The /var directory has files that change over time.
  32. True or False?
  33. Which of the following commands will allow you to view all processes on the system?
  34. (choose two)
  35. Which directory is the root of the filesystem?
  36. A service is…
  37. Only servers have hostnames.
  38. True or False?
  39. Which of the following are valid IPv4 addresses?
  40. (choose two)
  41. Which of the following commands will allow you to log into a remote machine?
  42. Which files contain user account information?
  43. (choose two)
  44. Which command will display the UID, GID and groups your current user belongs to?
  45. Each user belongs to at least one group.
  46. True or False?
  47. Which command will display the users that are currently logged in to the system?
  48. Which command will display the groups that the root user belongs to?
  49. UIDs 1-499 are usually reserved for what kind of users?
  50. Which of the following options for the useradd command allows root to specify the UID to be associated with the account?
  51. Which command can be used to determine a user’s most recent log in?
  52. Which of the following files contains encrypted user password information?
  53. Which of the following options for the useradd command allows you to use a different primary group then the default?
  54. Which of the following commands can be used to modify a user?
  55. Which of the following are methods for setting permissions using the chmod command?
  56. (choose two)
  57. The chown command can be used to change the owner and group of a file.
  58. True or False?
  59. The chmod command can be used on a file by:
  60. The “execute” permission is never set on files by default.
  61. True or False?
  62. The “sticky bit” permission…
  63. The “setuid” permission…
  64. The “setgid” permission…
  65. (choose two)
  66. NDG Linux Unhatched Exam Answers & Explain Full Questions

Cisco NDG Linux

This entry-level Linux course is offered by the Network Development Group (NDG). The skills taught in this course are applicable to a wide range of careers including networking, software development and Linux administration.

This course aligns to the CompTIA A+: 220-902 Domain 2.1. To learn more about this certificate, visit the CompTIA website (Links to an external site.) Links to an external site. .

Assignments
Answers Online Test
Assessment Online
Читайте также:  Rename numbered files linux
System Test Exam Answers
Modules 1 – 3 Exam Answers
Modules 4 – 7 Exam Answers
Modules 8 – 10 Exam Answers
Modules 11 – 13 Exam Answers
Modules 14 – 15 Exam Answers
Modules 16 – 17 Exam Answers
Practice Final – ITN Answers
Course Feedback
ITN Practice PT Skills Assessment (PTSA)
Final Exam Answers
Modules 1 – 4 Exam Answers
Modules 5 – 6 Exam Answers
Modules 7 – 9 Exam Answers
Modules 10 – 13 Exam Answers
Modules 14 – 16 Exam Answers
ITN Practice Skills Assessment – PT Answers
SRWE Practice Skills Assessment – PT Part 1 Answers
SRWE Practice Skills Assessment – PT Part 2 Answers
SRWE Hands On Skills Exam Answers
SRWE Practice Final Exam Answers
SRWE Final Exam Answers
Modules 1 – 2 Exam Answers
Modules 3 – 5 Exam Answers
Modules 6 – 8 Exam Answers
Modules 9 – 12 Exam Answers
Modules 13 – 14 Exam Answers
ITN Practice PT Skills Assessment (PTSA) Answers
SRWE Practice PT Skills Assessment (PTSA) – Part 1 Answers
SRWE Practice PT Skills Assessment (PTSA) – Part 2 Answers
ENSA Practice PT Skills Assessment (PTSA) Answers
CCNA3 v7 – ENSA – ENSA Final PT Skills Assessment (PTSA) Answers
ENSA Hands On Skills Exam Answers
Practice Final – ENSA Answers
ENSA Final Exam Answers
CCNA Certification Practice Exam Answers

Recent Posts

Источник

NDG Linux Essentials 2.0 Final Exam (Chapter 9-18) Answers

NDG Linux Essentials 2.0 Final Exam (Chapter 9-18) Answers

Which of the following are traits of a multiuser operating system?

(choose three)

  • Resources are shared between users
  • Users can protect their information from other users
  • Many users can log in simultaneously with a unique account
  • Each user can only log in once per day
  • An administrative user gets a dedicated CPU

A pipe allows you to…

  • …send the same input to multiple commands.
  • …type multiple commands at one prompt.
  • …send the output of one command to another.
  • …send the output of a command to a file.

Channel 2 is:

The grep command…

  • …will display all the lines that begin with the specified Regular Expression.
  • …will display all the lines in a file containing the specified Regular Expression.
  • …is not case sensitive.
  • …will display the line numbers in a file that contain a specified Regular Expression.

Which of the following commands can be used to scroll through a text file?

(choose two)

Which command can be used to print line numbers?

Which are appropriate editors for writing shell scripts?

(choose two)

Which of the following are correct about for and while loops?

(choose two)

  • while loops operate over a fixed list of items
  • for loops have a test each cycle to determine if it should run again
  • while loops have a test each cycle to determine if it should run again
  • for loops operate over a fixed list of items
  • for loops require a variable over which to iterate

What is the correct way to assign the word “Hello” to a variable?

What is the correct way to save the current directory to a variable?

What is the meaning of $(( $i + 1)) ?

  • If i is 0, the loop will stop
  • This runs the command stored in variable i
  • This will return the value of the next argument to the script
  • 1 will be added to the i variable
  • This will return the value of the first argument to the script

Which of the following are valid CPU types for Intel-based platforms?

(choose two)

Choose all of the following statements that are true in regard to virtual RAM:

(choose three)

  • Virtual RAM is stored in the CPU
  • Virtual RAM is also called swap space
  • Virtual RAM is stored on a hard drive
  • Virtual RAM is used when available physical RAM is low.
Читайте также:  Virtualbox командная строка linux

A division of a hard drive may be referred to as a _______ .

The fdisk command is a tool used for working with the MBR partitioned disks.

True or False?

Which of the following commands will display CPU information?

(choose two)

The Process ID (PID) of the init process is:

What directory typically contains log files?

The /var directory has files that change over time.

True or False?

Which of the following commands will allow you to view all processes on the system?

(choose two)

Which directory is the root of the filesystem?

A service is…

  • …another name for a computer’s hostname.
  • …a file that contains configuration information.
  • …like an IP address.
  • …a feature provided by one computer to another.

Only servers have hostnames.

True or False?

Which of the following are valid IPv4 addresses?

(choose two)

Which of the following commands will allow you to log into a remote machine?

Which files contain user account information?

(choose two)

Which command will display the UID, GID and groups your current user belongs to?

Each user belongs to at least one group.

True or False?

Which command will display the users that are currently logged in to the system?

Which command will display the groups that the root user belongs to?

UIDs 1-499 are usually reserved for what kind of users?

  • Are not used for user accounts, but for group accounts
  • Log-in (human) users
  • Remote log-in accounts
  • System accounts, such as server processes

Which of the following options for the useradd command allows root to specify the UID to be associated with the account?

Which command can be used to determine a user’s most recent log in?

Which of the following files contains encrypted user password information?

Which of the following options for the useradd command allows you to use a different primary group then the default?

Which of the following commands can be used to modify a user?

Which of the following are methods for setting permissions using the chmod command?

(choose two)

The chown command can be used to change the owner and group of a file.

True or False?

The chmod command can be used on a file by:

  • The file owner and root
  • The file owner
  • Only root
  • A user that belongs to the files current group

The “execute” permission is never set on files by default.

True or False?

The “sticky bit” permission…

  • …changes the group ownership of existing files in a directory.
  • …prevents others from removing files they don’t own from a common directory.
  • …sets the group ownership of any new file created in a directory.
  • …prevents others from overwriting files they don’t own in common directories.

The “setuid” permission…

  • …prevents the owner of a file from being changed.
  • …reports the output of a script to the owner.
  • …allows a command to be run as the file owner.
  • …allows files in a directory to be manipulated as by the directory owner.

The “setgid” permission…

(choose two)

  • …prevents the group owner of a file from being changed.
  • …allows files created in a directory to be owned by the group that owns the directory.
  • …allows a command to be run as the group owner of the file.
  • …can only be set on files.

Источник

NDG Linux Unhatched Exam Answers & Explain Full Questions

Explanation: CLI or Command Line Interface, rather than a GUI or Graphical User Interface you may be familiar with.

Читайте также:  Готовый кс сервер линукс

2. When entering a command, do arguments or options typically come first?

Explanation: Most commands follow a simple pattern of syntax: command [options…] [arguments…]
In other words, you type a command, followed by any options and/or arguments before pressing the Enter key. Typically options alter the behavior of the command and arguments are items or values for the command to act upon. Although there are some commands in Linux that aren’t entirely consistent with this syntax, most commands use this syntax or something similar.

4. Which command will print your current location in the filesystem?

Explanation: In order to discover where you are currently located within the filesystem, the pwd command can be used. The pwd command prints the working directory, your current location within the filesystem.

  • home/sysadmin/Documents/School/Art
  • Documents/Work
  • Documents
  • /home
  • A user’s home directory
  • The directory above the current directory
  • The current directory
  • Nothing, it doesn’t have a special meaning

Explanation: The home directory of the current user is represented by the ~ character. You always begin as the sysadmin user, whose home is located at /home/sysadmin. To return to your home directory at any time execute the following command:

[email protected]:~/Documents/School$ cd ~ [email protected]:~$
  • The current directory
  • The directory above the current directory
  • Nothing, it doesn’t have a special
  • A user’s home directory
  • The directory above the current directory
  • A user’s home directory
  • Nothing, it doesn’t have a special meaning
  • The current directory

9. The first character in a long listing ls -l indicates:

Explanation: To learn the details about a file, such as the type of file, the permissions, ownerships or the timestamp, perform a long listing using the -l option to the ls command

11. Which of the following sets has the group permissions highlighted?
rw- rw-r—
rw-rw- r—
rw- rw- r—
rw-rw- r—

12. Which command will allow a user to change the permissions of a file?

16. Which option to the rm command will allow a user to delete directories?

  • grep ‘^test’ file.txt
  • grep ‘test$’ file.txt
  • grep ‘$test’ file.txt
  • grep ‘test^’ file.txt
  • My favorite food is avocados.
  • I am 37 years old.
  • 3121991
  • Hello my name is Joe.

20. Which of the following commands will not shutdown the system immediately?

  • shutdown now ‘Goodbye World!’
  • shutdown now
  • shutdown
  • shutdown +0

24. Which of the following will delete all of a package’s files?

  • apt-get remove
  • apt-get trash
  • apt-get delete
  • apt-get purge

29. Which of the following commands will display the last five lines of a file called file1.txt?
(choose two)

  • tail -5 file1.txt
  • head -n 5 file1.txt
  • tail -n 5 file1.txt
  • tail file1.txt

Explanation: Every part of the command is normally case-sensitive, so LS is incorrect and will fail, but ls is correct and will execute.

[email protected]:~$ LS -bash: /usr/games/LS: Permission denied

32. Which command will allow you to change your current directory?

  • …lists the contents of the current directory.
  • …generates an error as this command.
  • …lists the contents of a user’s home.
  • …prompts for a directory to list.

36. Which of the following sets has the owner permissions highlighted?
rw-rw- r—
rw- rw-r—
rw- rw- r—
rw-rw- r—

37. Which of the following sets has the other permissions highlighted?
rw-rw- r—
rw- rw-r—
rw- rw- r—
rw-rw- r—

42. Which command is used to copy files at the bit level?

  • grep ‘*test’ file.txt
  • grep ‘[test]’ file.txt
  • grep ‘$test’ file.txt
  • grep ‘^test’ file.txt
  • apt-get search
  • apt-get install
  • apt-get upgrade
  • apt-get update

47. Which of the following commands should be executed before installing a package?

  • apt-get upgrade
  • apt-get search
  • apt-get update
  • apt-get install

Источник

Оцените статью
Adblock
detector