ExamGecko
Home / CompTIA / XK0-005 / List of questions
Ask Question

CompTIA XK0-005 Practice Test - Questions Answers, Page 24

Add to Whishlist

List of questions

Question 231

Report Export Collapse

A systems administrator checked out the code from the repository, created a new branch, made changes to the code, and then updated the main branch. The systems administrator wants to ensure that the Terraform state files do not appear in the main branch. Which of following should the administrator use to meet this requirement?

Become a Premium Member for full access
  Unlock Premium Member

Question 232

Report Export Collapse

A junior administrator updated the PostgreSQL service unit file per the data-base administrator's recommendation. The service has been restarted, but changes have not been applied. Which of the following should the administrator run for the changes to take effect?

Become a Premium Member for full access
  Unlock Premium Member

Question 233

Report Export Collapse

A developer needs to launch an Nginx image container, name it Web001, and ex-pose port 8080 externally while mapping to port 80 inside the container. Which of the following commands will accomplish this task?

Become a Premium Member for full access
  Unlock Premium Member

Question 234

Report Export Collapse

A junior developer is unable to access an application server and receives the following output:

CompTIA XK0-005 image Question 234 99875 10022024175436000000

The systems administrator investigates the issue and receives the following output:

CompTIA XK0-005 image Question 234 99875 10022024175436000000

Which of the following commands will help unlock the account?

Become a Premium Member for full access
  Unlock Premium Member

Question 235

Report Export Collapse

A systems administrator wants to delete app . conf from a Git repository. Which of the following commands will delete the file?

Become a Premium Member for full access
  Unlock Premium Member

Question 236

Report Export Collapse

A senior Linux administrator has created several scripts that will be used to install common system applications. These scripts are published to a reposito-ry to share with the systems team. A junior Linux administrator needs to re-trieve the scripts and make them available on a local workstation. Which of the following Git commands should the junior Linux administrator use to accom-plish this task?

Become a Premium Member for full access
  Unlock Premium Member

Question 237

Report Export Collapse

A DevOps engineer wants to allow the same Kubernetes container configurations to be deployed in development, testing, and production environments. A key requirement is that the containers should be configured so that developers do not have to statically configure custom, environment-specific locations. Which of the following should the engineer use to meet this requirement?

Become a Premium Member for full access
  Unlock Premium Member

Question 238

Report Export Collapse

A non-privileged user is attempting to use commands that require elevated account permissions, but the commands are not successful. Which of the following most likely needs to be updated?

Become a Premium Member for full access
  Unlock Premium Member

Question 239

Report Export Collapse

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?

Become a Premium Member for full access
  Unlock Premium Member

Question 240

Report Export Collapse

An administrator thinks that a package was installed using a snap. Which of the following commands can the administrator use to verify this information?

Become a Premium Member for full access
  Unlock Premium Member
Total 407 questions
Go to page: of 41
Search

Related questions