
EC-CouncilCertified DevSecOps Engineer
Domain 6Objective 2
Docker Container Deployment ECDE Practice Questions (Page 2)
Part of the Operate and Monitor Stage domain, which makes up ~21% of our current practice bank.
41questions here
9free pages
7concepts
Questions 6–10
- 6
A team is using Docker Compose to deploy a web application and a database. The web application needs to be accessible from outside the host, but the database should only be accessible from the web application. Which compose file configuration achieves this?
Select an answer first - 7
A team is running a web application in a Docker container on a host. The application listens on port 8080 inside the container, and users need to access it from outside the host on port 80. Which docker run command achieves this?
Select an answer first - 8
A Docker Compose application defines a web service and a database service. The web service needs to communicate with the database using the service name 'db' as the hostname. What is the default behavior in a Compose-defined network?
Select an answer first - 9
Which Docker command creates a new custom bridge network named 'app-net'?
Select an answer first - 10
A containerized application is writing logs to stdout, but the team wants to view the logs in real time to debug an issue. Which command should be used?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by EC-Council. “ECDE” is a trademark of its owner, used for identification only.