ExamGecko
Home Home / Cisco / 300-910

Cisco 300-910 Practice Test - Questions Answers

Question list
Search
Search

List of questions

Search

Related questions











A DevOps engineer must validate the working state of the network before implementing a CI/CD pipeline model. Which configuration management tool is designed to accomplish this?

A.

Jenkins

A.

Jenkins

Answers
B.

Genie CLI

B.

Genie CLI

Answers
C.

Travis CI

C.

Travis CI

Answers
D.

Python YAML data libraries

D.

Python YAML data libraries

Answers
Suggested answer: B

Explanation:

Genie CLI is a configuration management tool that is designed to validate the working state of the network before implementing a CI/CD pipeline model. Genie CLI provides a set of commands that can be used to check the state of the network, view logs, and make changes to network configurations. It is a powerful tool for validating the state of the network before making changes, and can help avoid costly mistakes or unexpected issues.

Which two practices help make the security of an application a more integral part of the software development lifecycle? (Choose two.)

A.

Add a step to the CI/CD pipeline that runs a dynamic code analysis tool during the pipeline execution.

A.

Add a step to the CI/CD pipeline that runs a dynamic code analysis tool during the pipeline execution.

Answers
B.

Add a step to the CI/CD pipeline that runs a static code analysis tool during the pipeline execution.

B.

Add a step to the CI/CD pipeline that runs a static code analysis tool during the pipeline execution.

Answers
C.

Use only software modules that are written by the internal team.

C.

Use only software modules that are written by the internal team.

Answers
D.

Add a step to the CI/CD pipeline to modify the release plan so that updated versions of the software are made available more often.

D.

Add a step to the CI/CD pipeline to modify the release plan so that updated versions of the software are made available more often.

Answers
E.

Ensure that the code repository server has enabled drive encryption and stores the keys on a Trusted Platform Module or Hardware Security Module.

E.

Ensure that the code repository server has enabled drive encryption and stores the keys on a Trusted Platform Module or Hardware Security Module.

Answers
Suggested answer: A, B

Explanation:

Adding a step to the CI/CD pipeline that runs a dynamic code analysis tool and a static code analysis tool during the pipeline execution helps make the security of an application a more integral part of the software development lifecycle.

Dynamic code analysis tools search for coding errors and vulnerabilities while the application is running, while static code analysis tools scan the source code for potential errors and vulnerabilities. This ensures that any security issues are identified and addressed before the application is deployed. Additionally, using automated tools helps to reduce the amount of manual effort required for security testing and can reduce the risk of security flaws being introduced.

A CI/CD pipeline that builds infrastructure components using Terraform must be designed. A step in the pipeline is needed that checks for errors in any of the .tf files in the working directory. It also checks the existing state of the defined infrastructure.

Which command does the pipeline run to accomplish this goal?

A.

terraform plan

A.

terraform plan

Answers
B.

terraform check

B.

terraform check

Answers
C.

terraform fmt

C.

terraform fmt

Answers
D.

terraform validate

D.

terraform validate

Answers
Suggested answer: A

Explanation:

https://www.terraform.io/docs/cli/commands/validate.html "use the terraform plan commandinstead, which includes an implied validation check."

Which type of testing should be integrated into a CI/CD pipeline to ensure the correct behavior of all of the modules in the source code that were developed using TDD?

A.

soak testing

A.

soak testing

Answers
B.

unit testing

B.

unit testing

Answers
C.

load testing

C.

load testing

Answers
D.

volume testing

D.

volume testing

Answers
Suggested answer: B

Refer to the exhibit.

How should the Jenkins job be troubleshooted based on the error provided?

A.

Verify what the responding file created.

A.

Verify what the responding file created.

Answers
B.

Update pip.

B.

Update pip.

Answers
C.

Install dependencies.

C.

Install dependencies.

Answers
D.

Place the code in a container and run the job again.

D.

Place the code in a container and run the job again.

Answers
Suggested answer: A

Configuration changes to the production network devices are performed by a CI/CD pipeline. The code repository and the CI tool are running on separate servers. Some configuration changes are pushed to the code repository, but the pipeline did not start.

Why did the pipeline fail to start?

A.

The CI server was not configured as a Git remote for the repository.

A.

The CI server was not configured as a Git remote for the repository.

Answers
B.

The webhook call from the code repository did not reach the CI server.

B.

The webhook call from the code repository did not reach the CI server.

Answers
C.

Configuration changes must be sent to the pipeline, which then updates the repository.

C.

Configuration changes must be sent to the pipeline, which then updates the repository.

Answers
D.

The pipeline must be started manually after the code repository is updated.

D.

The pipeline must be started manually after the code repository is updated.

Answers
Suggested answer: B

Explanation:

A webhook is basically a callback URL that is triggered when certain events occur, such as a code commit. If the webhook call from the code repository does not reach the CI server, then the pipeline will not start. According to the Cisco Implementing DevOps Solutions and Practices using Cisco Platforms (DEVOPS) Study Manual, "A webhook is a web-based feature that enables a remote service to communicate with a local service, usually through a web server.

Webhooks are used to trigger an action when a specific event occurs, usually in a remote service or application."

A new version of an application is being released by creating a separate instance of the application that is running the new code. Only a small portion of the user base will be directed to the new instance until that version has been proven stable. Which deployment strategy is this example of?

A.

recreate

A.

recreate

Answers
B.

blue/green

B.

blue/green

Answers
C.

rolling

C.

rolling

Answers
D.

canary

D.

canary

Answers
Suggested answer: D

Which description of a canary deployment is true?

A.

deployment by accident

A.

deployment by accident

Answers
B.

deployment that is rolled back automatically after a configurable amount of minutes

B.

deployment that is rolled back automatically after a configurable amount of minutes

Answers
C.

deployment relating to data mining development

C.

deployment relating to data mining development

Answers
D.

deployment to a limited set of servers or users

D.

deployment to a limited set of servers or users

Answers
Suggested answer: D

Refer to the exhibit.

What is causing the requests code to fail?

A.

Rython3 is not compatible with requests.

A.

Rython3 is not compatible with requests.

Answers
B.

The requests library is not imported.

B.

The requests library is not imported.

Answers
C.

The requests library is not installed.

C.

The requests library is not installed.

Answers
D.

The requests coming into stdin fail because device_ip cannot be parsed.

D.

The requests coming into stdin fail because device_ip cannot be parsed.

Answers
Suggested answer: B

A DevOps engineering wants to build an application implementation based on the CI/CD pipeline model. Which service should be used to provide hosted continuous service for open and private projects?

A.

Ansible

A.

Ansible

Answers
B.

pyATS

B.

pyATS

Answers
C.

Genie CLI

C.

Genie CLI

Answers
D.

Travis CI

D.

Travis CI

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