최신 XK0-005 무료덤프 - CompTIA Linux+ Certification
A Linux administrator is enabling root log-in over SSH on a server. Which of the following combinations of files and parameters should the administrator modify to accomplish this task?
정답: C
설명: (DumpTOP 회원만 볼 수 있음)
Junior system administrator had trouble installing and running an Apache web server on a Linux server. You have been tasked with installing the Apache web server on the Linux server and resolving the issue that prevented the junior administrator from running Apache.
INSTRUCTIONS
Install Apache and start the service. Verify that the Apache service is running with the defaults.
Typing "help" in the terminal will show a list of relevant event commands.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.

INSTRUCTIONS
Install Apache and start the service. Verify that the Apache service is running with the defaults.
Typing "help" in the terminal will show a list of relevant event commands.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.

정답:
See the explanation below.
Explanation:
yum install httpd
systemct1 --now enable httpd
systemct1 status httpd
netstat -tunlp | grep 80
pkill <processname>
systemct1 restart httpd
systemct1 status httpd
Explanation:
yum install httpd
systemct1 --now enable httpd
systemct1 status httpd
netstat -tunlp | grep 80
pkill <processname>
systemct1 restart httpd
systemct1 status httpd
Which of the following is a function of a bootloader?
정답: C
설명: (DumpTOP 회원만 볼 수 있음)
A systems administrator is enabling LUKS on a USB storage device with an ext4 filesystem format. The administrator runs dmesg and notices the following output:

Given this scenario, which of the following should the administrator perform to meet these requirements?
(Select three).

Given this scenario, which of the following should the administrator perform to meet these requirements?
(Select three).
정답: A,F,G
설명: (DumpTOP 회원만 볼 수 있음)
An application developer received a file with the following content:
##This is a sample Image ##
FROM ubuntu:18.04
MAINTAINER [email protected]
COPY . /app
RUN make /app
CMD python /app/app.py
RUN apt-get update
RUN apt-get install -y nginx
CMD ["echo","Image created"]
The developer must use this information to create a test bed environment and identify the image (myimage) as the first version for testing a new application before moving it to production. Which of the following commands will accomplish this task?
##This is a sample Image ##
FROM ubuntu:18.04
MAINTAINER [email protected]
COPY . /app
RUN make /app
CMD python /app/app.py
RUN apt-get update
RUN apt-get install -y nginx
CMD ["echo","Image created"]
The developer must use this information to create a test bed environment and identify the image (myimage) as the first version for testing a new application before moving it to production. Which of the following commands will accomplish this task?
정답: C
설명: (DumpTOP 회원만 볼 수 있음)
A Linux administrator would like to use systemd to schedule a job to run every two hours. The administrator creates timer and service definitions and restarts the server to load these new configurations. After the restart, the administrator checks the log file and notices that the job is only running daily. Which of the following is MOST likely causing the issue?
정답: D
설명: (DumpTOP 회원만 볼 수 있음)
A Linux administrator is troubleshooting an issue in which an application service failed to start on a Linux server. The administrator runs a few commands and gets the following outputs:

Based on the above outputs, which of the following is the MOST likely action the administrator should take to resolve this issue?

Based on the above outputs, which of the following is the MOST likely action the administrator should take to resolve this issue?
정답: A
설명: (DumpTOP 회원만 볼 수 있음)
The journald entries have filled a Linux machine's /var volume. Which of the following is the best command for a systems administrator to use to free up the disk space occupied by these entries?
정답: B
설명: (DumpTOP 회원만 볼 수 있음)
A Linux administrator needs to expose port 9000 for a container to listen during runtime. The Linux administrator creates a Dockerfile with the following entries:
sql
FROM node:9-alpine
WORKDIR /usr/src/app
COPY package.json ./
RUN npm install
COPY . .
EXPOSE 9000
CMD ["npm", "start"]
Which of the following commands should the administrator use to accomplish this task? (Select two).
sql
FROM node:9-alpine
WORKDIR /usr/src/app
COPY package.json ./
RUN npm install
COPY . .
EXPOSE 9000
CMD ["npm", "start"]
Which of the following commands should the administrator use to accomplish this task? (Select two).
정답: A,F
설명: (DumpTOP 회원만 볼 수 있음)
A systems administrator is trying to track down a rogue process that has a TCP listener on a network interface for remote command-and-control instructions.
Which of the following commands should the systems administrator use to generate a list of rogue process names? (Select two).
Which of the following commands should the systems administrator use to generate a list of rogue process names? (Select two).
정답: C,D
설명: (DumpTOP 회원만 볼 수 있음)
A Linux engineer set up two local DNS servers (10.10.10.10 and 10.10.10.20) and was testing email connectivity to the local mail server using the mail command on a local machine when the following error appeared:

The local machine DNS settings are:

Which of the following commands could the engineer use to query the DNS server to get mail server information?

The local machine DNS settings are:

Which of the following commands could the engineer use to query the DNS server to get mail server information?
정답: D
설명: (DumpTOP 회원만 볼 수 있음)
A systems administrator is installing various software packages using a pack-age manager. Which of the following commands would the administrator use on the Linux server to install the package?
정답: D
An administrator runs ping comptia.org. The result of the command is:
ping: comptia.org: Name or service not known
Which of the following files should the administrator verify?
ping: comptia.org: Name or service not known
Which of the following files should the administrator verify?
정답: A
설명: (DumpTOP 회원만 볼 수 있음)
A Linux administrator changed a systemd configuration. However, the change was not applied after the system was restarted. Which of the following commands is required to apply the change?
정답: C
설명: (DumpTOP 회원만 볼 수 있음)
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?
정답: B
설명: (DumpTOP 회원만 볼 수 있음)
A user generated a pair of private-public keys on a workstation. Which of the following commands will allow the user to upload the public key to a remote server and enable passwordless login?
정답: C
설명: (DumpTOP 회원만 볼 수 있음)
A systems administrator is tasked with setting up key-based SSH authentication. In which of the following locations should the administrator place the public keys for the server?
정답: B
설명: (DumpTOP 회원만 볼 수 있음)
A Linux systems administrator needs to add additional code to code that resides within a repository without changing the original code. Once completed, the additional code will be merged into the main branch. Which of the following commands should the administrator use first?
정답: C