Cisco 300-910 Practice Test - Questions Answers, Page 2
List of questions
Related questions
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?
EXPOSE 8080
FIREWALL ADD-PORT 8080
PORT 8080
OPEN PORT 8080
Which two actions help limit the attack surface of your Docker container? (Choose two.)
Run only a single service in each container.
Run all services in a single image.
Use version tags for base images and dependencies.
Use Kali Linux as a base image.
Download images over HTTPS supporting sites.
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?
ENTRYPOINT <usr/sbin/apache2ctl>
ENTRYPOINT [“/usr/sbin/apache2ctl”, “-D”, “FOREGROUND”]
ENTRYPOINT [“BACKGROUND”, “-D”, “/usr/sbin/apache2ctl”]
ENTRYPOINT {usr/sbin/apache2ctl}
Which Docker command is used to start an interactive Bash shell in a running container named “test”?
docker attach -it test /bin/bash
docker run -it test /bin/bash
docker exec -it test /bin/bash
docker run test /bin/bash
What are two reasons a Docker golden image should be updated? (Choose two.)
when there is a change to a username or password in the Docker secrets
when the application has a new release
when a fix for a security vulnerability is released
when a change is needed to an environment variable in the Dockerfile
when the base image is nearing the end of life
A company has experienced serious growth and the hosted applications are getting more and more hits. Based on the increased work load, applications have started to show signs of reduced performance, which is affecting the user experience.
Which two server metrics should be tracked to ensure that the customer experience remains within acceptable limits? (Choose two.)
application feature sprawl
CPU peak usage
CPU average usage
microservices count
CPU frequency
Microservices architecture pattern has been applied and the system has been architected as a set of services. Each service is deployed as a set of instances for throughput and availability. In which two ways are these services packaged and deployed? (Choose two.)
Service instances must be isolated from one another.
Service must be independently deployable and scalable.
Service are written using the same languages, frameworks, and framework versions.
Service must be dependent, deployable, and scalable.
Service instances do not need to be isolated from one another.
What is the purpose of using a build tool in software development?
It complies source code into binaries and executables.
It provides a way to edit source code using a graphical interface.
It is a manual process that is followed to build software.
It tracks bugs and incidents in a built application.
Fill in the blanks to complete the line of Python code that sends a message to a Webex Teams room or person.
post, messages
Fill in the blank to complete the statement.
A user wants a Kubernetes deployment to run three separate pods of a web application at one time.
In the deployment YAML, the user must configure the___________field in the________subsection.
"replicas" ,
"spec"
Question