Skip to main content

701-100 Real Exam Questions

DevOps Tools Engineer - Exam 701 - version 1.0

120 questions available · Page 1 of 12

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Single choice

Which of the following statements describes the principal concept behind test driven development?

  1. A

    Tests may not be written by the same development team that wrote the tested code.

  2. B

    All tests are generated automatically from the tested source code.

  3. C

    Tests are written before the function / method is implemented.

  4. D

    The only acceptable reason to write a test is to prevent fixed bugs from occurring again.

  5. E

    Instead of testing software automatically, manual tests are performed and logged daily.

Show answer and explanation

Correct answer: C

Explanation

https://en.wikipedia.org/wiki/Test-driven_development

Question 2 Fill in the blank

FILL BLANK

Which docker subcommand starts a new container? (Specify only the subcommand without any path or parameters.)

Show answer and explanation

Accepted answer: run

Question 3 Single choice

Given the following Kubernetes deployment:

NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE

myapp 2 2 2 0 17s

Which command scales the application to five containers?

  1. A

    Kubectl edit deployment/myapp replicas=5

  2. B

    Kubectl deployment myapp replicas=5

  3. C

    Kubectl scale deployment/myapp -replicas=5

  4. D

    Kubectl replicate deployment/myapp +3

  5. E

    Kubectl clone deployment/myapp 3

Show answer and explanation

Correct answer: C

Question 4 Single choice

Using the Ansible cron module a crontab entry should be created for example.sh which runs once after reboot.

Which of the following is a calid Ansible task for this purpose?

  1. A

    -cron:
    Reboot: " /usr/local/bin/example,sh

  2. B

    -cron:
    special: reboot
    crontab: "/usr/local/bin/example.sh

  3. C

    -cron:
    crontab: "reboot/* * * * * root /usr/local/bin/example.sh

  4. D

    -cron:
    uptime: */0
    task: "/usr/local/bin/example.sh"

  5. E

    -cron:
    special_time: reboot
    job: "/usr/local/bin/example.sh

Show answer and explanation

Correct answer: C

Question 5 Single choice

What happens if a grok filter in Logstash processes a log message which dose not match the pattern in the filter's match property?

  1. A

    The message is passed to the unparseable output and no other filters are applied to it.

  2. B

    The message is truncated to those parts which have been matched by the filters.

  3. C

    The message is dropped and no other filters are applied to it.

  4. D

    The message is kept unchanged and no other filters are applied to it.

  5. E

    The message is flagged with the_grokparsefailure tag.

Show answer and explanation

Correct answer: E

Question 6 Single choice

The file index.php, which is being maintained in a git repository, was changed locally and contains an error.
If the error has not been committed to the repository yet, which of the following git commands reverts the local copy of index.php to the latest committed version in the current branch?

  1. A

    git lastver "" index.php

  2. B

    git revert "" index.php

  3. C

    git checkout "" index.php

  4. D

    git clean "" index.php

  5. E

    git repair "" index.php

Show answer and explanation

Correct answer: C

Explanation

https://git-scm.com/docs/git-revert

Question 7 Single choice

Which of the following sections must exist in a Packer template?

  1. A

    images

  2. B

    provisioners

  3. C

    builders

  4. D

    variables

  5. E

    post-processsors

Show answer and explanation

Correct answer: C

Question 8 Multiple choice

Which of the following statements are true about an object storage system as OpenStack Swift? (Choose
TWO correct answers)

  1. A

    Objects can be associated with CORS headers which are served to a client retrieving the object.

  2. B

    Object names are not allowed to contain the / character because all objects are kept in a flat hierarchy.

  3. C

    Objects with a name ending in .htaccess are parsed as configuration files to limit access to other objects.

  4. D

    Objects are accesible vi HTTP and, given appropriate permissions, can be embedded in a web site.

  5. E

    Objects flagged as executable can contain script code which is run on the object store when the object is accessed.

Show answer and explanation

Correct answers: B, D

Question 9 Single choice

If a Dockerfile contains the following lines:

Run cd /tmp
Run echo test > test

Where is the file test located?

  1. A

    /tmp/test within the container image

  2. B

    test in the directory holding the Dockerfile

  3. C

    /root/test within the container image

  4. D

    /tmp/test on the system running docker build

  5. E

    /test within the container image

Show answer and explanation

Correct answer: D

Question 10 Single choice

Given the following excerpt of a Dockerfile:

Run apt-get -y update && apt-get install -y fortunes && apt-get clean

Why are the multiple apt-get commands combined in one RUN statement instead of using multiple RUN statements?

  1. A

    To prevent the commands from running in parallel because Docker executes all RUN statements in their own container at the same time.

  2. B

    To ensure the execution order of the commands because Docker might evaluate the statements of a Dockerfile in any order.

  3. C

    To avoid the creation of unnecessary images because Docker creates a new image for each RUN statement.

  4. D

    To execute both commands in the same container instance and void Docker to reset the container to

    the original base image.

  5. E

    To execute the apt-get install command only if the apt-get update command was successful because Docker does not check the success of RUN statements.

Show answer and explanation

Correct answer: C