An administrator is provisioning an Apache web server. When the administrator visits the server website, the browser displays a message indicating the website cannot be reached. Which of the following commands should the administrator use to verify whether the service Is running?
systemctl status httpd is the correct option to check if the Apache web server (httpd) is running. The systemctl status command provides detailed information about the service, including whether it is active and running.
A systems administrator is working on an SFTP server configuration. Which of the following commands will best enable the connectivity to that service from the 10.10.0.0/24 network?
To allow SFTP (which uses port 22, same as SSH) from a specific subnet using UFW, the most specific and correct syntax is:
bash
sudo ufw allow from 10.10.0.0/24 to any port 22
This allows traffic from a specific subnet to port 22, which is what's required.
Option B allows traffic on an interface but is not limited to the subnet.
Option C is incomplete --- it allows all ports from the subnet.
Option D is malformed syntax --- 0:22/tcp is not a valid port range or UFW format.
''UFW rules can be configured to restrict access by IP range and port. For SFTP, allow port 22 specifically from the required subnet.''
A developer reported an incident involving the application configuration file /etc/httpd/conf/httpd.conf that is missing from the server. Which of the following identifies the RPM package that installed the configuration file?
The rpm -qf /etc/httpd/conf/httpd.conf command will identify the RPM package that installed the configuration file. This command will query the database of installed packages and display the name of the package that owns the specified file. The rpm -ql /etc/httpd/conf/httpd.conf command is invalid, as -ql is not a valid option for rpm. The rpm --query /etc/httpd/conf/httpd.conf command is incorrect, as --query requires a package name, not a file name. The rpm -q /etc/httpd/conf/httpd.conf command is incorrect, as -q requires a package name, not a file name.:CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 19: Managing Packages and Software, page 560.
A junior systems administrator has just generated public and private authentication keys for passwordless login. Which of the following files will be moved to the remote servers?
The file id_rsa.pub will be moved to the remote servers for passwordless login. The id_rsa.pub file is the public authentication key that is generated by thessh-keygencommand. The public key can be copied to the remote servers by using thessh-copy-idcommand or manually. The remote servers will use the public key to authenticate the user who has the corresponding private key (id_rsa). This will allow the user to log in without entering a password. The other options are incorrect because they are either private keys (id_rsa, id_dsa.pem, or id_ecdsa) or non-existent files (id_dsa.pem or id_ecdsa).:CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 13: Managing Network Services, page 410.
A systems engineer deploys a new application server, but the server cannot communicate with the back-end database hostname. The engineer confirms that the application server can ping the database server's IP address. Which of the following is the most likely cause of the issue?
If the application server can ping the database server by its IP address but not by its hostname, it indicates a DNS resolution issue. The most likely cause is incorrect DNS server configuration. The engineer should verify the DNS settings in /etc/resolv.conf or the network configuration.
Flo
4 days agoSheldon
11 days agoMari
19 days agoStanton
26 days agoIrma
1 month agoHector
1 month agoMarica
2 months agoAdrianna
2 months agoGlendora
2 months agoYuette
2 months agoScot
3 months agoJerry
3 months agoLashanda
3 months agoSylvie
3 months agoStanford
4 months agoNell
4 months agoTheodora
4 months agoCarmela
5 months agoLashaun
5 months agoCharisse
5 months agoMoon
5 months agoShasta
5 months agoAmber
6 months agoEdna
6 months agoEvangelina
8 months agoBlair
9 months agoJonell
10 months agoMaddie
11 months agoTrina
1 year agoMicheline
1 year agoAlona
1 year agoLanie
1 year agoVeronica
1 year agoLashon
1 year agoViki
1 year agoNenita
1 year agoNoe
1 year agoMyong
1 year agoFlo
1 year agoCristy
1 year agoOmega
1 year agoLore
1 year agoGarry
1 year agoLynette
1 year agoKrissy
1 year agoMiriam
2 years agoVeda
2 years agoRickie
2 years agoQueen
2 years agoLeota
2 years agoYolando
2 years agoMatilda
2 years agoLynette
2 years agoFabiola
2 years agoValentine
2 years agomeezo
2 years agohekeho
2 years agoMark james
2 years agotokyo
2 years agoarmstrong
2 years ago