ExamGecko
Home Home / Cisco / 300-910

Cisco 300-910 Practice Test - Questions Answers, Page 2

Question list
Search
Search

List of questions

Search

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?

A.

EXPOSE 8080

A.

EXPOSE 8080

Answers
B.

FIREWALL ADD-PORT 8080

B.

FIREWALL ADD-PORT 8080

Answers
C.

PORT 8080

C.

PORT 8080

Answers
D.

OPEN PORT 8080

D.

OPEN PORT 8080

Answers
Suggested answer: A

Which two actions help limit the attack surface of your Docker container? (Choose two.)

A.

Run only a single service in each container.

A.

Run only a single service in each container.

Answers
B.

Run all services in a single image.

B.

Run all services in a single image.

Answers
C.

Use version tags for base images and dependencies.

C.

Use version tags for base images and dependencies.

Answers
D.

Use Kali Linux as a base image.

D.

Use Kali Linux as a base image.

Answers
E.

Download images over HTTPS supporting sites.

E.

Download images over HTTPS supporting sites.

Answers
Suggested answer: A, C

Explanation:

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.

Reference: 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?

A.

ENTRYPOINT <usr/sbin/apache2ctl>

A.

ENTRYPOINT <usr/sbin/apache2ctl>

Answers
B.

ENTRYPOINT [“/usr/sbin/apache2ctl”, “-D”, “FOREGROUND”]

B.

ENTRYPOINT [“/usr/sbin/apache2ctl”, “-D”, “FOREGROUND”]

Answers
C.

ENTRYPOINT [“BACKGROUND”, “-D”, “/usr/sbin/apache2ctl”]

C.

ENTRYPOINT [“BACKGROUND”, “-D”, “/usr/sbin/apache2ctl”]

Answers
D.

ENTRYPOINT {usr/sbin/apache2ctl}

D.

ENTRYPOINT {usr/sbin/apache2ctl}

Answers
Suggested answer: B

Which Docker command is used to start an interactive Bash shell in a running container named “test”?

A.

docker attach -it test /bin/bash

A.

docker attach -it test /bin/bash

Answers
B.

docker run -it test /bin/bash

B.

docker run -it test /bin/bash

Answers
C.

docker exec -it test /bin/bash

C.

docker exec -it test /bin/bash

Answers
D.

docker run test /bin/bash

D.

docker run test /bin/bash

Answers
Suggested answer: C

What are two reasons a Docker golden image should be updated? (Choose two.)

A.

when there is a change to a username or password in the Docker secrets

A.

when there is a change to a username or password in the Docker secrets

Answers
B.

when the application has a new release

B.

when the application has a new release

Answers
C.

when a fix for a security vulnerability is released

C.

when a fix for a security vulnerability is released

Answers
D.

when a change is needed to an environment variable in the Dockerfile

D.

when a change is needed to an environment variable in the Dockerfile

Answers
E.

when the base image is nearing the end of life

E.

when the base image is nearing the end of life

Answers
Suggested answer: B, C

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.)

A.

application feature sprawl

A.

application feature sprawl

Answers
B.

CPU peak usage

B.

CPU peak usage

Answers
C.

CPU average usage

C.

CPU average usage

Answers
D.

microservices count

D.

microservices count

Answers
E.

CPU frequency

E.

CPU frequency

Answers
Suggested answer: B, C

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.)

A.

Service instances must be isolated from one another.

A.

Service instances must be isolated from one another.

Answers
B.

Service must be independently deployable and scalable.

B.

Service must be independently deployable and scalable.

Answers
C.

Service are written using the same languages, frameworks, and framework versions.

C.

Service are written using the same languages, frameworks, and framework versions.

Answers
D.

Service must be dependent, deployable, and scalable.

D.

Service must be dependent, deployable, and scalable.

Answers
E.

Service instances do not need to be isolated from one another.

E.

Service instances do not need to be isolated from one another.

Answers
Suggested answer: A, B

What is the purpose of using a build tool in software development?

A.

It complies source code into binaries and executables.

A.

It complies source code into binaries and executables.

Answers
B.

It provides a way to edit source code using a graphical interface.

B.

It provides a way to edit source code using a graphical interface.

Answers
C.

It is a manual process that is followed to build software.

C.

It is a manual process that is followed to build software.

Answers
D.

It tracks bugs and incidents in a built application.

D.

It tracks bugs and incidents in a built application.

Answers
Suggested answer: A

Fill in the blanks to complete the line of Python code that sends a message to a Webex Teams room or person.

A.

post, messages

A.

post, messages

Answers
Suggested answer: A

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.

A.

"replicas" ,

"spec"

A.

"replicas" ,

"spec"

Answers
Suggested answer: A
Total 128 questions
Go to page: of 13