ExamGecko
Home Home / Cisco / 350-901

Cisco 350-901 Practice Test - Questions Answers, Page 33

Question list
Search
Search

List of questions

Search

Related questions











Refer to the exhibit. The code fetches the latest order from the purchases table for a specific user. An engineer needs to pass query parameters to the execute function to prevent an SQL injection attack.

Which code snippet must be placed in the blank in the code to meet this requirement?

A.


A.


Answers
B.


B.


Answers
C.


C.


Answers
D.


D.


Answers
Suggested answer: D

What securely stores and encrypts the API keys and tokens that are used for an application deployment?

A.

ITSM

A.

ITSM

Answers
B.

Artifactory

B.

Artifactory

Answers
C.

GitHub

C.

GitHub

Answers
D.

Vault

D.

Vault

Answers
Suggested answer: D

Refer to the exhibit.

A developer has created a Python script that retrieves information about the deployment of Cisco wireless access points using REST API. Which two code snippets must be added to the blank in the code to print the value of the userid key instead of printing the full JSON response? (Choose two.)

A.


A.


Answers
B.


B.


Answers
C.


C.


Answers
D.


D.


Answers
E.


E.


Answers
Suggested answer: B, D

Refer to the exhibit.

A developer runs the docker service scale command to increase the number of replicas for the cisco_devnet service. The swarm cluster is using a private IP address subnet. The service has these design requirements:

It must be hosted behind a virtual IP address that is reachable from the Internet.

For security reasons, the Docker swarm cluster subnet must not be reachable from the Internet.

Which design approach is used to fulfill the requirements?

A.

Create an overlay network by using a globally roulable subnet and enable a routing mesh within the swarm cluster.

A.

Create an overlay network by using a globally roulable subnet and enable a routing mesh within the swarm cluster.

Answers
B.

Create a bridge network by using a globally routable subnet and enable a routing mesh within the swarm cluster.

B.

Create a bridge network by using a globally routable subnet and enable a routing mesh within the swarm cluster.

Answers
C.

Configure an external load balancer to route requests to the swarm service by using VPN.

C.

Configure an external load balancer to route requests to the swarm service by using VPN.

Answers
D.

Configure an external load balancer to route requests to the swarm service by using NAT.

D.

Configure an external load balancer to route requests to the swarm service by using NAT.

Answers
Suggested answer: A

A development team is looking for a tool to automate configurations across the infrastructure. The tool must have these characteristics:

• written in Python

• define playbooks (or intent

• stateless

• imperative

Which tool meets these requirements?

A.

Puppet

A.

Puppet

Answers
B.

Netmiko

B.

Netmiko

Answers
C.

Ansible

C.

Ansible

Answers
D.

NCM

D.

NCM

Answers
Suggested answer: C

Refer to the exhibit.

A developer must review an intern's code for a script they wrote to automate backups to the storage server. The script must connect to the network device and copy the running-config to the server.

When considering maintainability, which two changes must be made to the code? (Choose two.)

A.

Rename the class to "ArchiveManager".

A.

Rename the class to "ArchiveManager".

Answers
B.

The code is incorrect because the class does not have an__init__() method.

B.

The code is incorrect because the class does not have an__init__() method.

Answers
C.

The command sent to the network device is incorrect.

C.

The command sent to the network device is incorrect.

Answers
D.

Refactor the code placing the "for" loop steps inside a single nc method.

D.

Refactor the code placing the "for" loop steps inside a single nc method.

Answers
E.

The intern must use IP addresses because DNS is unreliable.

E.

The intern must use IP addresses because DNS is unreliable.

Answers
Suggested answer: C, D

Which data encoding format uses gRPC by default for serializing structured sets of information?

A.

JSON

A.

JSON

Answers
B.

YAML

B.

YAML

Answers
C.

Protobuf

C.

Protobuf

Answers
D.

XML

D.

XML

Answers
Suggested answer: C

Explanation:

The data encoding format used by gRPC by default is Protobuf.

Refer to the exhibit.

A network administrator copies SSL certificates to a Cisco NX-OS switch. An Ansible playbook is created to enable NX-API, which will use the new certificate. In the group_vars/vars.yml file, which code snippet must be used to define the properly formatted variables?

A.


A.


Answers
B.


B.


Answers
C.


C.


Answers
D.


D.


Answers
Suggested answer: B

A developer in a learn of distributed authors is working on code in an isolated Git branch named 'update4a2f5464771 The developer attempts to merge the new code with a branch named ’dvcapp2a3f1564733' however the merge operation encounters a conflict error during the process.

Which Git command must the developer use to exit from the merge process and return the branch to the previous state?

A.

git merge -exit

A.

git merge -exit

Answers
B.

git merge -abort

B.

git merge -abort

Answers
C.

git abort —merge

C.

git abort —merge

Answers
D.

git abort -status

D.

git abort -status

Answers
Suggested answer: B

How does the use of release packaging allow dependencies to be effectively managed during deployments?

A.

dependencies are staggered between multiple releases

A.

dependencies are staggered between multiple releases

Answers
B.

designed to prevent any dependencies between release units

B.

designed to prevent any dependencies between release units

Answers
C.

dependencies are tested after the release is deployed

C.

dependencies are tested after the release is deployed

Answers
D.

removal of release units if they have issues in testing

D.

removal of release units if they have issues in testing

Answers
Suggested answer: B
Total 364 questions
Go to page: of 37