Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 6 pages
Exam (elaborations)

Lfcs Exam Questions And Answers (Guaranteed A+)

Document preview thumbnail
Preview 2 out of 6 pages

Lfcs Exam Questions And Answers (Guaranteed A+) In order to run a container instantiated on a Docker image called 'httpd:2.4', which of the following commands would start that container with it's default settings, disconnected from the terminal (i.e. running in the background), non-interactively, named 'MyTestWeb', mapping the container's HTTP port to the host port 8080? - Answerdocker run -itd --name MyTestWeb -p 8080:80 httpd:2.4 You have been working on setting up the Apache web server on an Ubuntu 16.04 system. You discovered that you need to enable the SSL module since you will be using secure certificates on your site. The module is installed, but you need to enable it for use. Which of the following commands will enable this module for the existing server instance? - Answera2enmod ssl 'available to enable' Using the common log format in Apache, which directive and format is valid for producing a log file containing the connecting IP address, username and time of connection to the server? - Answer/mnt/data 10.1.0.122(rw,sync) What are the responsibilities of a caching DNS server? - AnswerAccept DNS queries from client, respond with IP addresses for known names/domains, cache name/domain values until the timeout is reached, obtain new name/domain values for a client request when not in its cache You are connecting to a special cloud hosted Linux server. You generated a special SSH key called 'cloud-server' in the current directory, that you need to use to SSH to that server (and you have already configured the remote system to accept). Which of the following connection commands will use that key and connect to the remote system? - Answerssh -i cloud-server [remote-host] During the installation of an NFS server, on a Red Hat/CentOS system or a Debian/Ubuntu system, which package is responsible for the installation of the NFS server service itself? - Answernfs-utils When configuring your SSH server, you want to prevent the root account from being able to login to the system remotely directly. What directive would prevent root accounts from being able to login over SSH to the server? - AnswerPermitRootLogin no

Content preview

©EVERLY 2024/2025 ALL RIGHTS RESERVED.



Lfcs Exam Questions And Answers
(Guaranteed A+)


In order to run a container instantiated on a Docker image called 'httpd:2.4', which of the
following commands would start that container with it's default settings, disconnected from the
terminal (i.e. running in the background), non-interactively, named 'MyTestWeb', mapping the
container's HTTP port to the host port 8080? - Answer✔docker run -itd --name MyTestWeb -p
8080:80 httpd:2.4
You have been working on setting up the Apache web server on an Ubuntu 16.04 system. You
discovered that you need to enable the SSL module since you will be using secure certificates on
your site. The module is installed, but you need to enable it for use. Which of the following
commands will enable this module for the existing server instance? - Answer✔a2enmod ssl


'available to enable'
Using the common log format in Apache, which directive and format is valid for producing a log
file containing the connecting IP address, username and time of connection to the server? -
Answer✔/mnt/data 10.1.0.122(rw,sync)

What are the responsibilities of a caching DNS server? - Answer✔Accept DNS queries from
client,
respond with IP addresses for known names/domains, cache name/domain values until the
timeout is reached,
obtain new name/domain values for a client request when not in its cache
You are connecting to a special cloud hosted Linux server. You generated a special SSH key
called 'cloud-server' in the current directory, that you need to use to SSH to that server (and you
have already configured the remote system to accept). Which of the following connection
commands will use that key and connect to the remote system? - Answer✔ssh -i cloud-server
[remote-host]
During the installation of an NFS server, on a Red Hat/CentOS system or a Debian/Ubuntu
system, which package is responsible for the installation of the NFS server service itself? -
Answer✔nfs-utils
When configuring your SSH server, you want to prevent the root account from being able to
login to the system remotely directly. What directive would prevent root accounts from being
able to login over SSH to the server? - Answer✔PermitRootLogin no

1|Page

, ©EVERLY 2024/2025 ALL RIGHTS RESERVED.

Which of the following formats will set the indicated local Linux email addresses on your
system? - Answer✔mailer: postmaster postmaster: root nobody: root news: user security: jsmith
Which of the following command line sequences would enable AND start the Apache web server
once installed on a CentOS/Red Hat 7 system? - Answer✔systemctl enable httpd && systemctl
start httpd
.
Which of the following are valid applications for installing virtual guest operating systems on a
Linux host? - Answer✔kvm, VirtualBox
When working with the Squid Proxy Server, you want to restrict access to anyone outside of the
10.1.0.x network. Within the /etc/squid/squid.conf file, what entry would you add so that no one
outside that network can access the service? - Answer✔acl localnet src 10.1.0.0/24 http_access
allow localnet 10.1.0.0/24
You are being asked to troubleshoot a problem with the installation of a virtual machine in your
environment. When trying to install a new Linux system on your 64-bit host, you are unable to
install a 64-bit version of Linux, but you CAN install a 32-bit version. What would be the most
likely cause? - Answer✔Your system BIOS/UEFI is not configured with 'hardware
virtualization' or 'VTx' enabled
When working on a host with Docker containers, if you want to get a full report of all
configuration information associated with the container called 'MyTestWeb', which of the
following commands would you use? - Answer✔docker inspect MyTestWeb
Which of the following are database servers that are supported on Linux and can be configured
for use? - Answer✔MariaDB, MySQL
When you have completed the update of the /etc/aliases file for local email accounts on your
system, you run the 'newaliases' command and it updates the local binary database file. What is
the name and location of that database file? - Answer✔/etc/aliases.db
How can you alter the "next hop" for a network packet destined for the 10.0.0.0/16 network to
use eth1 instead of its default eth0? - Answer✔Create a new IP route.

Which of these things cannot be done with email aliases? - Answer✔Send a copy of every
outgoing message a user sends to the root user.
A developer has asked me to do her a huge favor and run a particular SQL statement on the
MySQL server console as the root database user. It's MariaDB, technically, though, so which
command do I run to get the console with the proper rights? I'm logged in to the machine already
as "chad". (Don't worry, I've got the password memorized!) - Answer✔mysql -u root -p
You're looking at a user's crontab. What does this entry mean?
0 8 * 3 1,2,3,4,5 /opt/do-the-things.sh - Answer✔Run the script /opt/do-the-things.sh at 8:00 AM
every weekday (Monday, Tuesday, Wednesday, Thursday, and Friday) in March.


2|Page

Document information

Uploaded on
January 13, 2025
Number of pages
6
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$10.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Everly
4.3
(4)
Sold
32
Followers
1
Items
2777
Last sold
1 week ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions