A DevOps engineer has built a new container and must open port 8080 for intercontainer communication. Which command must be added in a Dockerfile to accomplish this goal?
Answer(s): A
Which two actions help limit the attack surface of your Docker container? (Choose two.)
Answer(s): A,C
Running only a single service in each container and using version tags for base images and dependencies helps limit the attack surface of your Docker container. This ensures that only the necessary services are running and that you always have the latest versions of the base images and their dependencies, reducing the risk of malicious code being included in the container image.
Docker Documentation, Security Best Practices.
A DevOps engineer has built a container to host a web-server and it must run as an executable.Which command must be configured in a Dockerfile to accomplish this goal?
Answer(s): B
Which Docker command is used to start an interactive Bash shell in a running container named "test"?
Answer(s): C
Post your Comments and Discuss Cisco® 300-910 exam with other Community members:
To protect our content from bots for real learners like you, we ask you to register for free. Sign in or sign up now to continue with the 300-910 material!