XK0-005 Exam Question 46

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?
  • XK0-005 Exam Question 47

    A systems administrator is troubleshooting a connectivity issue pertaining to access to a system named db.example.com. The system IP address should be 192.168.20.88. The administrator issues the dig command and receives the following output:

    The administrator runs grep db.example.com /etc/hosts and receives the following output:

    Given this scenario, which of the following should the administrator do to address this issue?
  • XK0-005 Exam Question 48

    A systems administrator needs to reconfigure a Linux server to allow persistent IPv4 packet forwarding.
    Which of the following commands is the correct way to accomplish this task?
  • XK0-005 Exam Question 49

    A Linux administrator cloned an existing Linux server and built a new server from that clone. The administrator encountered the following error after booting the cloned server:

    The administrator performed the commands listed below to further troubleshoot and mount the missing filesystem:

    Which of the following should administrator use to resolve the device mismatch issue and mount the disk?
  • XK0-005 Exam Question 50

    A Linux administrator is configuring a log collector agent to monitor logs in /var/log/collector. The agent is reporting that it cannot write to the directory. The agent runs as the logger user account. The administrator runs a few commands and reviews the following output:
    makefile
    Output 1:
    drwxr-xr-x. 1 root root 0 Oct 20:13 collector
    Output 2:
    file: /var/log/collector
    owner: root
    group: root
    user::rwx
    group::r-x
    mask::rwx
    other::r-x
    Output 3:
    uid=1010(logger) gid=1010(monitor) groups=1010(monitor)
    Which of the following is the best way to resolve the issue?