All the Quizez

¡Supera tus tareas y exámenes ahora con Quizwiz!

Which directory contains user home directories?

/home

Which file stores syslog messages related to the mail server?

/var/log/maillog

Which pattern will match only filenames beginning with "b"?

b*

What is the name of the device file of an entire SATA hard drive in the /dev directory?

/dev/sda

Choose the device file name of the third partition on the second SATA hard drive.

/dev/sdb3

What is the name of the device file for the entire second virtio-blk disk attached to a virtual machine?

/dev/vdb

Choose the correct name of the device file for the third partition on the second virtio-blk disk attached to a virtual machine?

/dev/vdb3

Which directory contains persistent, system-specific configuration data?

/etc

Which item or file represents the location of the local group information?

/etc/group

Which item or file represents the location of the local user account information?

/etc/passwd

Which directory is the administrative superuser's home directory?

/root

Which directory contains non-persistent process runtime data?

/run

Which directory contains temporary files?

/tmp

Which directory contains dynamic data, such as for databases and websites?

/var

Which directory accommodates the human-readable syslog files?

/var/log

What file stores console messages related to system startup?

/var/log/boot.log

Which file stores syslog messages related to the scheduled jobs?

/var/log/cron

Which of these log files stores most syslog messages, with the exception of those that are related to authentication, mail, scheduled jobs, and debugging?

/var/log/messages

Which log file stores syslog messages related to security and authentication operations in the system?

/var/log/secure

Which number is the size, in bits, of an IPv6 address?

128

Which address represents a valid IPv4 host IP address?

192.168.1.188

Which address does not represent a valid IPv6 address?

2001:db8::7::2

Which answer displays output to a terminal and ignores all errors?

2>/dev/null

Which number is the size, in bits, of an IPv4 address?

32

Which two of the following are benefits of open source software for the user? (Choose two.)

You can learn from real-world code and develop more effective applications. Code can survive the loss of the original developer or distributor.

Which state represents a process that has released all of its resources except its PID?

Z

Which pattern will match only filenames where the first character is not "b"?

[!b]*

Which pattern will match only filenames that begin with an uppercase letter?

[[:upper:]]*

Which answer sends output to a file and sends errors to a different file?

>file 2>file2

Which pattern will match only filenames at least three characters in length?

???*

Which process does a parent use to duplicate to create a new child process?

fork

Which pattern will match only filenames that contain a number?

*[[:digit:]]*

Which directory contains regular commands and utilities?

/usr/bin

Which Bash shortcut or command separates commands on the same line?

;

Which answer saves output to a file and discards error messages?

> file 2> /dev/null

Which term describes the interpreter that executes commands typed as strings?

Shell

Which tab in the Red Hat Insights Customer Portal allows you to display a list of registered hosts, using filters based on the system's health?

Inventory

Which command provides an overview of the file system mount points and the amount of free space available in SI units?

df -H

Which term describes an interface that provides a display for output and a keyboard for input to a shell session?

Terminal

Which Bash shortcut or command re-executes a specific command in the history list?

!number

Which Bash shortcut or command is used to re-execute a recent command by matching the command name?

!string

Which answer discards all messages normally sent to the terminal?

&>/dev/null

Which answer sends both output and errors to a file, creating it or overwriting its contents?

&>file

Which pattern will match only filenames ending with "b"?

*b

Which pattern will match all filenames containing a "b"?

*b*

Which directory contains installed software programs and libraries?

/usr

Which Bash shortcut or command displays the list of previous commands?

history

Which directory is the top of the system's file system hierarchy?

/

In what order do the following events occur when managing a Red Hat Enterprise Linuxsystem 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 Red Hat Insights collects system metadata on the Red Hat Enterprise Linux system.

4, 2, 1, 3

Which answer sends output and errors to the same file ensuring existing file content is preserved?

>>file 2>&1

Which term describes the part of the command line that specifies the target that the command should operate on?

Argument

is a community-driven Linux distribution derived from much of the open source Red Hat Enterprise Linux codebase and other sources.

CentOS

Which term describes the name of a program to run?

Command

Which task(s) can be performed with Red Hat Subscription Management tools?

Enable repositories. Review and track entitlements. Subscribe a system. Register a system.

____________________ is a community project that produces and releases a complete, free, Linux-based operatingsystem.

Fedora

Which item represents a number that identifies the group at the most fundamental level?

GID

Which two statements describe the benefits of Linux? (Choose two.)

Linux includes a powerful and scriptable command-line interface, enabling easier automation and provisioning. Linux is modular and can be configured as a full graphical desktop or a small appliance.

Review the following information and use it to answer the quiz questions.The system has four users assigned to the following groups: User consultant1 is in groups consultant1 and database1 User operator1 is in groups operator1 and database1 User contractor1 is in groups contractor1 and contractor3 User operator2 is in groups operator2 and contractor3 The current directory (.) contains four files with the following permissions information: drwxrwxr-x. operator1 database1 . -rw-rw-r--. consultant1 consultant1 lfile1 -rw-r--rw-. consultant1 database1 lfile2 -rw-rw-r--. operator1 database1 rfile1 -rw-r-----. operator1 database1 rfile2 Which files can be deleted by the operator2 user?

None of the files

Which term describes the part of the command line that adjusts the behavior of a command?

Option

Which term describes the hardware display and keyboard used to interact with a system?

Physical Console

Which Bash shortcut or command jumps to the beginning of the command line?

Pressing Ctrl+A

Which Bash shortcut or command is used to clear characters from the cursor to the end of the command line?

Pressing Ctrl+K

Which Bash shortcut or command jumps to the beginning of the previous word on the command line?

Pressing Ctrl+LeftArrow

Which Bash shortcut or command copies the last argument of previous commands?

Pressing Esc+.

Which Bash shortcut or command is used to complete commands, file names, and options?

Pressing Tab

Which term describes the visual cue that indicates an interactive shell is waiting for the user to type a command?

Prompt

_________________ is Red Hat's enterprise-ready, commercially-supported Linux distribution.

Red Hat Enterprise Linux (RHEL)

Which GUI tool is used to register and subscribe a system?

Red Hat Subscription Manager

Which state represents a process that is sleeping until some condition is met?

S

Which two of the following are ways in which Red Hat develops their products for the future and interacts with the community? (Choose two.)

Sponsor and integrate open source projects into the community-driven Fedora project. Participate in upstream projects.

Which state represents a process that has been stopped or suspended?

T

Which item represents a number that identifies the user at the most fundamental level?

UID

Which term describes one of multiple logical consoles that can each support an independent login session?

Virtual Console

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?

cd

Which command will always return you to the working directory used prior to the current working directory?

cd -

Which command will always change the working directory to the parent of the current location?

cd ..

Which command will always change the working directory up two levels from the current location?

cd ../..

Which command will change the working directory to /tmp if the current working directory is /home/student?

cd ../../tmp

Which command will always change the working directory to /bin?

cd /bin

Which item or file represents the location of the user's personal files?

home directory

Which command is used to register a client to Red Hat Insights?

insights-client --register

Review the following information and use it to answer the quiz questions.The system has four users assigned to the following groups: User consultant1 is in groups consultant1 and database1 User operator1 is in groups operator1 and database1 User contractor1 is in groups contractor1 and contractor3 User operator2 is in groups operator2 and contractor3 The current directory (.) contains four files with the following permissions information: drwxrwxr-x. operator1 database1 . -rw-rw-r--. consultant1 consultant1 lfile1 -rw-r--rw-. consultant1 database1 lfile2 -rw-rw-r--. operator1 database1 rfile1 -rw-r-----. operator1 database1 rfile2 Which file has a group ownership of consultant1?

lfile1

Review the following information and use it to answer the quiz questions.The system has four users assigned to the following groups: User consultant1 is in groups consultant1 and database1 User operator1 is in groups operator1 and database1 User contractor1 is in groups contractor1 and contractor3 User operator2 is in groups operator2 and contractor3 The current directory (.) contains four files with the following permissions information: drwxrwxr-x. operator1 database1 . -rw-rw-r--. consultant1 consultant1 lfile1 -rw-r--rw-. consultant1 database1 lfile2 -rw-rw-r--. operator1 database1 rfile1 -rw-r-----. operator1 database1 rfile2 Which file can be modified by the contractor1 user?

lfile2

Which item represents the program that provides the user's command-line prompt?

login shell

Which command lists files in the current location, using a long format, and including hidden files?

ls -al

Which term allows one system to send traffic to a special IP address that is received by multiple systems?

multicast

Which term determines how many leading bits in the IP address contribute to its network address?

netmask

What is the fourth field of the /etc/passwd file?

primary group

Which command displays the absolute path name of the current location?

pwd

Review the following information and use it to answer the quiz questions.The system has four users assigned to the following groups: User consultant1 is in groups consultant1 and database1 User operator1 is in groups operator1 and database1 User contractor1 is in groups contractor1 and contractor3 User operator2 is in groups operator2 and contractor3 The current directory (.) contains four files with the following permissions information: drwxrwxr-x. operator1 database1 . -rw-rw-r--. consultant1 consultant1 lfile1 -rw-r--rw-. consultant1 database1 lfile2 -rw-rw-r--. operator1 database1 rfile1 -rw-r-----. operator1 database1 rfile2 Which regular file is owned by operator1 and readable by all users?

rfile1

Review the following information and use it to answer the quiz questions.The system has four users assigned to the following groups: User consultant1 is in groups consultant1 and database1 User operator1 is in groups operator1 and database1 User contractor1 is in groups contractor1 and contractor3 User operator2 is in groups operator2 and contractor3 The current directory (.) contains four files with the following permissions information: drwxrwxr-x. operator1 database1 . -rw-rw-r--. consultant1 consultant1 lfile1 -rw-r--rw-. consultant1 database1 lfile2 -rw-rw-r--. operator1 database1 rfile1 -rw-r-----. operator1 database1 rfile2 Which files can be deleted by the operator1 user?

rfile1 and rfile2

Review the following information and use it to answer the quiz questions.The system has four users assigned to the following groups: User consultant1 is in groups consultant1 and database1 User operator1 is in groups operator1 and database1 User contractor1 is in groups contractor1 and contractor3 User operator2 is in groups operator2 and contractor3 The current directory (.) contains four files with the following permissions information: drwxrwxr-x. operator1 database1 . -rw-rw-r--. consultant1 consultant1 lfile1 -rw-r--rw-. consultant1 database1 lfile2 -rw-rw-r--. operator1 database1 rfile1 -rw-r-----. operator1 database1 rfile2 Which file cannot be read by the operator2 user?

rfile2

Which service sorts and organizes syslog messages into files in /var/log?

rsyslog

Which command is used to register a system without using a graphical environment?

subscription-manager

Which answer sends output to both the screen and a file at the same time?

| tee file


Conjuntos de estudio relacionados

AP English Language + Composition - MCQ

View Set

Chapter 21: Carbohydrate Metabolism Quiz

View Set

AP CSP Unit 3: Decisions and Algorithms

View Set

Business Law chapter 18 Application Test

View Set

Psychology Exam 4 - Chapters 11,12,14 (Multiple Choice Quizzes)

View Set

Azija-Podnebje,rastlinstvo,reke.

View Set

Final Exam Biomechnics KIN 3309 U of H

View Set