CIT 173 Quizzes

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

Which item represents a number that identifies the user at the most fundamental level? A. primary user B. UID C. GID D. username

B

Which pattern will match only filenames ending with "b"? A b* B *b C *b* D [!b]*

B

Which pattern will match only filenames that contain a number? A. *#* B. *[[:digit:]]* C. *[digit]* D. [0-9]

B

Which process does a parent use to duplicate to create a new child process? A. exec B. fork C. zombie D. syscall E. reap

B

Which term describes the name of a program to run? A. Argument B. Command C. Option D. Prompt

B

Which of these log files stores most syslog messages, with the exception of those that are related to authentication, mail, scheduled jobs, and debugging? A. /var/log/maillog B. /var/log/boot.log C. /var/log/messages D. /var/log/secure

C

Which number is the size, in bits, of an IPv4 address? A. 4 B. 8 C. 16 D. 32 E. 64 F. 128

D

Which answer sends output to both the screen and a file at the same time? A. &>/dev/null B. >file 2>file2 C. | tee file D. | < file

C

Which directory is the administrative superuser's home directory? A. /etc B. / C. /home/root D. /root

D

Which Bash shortcut or command jumps to the beginning of the command line? A. !number B. !string C. Pressing Ctrl+LeftArrow D. Pressing Ctrl+K E. Pressing Ctrl+A

E

Which task(s) can be performed with Red Hat Subscription Management tools? A. Register a system. B. Subscribe a system. C. Enable repositories. D. Review and track entitlements. E. All of the above.

E

1. Which two of the following are benefits of open source software for the user? (Choose two.) A. Code can survive the loss of the original developer or distributor. B. Sensitive portions of code are protected and only available to the original developer. C. You can learn from real-world code and develop more effective applications. D. Code remains open as long as it is in a public repository but the license may change when included with closed source software.

AC

Which term describes one of multiple logical consoles that can each support an independent login session? A. Physical Console B. Virtual Console C. Shell D. Terminal

B

Which item represents the program that provides the user's command-line prompt? A. primary shell B. home directory C. login shell D. command name

C

Which term describes the visual cue that indicates an interactive shell is waiting for the user to type a command? A. Argument B. Command C. Option D. Prompt

D

Which state represents a process that has released all of its resources except its PID? A. D B. R C. S D. T E. Z

E

Which pattern will match all filenames containing a "b"? A. b* B. *b C. *b* D. [!b]*

C

Which pattern will match only filenames where the first character is not "b"? A. b* B. *b C. *b* D. [!b]*

D

Which item or file represents the location of the local user account information? A. home directory B. /etc/passwd C. /etc/UID D. /etc/group

B

Choose the correct name of the device file for the third partition on the second virtio-blk disk attached to a virtual machine? A. /dev/vda3 B. /dev/sda3 C. /dev/vdb3 D. /dev/vda3

C

Which files can be deleted by the operator2 user? A. lfile1 B. lfile2 C. All of the above. D. None of the above.

D

Which item or file represents the location of the local group information? A. home directory B. /etc/passwd C. /etc/GID D. /etc/group

D

Which address does not represent a valid IPv6 address? A. 2000:0000:0000:0000:0000:0000:0000:0001 B. 2::1 C. :: D. ff02::1:0:0 E. 2001:3::7:0:2 F. 2001:db8::7::2 G. 2000::1

F

Which number is the size, in bits, of an IPv6 address? A. 4 B. 8 C. 16 D. 32 E. 64 F. 128

F

Which directory contains temporary files? A. /tmp B. /trash C. /run D. /var

A

Which command is used to register a client to Red Hat Insights? A. ⁠ insights-client --register⁠ B. ⁠insights-client --no-upload⁠ C. ⁠subscription-manager register⁠ D. ⁠insights-client --unregister⁠

A

Which command is used to return to the current user's home directory, assuming the current working directory is /tmp and their home directory is /home/user? A. cd B. cd .. C. cd . D. cd * E. cd /home

A

Which directory contains persistent, system-specific configuration data? A. /etc B. /root C. /run D. /usr

A

Which file has a group ownership of consultant1? A. lfile1 B. lfile2 C. rfile1 D. rfile2

A

Which file stores syslog messages related to the scheduled jobs? A. /var/log/cron B. /var/log/tallylog C. /var/log/spooler D. /var/log/secure

A

Which item or file represents the location of the user's personal files? A. home directory B. login shell C. /etc/passwd D. /etc/group

A

Which pattern will match only filenames at least three characters in length? A. ???* B. ??? C. \3* D. +++* E. ...*

A

Which pattern will match only filenames beginning with "b"? A b* B *b C *b* D [!b]*

A

Which service sorts and organizes syslog messages into files in /var/log? A. rsyslog B. systemd-journald C. auditd D. tuned

A

Which term describes the hardware display and keyboard used to interact with a system? A. Physical Console B. Virtual Console C. Shell D. Terminal

A

Which term describes the part of the command line that specifies the target that the command should operate on? A. Argument B. Command C. Option D. Prompt

A

Which two of the following are ways in which Red Hat develops their products for the future and interacts with the community? (Choose two.) A. Sponsor and integrate open source projects into the community-driven Fedora project. B. Develop specific integration tools only available in Red Hat distributions. C. Participate in upstream projects. D. Repackage and re-license community products.

AC

Which command provides an overview of the file system mount points and the amount of free space available in SI units? A. df B. df -H C. df -h D. du -h

B

Which command will always change the working directory to /bin? A. cd bin B. cd /bin C. cd ~bin D. cd -bin

B

Which command will always change the working directory to the parent of the current location? A. cd ~ B. cd .. C. cd ../.. D. cd -u1

B

Which directory contains user home directories? A. / B. /home C. /root D. /user

B

Which directory is the top of the system's file system hierarchy? A. /etc B. / C. /home/root D. /root

B

Which file can be modified by the contractor1 user? A. lfile1 B. lfile2 C. rfile1 D. rfile2

B

Which file stores syslog messages related to the mail server? A. /var/log/lastlog B. /var/log/maillog C. /var/log/tallylog D. /var/log/boot.log

B

Which term determines how many leading bits in the IP address contribute to its network address? A. netscope B. netmask C. subnet D. multicast E. netaddr F. network

B

Which two statements describe the benefits of Linux? (Choose two.) A. Linux is developed entirely by volunteers making it a low cost operating system. B. Linux is modular and can be configured as a full graphical desktop or a small appliance. C. Linux is locked in a known state for a minimum of one year for each release, making it easier to develop custom software. D. Linux includes a powerful and scriptable command-line interface, enabling easier automation and provisioning.

BD

From which page in the Red Hat Insights console can you generate an Ansible Playbook to update the RPM packages on a system? A. Advisor → Recommentations B. Vulnerability → Systems C. Patch → Systems D. Remediations

C

Which answer displays output to a terminal and ignores all errors? A. &>file B. 2> &>file C. 2>/dev/null D. 1>/dev/null

C

Which answer sends output and errors to the same file ensuring existing file content is preserved? A. >file 2>file2 B. &>file C. >>file 2>&1 D. >>file 1>&1

C

Which command will always change the working directory up two levels from the current location? A. cd ~ B. cd ../ C. cd ../.. D. cd -u2

C

Which command will change the working directory to /tmp if the current working directory is /home/student? A. cd tmp B. cd .. C. cd ../../tmp D. cd ~tmp

C

Which directory contains installed software programs and libraries? A. /etc B. /lib C. /usr D. /var

C

Which directory contains non-persistent process runtime data? A. /tmp B. /etc C. /run D. /var

C

Which directory contains regular commands and utilities? A. /commands B. /run C. /usr/bin D. /usr/sbin

C

Which files can be deleted by the operator1 user? A. rfile1 B. rfile2 C. All of the above. D. None of the above.

C

Which item represents a number that identifies the group at the most fundamental level? A. primary group B. UID C. GID D. groupid

C

Which state represents a process that is sleeping until some condition is met? A. D B. R C. S D. T E. Z

C

Which term describes the interpreter that executes commands typed as strings? A. Command B. Console C. Shell D. Terminal

C

Which term describes the part of the command line that adjusts the behavior of a command? A. Argument B. Command C. Option D. Prompt

C

Choose the device file name of the third partition on the second SATA hard drive. A. /dev/vda2 B. /dev/sda3 C. /dev/sdb2 D. /dev/sdb3

D

Which file cannot be read by the operator2 user? A. lfile1 B. lfile2 C. rfile1 D. rfile2

D

Which log file stores syslog messages related to security and authentication operations in the system? A. /var/log/maillog B. /var/log/boot.log C. /var/log/messages D. /var/log/secure

D

Which pattern will match only filenames that begin with an uppercase letter? A. ^?* B. ^* C. [upper]* D. [[:upper:]]* E. [[CAP]]*

D

Which term allows one system to send traffic to a special IP address that is received by multiple systems? A. netscope B. netmask C. subnet D. multicast E. netaddr F. network

D

Which term describes an interface that provides a display for output and a keyboard for input to a shell session? A. Console B. Virtual Console C. Shell D. Terminal

D

Which state represents a process that has been stopped or suspended? A. D B. R C. S D. T E. Z

D.

Which Bash shortcut or command jumps to the beginning of the previous word on the command line? A. Pressing Ctrl+LeftArrow B. Pressing Ctrl+K C. Pressing Ctrl+A D. !string E. !number

A

Which address represents a valid IPv4 host address on the 192.168.1.0/24 network? A. 192.168.1.188 B. 192.168.1.0 C. 192.168.1.255 D. 192.168.1.256

A

Which answer sends output to a file and sends errors to a different file? A. >file 2>file2 B. >file 1>file2 C. >file &2>file2 D. | tee file

A

Which command will always return you to the working directory used prior to the current working directory? A. cd - B. cd -p C. cd ~ D. cd ..

A

In what order do the following events occur when managing a Red Hat Enterprise Linux system using Red Hat Insights? 1. Red Hat Insights analyzes system metadata to determine which issues and recommendations apply. 2. The Insights client uploads system metadata to the Red Hat Insights service. 3. The administrator views the recommended actions in the Red Hat Insights customer portal. 4. The Insights client collects system metadata on the Red Hat Enterprise Linux system. A. 1, 2, 3, 4 B. 4, 2, 1, 3 C. 4, 2, 3, 1 D. 4, 1, 2, 3

B

Which Bash shortcut or command is used to clear characters from the cursor to the end of the command line? A. Pressing Ctrl+LeftArrow B. Pressing Ctrl+K C. Pressing Ctrl+A D. ; E. Pressing Esc+.

B

Which Bash shortcut or command re-executes a specific command in the history list? A. Pressing Tab B. !number C. !string D. history E. Pressing Esc+.

B

Which answer discards all messages normally sent to the terminal? A. >file 2>file2 B. &>/dev/null C. &>/dev/null 2>file D. &>file

B

Which command displays the absolute path name of the current location? A. cd B. pwd C. ls ~ D. ls -d

B

Which command is used to register a system without using a graphical environment? A. rct B. subscription-manager C. rpm D. yum

B

What file stores console messages related to system startup? A. /var/log/messages B. /var/log/cron C. /var/log/boot.log D. /var/log/secure

C

What is the name of the device file of an entire SATA hard drive in the /dev directory? A. /dev/vda B. /dev/sda1 C. /dev/sda D. /dev/vg_install/lv_home

C

Which Bash shortcut or command is used to re-execute a recent command by matching the command name? A. Pressing Tab B. !number C. !string D. history E. Pressing Esc+.

C

Which Bash shortcut or command separates commands on the same line? A. Pressing Tab B. history C. ; D. !string E. Pressing Esc+.

C

Which GUI tool is used to register and subscribe a system? A. PackageKit B. gpk-application C. Red Hat Subscription Manager D. gnome-software

C

What is the fourth field of the /etc/passwd file? A. home directory B. UID C. login shell D. primary group

D

What is the name of the device file for the entire second virtio-blk disk attached to a virtual machine? A. /dev/vda2 B. /dev/sda2 C. /dev/vdb2 D. /dev/vdb

D

Which Bash shortcut or command copies the last argument of previous commands? A. Pressing Ctrl+K B. Pressing Ctrl+A C. !number D. Pressing Esc+.

D

Which Bash shortcut or command displays the list of previous commands? A. Pressing Tab B. !string C. !number D. history. E. Pressing Esc+.

D

Which Bash shortcut or command is used to complete commands, file names, and options? A. ; B. !number C. history D. Pressing Tab E. Pressing Esc+.

D

Which answer saves output to a file and discards error messages? A. &>file B. | tee file 2> /dev/null C. > file 1> /dev/null D. > file 2> /dev/null

D

Which answer sends both output and errors to a file, creating it or overwriting its contents? A. | tee file B. 2 &>file C. 1 &>file D. &>file

D

Which command lists files in the current location, using a long format, and including hidden files? A. llong ~ B. ls -a C. ls -l D. ls -al

D

Which directory accommodates the human-readable syslog files? A. /sys/kernel/debug B. /var/log/journal C. /run/log/journal D. /var/log

D

Which directory contains dynamic data, such as for databases and websites? A. /etc B. /run C. /usr D. /var

D


Ensembles d'études connexes

Supply Management and Procurement Management

View Set

CHAPTER; THIRTY-NINE; INDUSTRIAL HAZARDS, SAFETY, AND THE SECURITY PATROL OFFICER

View Set

BIO 233 -- Chapter 12 + 13 + 14 HW

View Set

Chapter 2: Attacks, Concepts and Techniques

View Set

Canvas Module 6: Take Quiz (from Textbook Module 8)

View Set

Maternal & Child Practice Exam 2

View Set

What is Art and why does it matter?

View Set

Ch 35 Care of Patients with Cardiac Problems

View Set