New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Pass the CompTIA Linux+ XK0-005 Questions and answers with CertsForce

Viewing page 7 out of 15 pages
Viewing questions 61-70 out of questions
Questions # 61:

A Linux administrator is reviewing changes to a configuration file that includes the following section:

The Linux administrator is trying to select the appropriate syntax formatter to correct any issues with the configuration file. Which of the following should the syntax formatter support to meet this goal?

Options:

A.

Markdown


B.

XML


C.

YAML


D.

JSON


Expert Solution
Questions # 62:

A Linux administrator created the directory /project/access2all. By creating this directory, the administrator is trying to avoid the deletion or modification of files from non-owners. Which of the following will accomplish this goal?

Options:

A.

chmod +t /project/access2all


B.

chmod +rws /project/access2all


C.

chmod 2770 /project/access2all


D.

chmod ugo+rwx /project/access2all


Expert Solution
Questions # 63:

A systems administrator is troubleshooting connectivity issues and trying to find out why a Linux server is not able to reach other servers on the same subnet it is connected to. When listing link parameters, the following is presented:

Question # 63

Based on the output above, which of following is the MOST probable cause of the issue?

Options:

A.

The address ac:00:11:22:33:cd is not a valid Ethernet address.


B.

The Ethernet broadcast address should be ac:00:11:22:33:ff instead.


C.

The network interface eth0 is using an old kernel module.


D.

The network interface cable is not connected to a switch.


Expert Solution
Questions # 64:

A Linux systems administrator is setting up a new web server and getting 404 - NOT FOUND errors while trying to access the web server pages from the browser. While working on the diagnosis of this issue, the Linux systems administrator executes the following commands:

Which of the following commands will BEST resolve this issue?

Options:

A.

sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config


B.

restorecon -R -v /var/www/html


C.

setenforce 0


D.

setsebool -P httpd_can_network_connect_db on


Expert Solution
Questions # 65:

Based on an organization’s new cybersecurity policies, an administrator has been instructed to ensure that, by default, all new users and groups that are created fall within the specified values below.

To which of the following configuration files will the required changes need to be made?

Options:

A.

/etc/login.defs


B.

/etc/security/limits.conf


C.

/etc/default/useradd


D.

/etc/profile


Expert Solution
Questions # 66:

Some servers in an organization have been compromised. Users are unable to access to the organization’s web page and other services. While reviewing the system log, a systems administrator notices messages from the kernel regarding firewall rules:

Which of the following commands will remediate and help resolve the issue?

Options:

A.

B.

C.

D.

Expert Solution
Questions # 67:

A Linux administrator has installed a web server, a database server, and a web application on a server. The web application should be active in order to render the web pages. After the administrator restarts the server, the website displays the following message in the browser: Error establishing a database connection. The Linux administrator reviews the following relevant output from the systemd init files:

The administrator needs to ensure that the database is available before the web application is started. Which of the following should the administrator add to the HTTP server .service file to accomplish this task?

Options:

A.

TRIGGERS=mariadb.service


B.

ONFAILURE=mariadb.service


C.

WANTEDBY=mariadb.service


D.

REQUIRES=mariadb.service


Expert Solution
Questions # 68:

A Linux administrator is tasked with creating resources using containerization. When deciding how to create this type of deployment, the administrator identifies some key features, including portability, high availability, and scalability in production. Which of the following should the Linux administrator choose for the new design?

Options:

A.

Docker


B.

On-premises systems


C.

Cloud-based systems


D.

Kubernetes


Expert Solution
Questions # 69:

A systems administrator has been tasked with disabling the nginx service from the environment to prevent it from being automatically and manually started. Which of the following commands will accomplish this task?

Options:

A.

systemct1 cancel nginx


B.

systemct1 disable nginx


C.

systemct1 mask nginx


D.

systemct1 stop nginx


Expert Solution
Questions # 70:

A developer has been unable to remove a particular data folder that a team no longer uses. The developer escalated the issue to the systems administrator. The following output was received:

Which of the following commands can be used to resolve this issue?

Options:

A.

chgrp -R 755 data/


B.

chmod -R 777 data/


C.

chattr -R -i data/


D.

chown -R data/


Expert Solution
Viewing page 7 out of 15 pages
Viewing questions 61-70 out of questions