Cisco Developing Applications using Cisco Core Platforms and APIs (DEVCOR) (350-901) Free Practice Test
Question 1

Refer to the exhibit. An engineer must improve error handling tor a scrip: caning /dna/intenvap1. v1. ' network-device. it should exit on 403 and retry after a delay on 429. Which code snippet must be placed on me box in the code to complete the script?
Correct Answer: D
Question 2
Refer to the exhibit.

Drag and drop the parts of the Python code from the left onto the item numbers on the right that match the missing sections in the exhibit that consumes REST API pagination.


Drag and drop the parts of the Python code from the left onto the item numbers on the right that match the missing sections in the exhibit that consumes REST API pagination.

Correct Answer:

Explanation:

The correct URL from next page can be retrieved by using response.links[ ' next ' ][ ' url ' ]. The use of response.headers.get( ' Link ' ) could be easily replaced by an infinite loop like ' while True: ' and it would be the same. They ' re just testing our knowledge here. The trick here is that once we reach the last page, response.links[ ' next ' ][ ' url ' ] within the ' try ' context will fail and we ' ll move to the ' except ' clause and the program will exit.
Question 3
Refer to the exhibit.

A network engineer created a simple Python Flask application but must incorporate a CSRF token. Which code snippet must be added in the blank in the script to manually incorporate the token?

A network engineer created a simple Python Flask application but must incorporate a CSRF token. Which code snippet must be added in the blank in the script to manually incorporate the token?
Correct Answer: A
Question 4
An engineer must implement an OAuth2 refresh flow against a controller that returns refresh and access tokens. Drag and drop the code snippets from the bottom onto the boxes in the code to construct the artifact.
Not all options are used.

Not all options are used.

Correct Answer:

* grant_type
* client_id
* client_secret
* refresh_token
Question 5
A network automation engineer is building an Ansible playbook to deploy interface configurations for the new VLAN segment on designated switches The configuration must set all required parameters for GigabitEthernet 1/0/2 without missing any steps Drag and drop the code snippets from the bottom onto the boxes in the code to construct the Ansible playbook Not all options are used.


Correct Answer:

* description: Configured for new VLAN
* enabled: true
* mode: access
* vlan: 25
Question 6
A web application has those requirements for HTTP cache control:
* The client browser must be prevented from storing responses that contain sensitive information.
* Assets must be downloaded from the remote server every time.
Which header must the engineer use?
* The client browser must be prevented from storing responses that contain sensitive information.
* Assets must be downloaded from the remote server every time.
Which header must the engineer use?
Correct Answer: B
Question 7
Drag and drop the code from the bottom onto the box where the code is missing to permit network traffic between 10.0.0.0/8 and all other networks on port 80 for a Cisco Nexus 9000 switch by using the Puppet module. Not all options are used.


Correct Answer:


Question 8
A distributed automation controller requires a robust mechanism for event correlation across multiple nodes.
For device onboarding, log data must be consolidated and transmitted to a standards-based notification bus.
and manual log interventions must be avoided. Integration must ensure efficient parsing and delivery regardless of network topology. Which solution meets the requirements?
For device onboarding, log data must be consolidated and transmitted to a standards-based notification bus.
and manual log interventions must be avoided. Integration must ensure efficient parsing and delivery regardless of network topology. Which solution meets the requirements?
Correct Answer: B
Question 9
Drag and drop the code from the bottom onto the box where the code is missing in the Python code to query for user permissions while mitigating against SQL Injection Not all options are used.


Correct Answer:


Question 10
A network automation team is designing an artificial intelligence-based monitoring framework to use federated orchestration to address sensitive integrations. To ensure that operations meet enterprise standards, the workflow analyzes system interactions and decision flows generated by automated compliance validation.
Which process interprets the associated network automation exposure?
Which process interprets the associated network automation exposure?
Correct Answer: D