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

List of questions
Question 321

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?
Question 322

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

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

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?
Question 325

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?
Question 326

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

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

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?
Question 329

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?
Question 330

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