nerdexam
CiscoCisco

300-910 · Question #105

300-910 Question #105: Real Exam Question with Answer & Explanation

Sign in or unlock 300-910 to reveal the answer and full explanation for question #105. The question stem and answer options stay visible for context.

Containerization

Question

Refer to the exhibit. A DevOps engineer is deploying a stack of services with Docker Compose. A containerized application running in the app Docker container must communicate with the web-server Docker container running a NGINX web server. How must communication between the two Docker containers be configured? ```yaml version: "3.3" services: app: build: . environment: SERVER_NAME: web-server depends_on: - web-server web-server: image: nginx ```

Options

  • ADocker containers are completely isolated from each other, so the two Docker containers will not communicate with each other.
  • BDocker Compose will use the depends_on configuration to provide the app Docker container with the IP address of the web-server Docker container.
  • CThe application running in the app Docker container will use DNS to resolve the SERVER_NAME environment variable that contains web-server to an IP address.
  • DThe application running in the app Docker container will use ARP to resolve the SERVER_NAME environment variable that contains web-server to an IP address.

Unlock 300-910 to see the answer

You've previewed enough free 300-910 questions. Unlock 300-910 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Docker Compose#Container Networking#Service Discovery#DNS
Full 300-910 PracticeBrowse All 300-910 Questions