Red Hat RHCSA 8: Pre-Assessment (Questions With
Correct Answers)
Which of the following commands can be used to manage most of the
password properties? Right Ans - chage
Which parameter specifies the default location where the Apache web server
looks for its contents? Right Ans - Document Root
Which of the following commands sets the sales group as the group owner of
newfile without changing the user owner?Each correct answer represents a
complete solution. Choose all that apply. Right Ans - chown .sales newfile
chown :sales newfile
Bella works as a Linux system administrator for ABC Inc. She wants to create a
volume group with the name as vgdata and add the physical device i.e
/dev/sdc to the volume group. Which of the following commands will help
Bella in accomplishing the task? Right Ans - vgcreate vgdata /dev/sdc
Which timedatectl command sets the current time? Right Ans - set-time
TIME
Bella works as a Linux system administrator for ABC Inc. She used crontab -e,
which opens an editor interface and creates a temporary file. In which of the
following directories this temporary file moved after editing? Right Ans
- /var/spool/cron
Consider the following steps to perform the boot procedure on Linux:
Performing POST, Loading the boot loader, Starting /sbin/init, Switching to
the root file system, Running the default target, Processing initrd.target,
Loading the kernel, Selecting the bootable device, What is the correct order of
steps? Right Ans - 1, 8, 2, 7, 3, 6, 4, 5
Which of the following is a directory that contains log files that are written by
the Apache web server? Right Ans - var/log/httpd
Which of the following utilities are used for compression of files on Linux?
Right Ans - gzip bzip2
, Which of the following commands sets the user lisa as the owner of myfile?
Right Ans - chown lisa myfile
Which of the following is an installation source used for installing software?
Right Ans - Respository
Which of the following statements tells the parent shell whether the script
was successful? Right Ans - exit
Which directory contains directories that are used for mounting devices in the
file system tree? Right Ans - /media
It is an integrated circuit on the system board that is completely independent
of the current state of the operating system and keeps running even when the
computer is shut down, as long as the mainboard battery or power supply
feeds it. Right Ans - hardware time
Which of the following RPM query commands uses the RPM database to show
all documentation that is available in the package? Right Ans - rpm -qd
Which of the following is available for services that need to be executed only
once? Right Ans - atd
Bella works as a network administrator for ABC Inc. The company has a
Linux-based network. The network has a mixed set of client operating
systems. She wants to format a new hard disk drive. The drive will have only
one partition. Both the Linux and Windows operating systems will access the
partition. Which of the following file systems will she use? Right Ans - vfat
Mark works as a Linux system administrator for ABC Inc. On a Linux server,
many processes are running. He wants to know the name of the processes
along with the exact command that was used to start those processes. Which
of the following commands will help Mark to accomplish the task? Right
Ans - ps -ef
Which conditional loop is used to execute code as long as a specific condition
is true? Right Ans - while
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 LeCrae. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $9.99. You're not tied to anything after your purchase.