Question 126

A junior administrator is setting up a new Linux server that is intended to be used as a router at a remote site.
Which of the following parameters will accomplish this goal?
  • Question 127

    A Linux administrator is attempting to capture all network traffic coming to the server from the
    10.0.6.5 IP address. Which of the following commands should the administrator run on the server to achieve the goal?
  • Question 128

    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?
  • Question 129

    A user is asking the systems administrator for assistance with writing a script to verify whether a file exists.
    Given the following:

    Which of the following commands should replace the <CONDITIONAL> string?
  • Question 130

    A systems administrator created a new directory with specific permissions. Given the following output:
    arduino
    $ ls -ld /comptia
    drwxr-x--- 2 root root 4096 Oct 20 20:13 /comptia
    $ getfacl /comptia
    # file: /comptia
    # owner: root
    # group: root
    user::rwx
    group::r-x
    other::---
    default:user::rwx
    default:group::r-x
    default:group:wheel:rwx
    default:mask::rwx
    default:other::---
    Which of the following permissions are enforced on /comptia?