RHCSA 2024 Exam Questions with Correct Answers
Which is the correct term for the description here? "The environment from which a shell is used where users can enter their commands"
a. Terminal
b. Console
c. Shell
d. Interface - Answer-Terminal
Which is the correct term for the descrip...
Which is the correct term for the description here? "The environment from which a shell
is used where users can enter their commands"
a. Terminal
b. Console
c. Shell
d. Interface - Answer-Terminal
Which is the correct term for the description here? "The environment that offers a
command line on which users type the commands they want to use"
a. Terminal
b. Console
c. Shell
d. Interface - Answer-Shell
Which device file is associated with the virtual console that is opened after using the Alt-
F6 key sequence?
a. /dev/console6
b. /dev/tty6
c. /dev/vty6
d. /dev/pts/6 - Answer-/dev/tty6
Which of the following methods will open a pseudo terminal device? (Choose two.)
a. Log in using an SSH session
b. Press Alt-F2 to open a new nongraphical login
c. Type terminal in the search menu and open it
d. Enter your username and password on a nongraphical console - Answer-Log in
using an SSH session; Type terminal in the search menu and open it
Sometimes a server reboot may be necessary to accomplish a task. Which of the
following is not typically one of them?
a. To recover from serious problems such as server hangs and kernel panics
b. To apply kernel updates
c. To apply changes to kernel modules that are being used currently and therefore
cannot be reloaded easily
d. To apply changes to the network configuration - Answer-To apply changes to the
network configuration
Which of the following is true about remote access to Linux servers from a Windows
environment?
, a. Open a shell terminal on Windows and type ssh to access Linux servers remotely.
The ssh command is available as a default part of the Windows operating system.
b. Configure Remote Access on Windows if you want to access Linux servers running
the sshd process.
c. Install the PuTTY program on Windows to access sshd services on Linux from
Windows.
d. You cannot remotely access Linux machines from Windows. - Answer-Install the
PuTTY program on Windows to access sshd services on Linux from Windows.
What is the name of the file in which the public key fingerprint of the SSH servers you
have connected to in the past are stored?
a. /etc/ssh/remote_hosts
b. /etc/ssh/known_hosts
c. ~/.ssh/remote_hosts
d. ~/.ssh/known_hosts - Answer-~/.ssh/known_hosts
To allow graphical applications to be used through an SSH session, you can set a
parameter in the /etc/ssh/ssh_config file. Using this parameter makes it unnecessary to
use the -X command-line option each time an SSH session is initiated. Which of the
following parameters should be used?
a. Host *
b. TunnelX11 yes
c. ForwardX11 yes
d. Xclient yes - Answer-ForwardX11 yes
Which of the following statements about key-based SSH authentication is true?
a. After creating the key pair, you need to copy the private key to the remote server.
b. Use scp to copy the public key to the remote server.
c. Use ssh-copy-id to copy the public key to the remote server.
d. Use ssh-keygen on the server to generate a key pair that matches the client keys. -
Answer-Use ssh-copy-id to copy the public key to the remote server.
Which statement about privileged users (root) is true?
a. A privileged user is a user who has access to a Linux system.
b. A privileged user with no access permissions can do nothing at all.
c. Privileged users are not restricted in any way.
d. On every server, at least one privileged user must be manually created while
installing the server. - Answer-Privileged users are not restricted in any way.
On a default installation of an RHEL 8 server, which group does the user typically need
to be a member of to be able to use sudo to run all administration commands?
a. admin
b. root
c. sys
d. wheel - Answer-wheel
, There are different ways that users can run tasks with root permissions. Which of the
following is not one of them?
a. sudo
b. runas
c. su
d. PolicyKit - Answer-runas
Which of the following is used to store the hash of the user's encrypted password?
a. /etc/passwd
b. /etc/shadow
c. /etc/users
d. /etc/secure - Answer-/etc/shadow
Which configuration file should you change to set the default location for all new user
home directories?
a. /etc/login.defaults
b. /etc/login.defs
c. /etc/default/useradd
d. /etc/default/login.defs - Answer-/etc/default/useradd
Which command enables you to get information about password properties such as
password expiry?
a. chage -l
b. usermod --show
c. passwd -l
d. chage --show - Answer-chage -l
Which of the following files is not processed when a user starts a login shell?
a. /etc/profile
b. /etc/.profile
c. ~/.bashrc
d. ~/.bash_profile - Answer-/etc/.profile
You want to install a test environment to price for the RHCSA exam. Which of the
following distributions should you avoid?
a. The most recent Fedora version
b. CentOS 8
c. Scientific Linux 8
d. RHEL 8 - Answer-The most recent Fedora version
Which of the following features is availiable both in RHEL and CentOS?
a. Hardware certification
b. Software certification
c. The right to make support calls
d. Software updates. - Answer-Software updates.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Scholarsstudyguide. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $13.49. You're not tied to anything after your purchase.