[Nov 03, 2024] Cisco 200-901 Real Exam Questions and Answers FREE [Q232-Q257]

Share

[Nov 03, 2024] Cisco 200-901 Real Exam Questions and Answers FREE

Pass Cisco 200-901 Exam Info and Free Practice Test

NEW QUESTION # 232
Drag and drop the code snippets from the bottom to the blanks in the code to test the API response through the Python unittest library. Not all options are used.

Answer:

Explanation:

Explanation:


NEW QUESTION # 233
A developer is trying to retrieve data over a REST API. The API server responds with an HTTP client error response code. After investigating the response the developer realizes the realizes the response has a Retry-After header. What is the root cause of this error?

  • A. Too many requests were sent to the REST service in a given amount of time.
  • B. An appliance limited the rate of requests to the transport layer.
  • C. An appliance limited the rate of requests to the application layer
  • D. The REST service is unreachable at the time of the REST request

Answer: A

Explanation:
The HTTP client error response code accompanied by a Retry-After header typically indicates that the client has sent too many requests in a given amount of time, leading to rate limiting by the server. This is often indicated by a 429 Too Many Requests status code. The Retry-After header informs the client how long it should wait before making another request.
References:
* Cisco DevNet Associate Study Guide: REST API Error Handling (Chapter 7, Section: Understanding HTTP Status Codes).


NEW QUESTION # 234
Refer to the exhibit. Which JSON snippet configures a new interface according to YANG model?

  • A.
  • B.
  • C.
  • D.

Answer: B

Explanation:
https://www.netacad.com/sites/default/files/images/careers/Webinars/DevNet/devnet_session_7_ networkprogrammability_yang_netconf_restconf.pdf


NEW QUESTION # 235
Drag and drop the code snippets from the bottom to the blanks in the code to complete the HTTP response.
Not all options are used.

Answer:

Explanation:

Explanation:


NEW QUESTION # 236
A developer creates a web application that receives a username and password and uses them to sync the credentials to other services through HTTPS. API keys to services are part of the configuration files of the application, but the credentials to the database that stores the synchronization logs are obtained through an external vault service. What is the security issue in this scenario?

  • A. The database credentials should be stored in the configuration files so that they are secured on the same server.
  • B. The API keys are stored in the configuration files but should be stored in the vault service.
  • C. The synchronization logs should be encrypted and not stored in a relational database.
  • D. Communication between the application and the services is not encrypted.

Answer: B

Explanation:
The primary security issue in this scenario is that API keys are stored in the configuration files. It is a best practice to store sensitive information such as API keys in a secure vault service rather than in configuration files.
A: Communication between the application and the services is not encrypted - Incorrect. The communication is through HTTPS, which is encrypted. B. The database credentials should be stored in the configuration files so that they are secured on the same server - Incorrect. Database credentials should be securely obtained, as mentioned, through a vault service. C. The API keys are stored in the configuration files but should be stored in the vault service - Correct. Storing API keys in configuration files poses a security risk. They should be stored in a secure vault service. D. The synchronization logs should be encrypted and not stored in a relational database - Incorrect. The issue is not about storing logs in a relational database, but rather the storage of API keys in configuration files.
References:
* Secure Secrets Management
* Best Practices for Storing API Keys


NEW QUESTION # 237
Drag and Drop Question
Drag and drop the code from the bottom onto the box where the code is missing to construct a Python script that calls a REST API request. Not all options are used.

Answer:

Explanation:


NEW QUESTION # 238
Refer to the exhibit.

A developer must integrate a bot with an internal communication app. The developer wants to replace the webexbot package with the teamsbot package by using Ansible and prepares a playbook In the first two tasks, the playbook stops the webexbot and verifies that the teamsbot is installed. What is accomplished in the last task of the workflow when the developer runs the Ansible playbook?

  • A. stops the webexbot service and uninstals it and retains its configuration files
  • B. installs the webexbot and retains the configuration files
  • C. searches whether the purge package is available in the repository and uninstalls the webexbot package
  • D. uninstalls the webexbot package and removes its configuration files

Answer: D

Explanation:
In the Ansible playbook, the last task uses the apt module with state: absent and purge: yes for the webexbot package. This configuration ensures that the package is uninstalled and all associated configuration files are removed. This is different from a simple uninstall, which would leave configuration files behind.
References:
* Cisco DevNet Associate Study Guide: Automation with Ansible (Chapter 7, Section: Ansible Playbook Examples and Syntax).


NEW QUESTION # 239

Which data is specified in the response header?

  • A. HTTP/1.1 200 OK
  • B. {
    "id": "y123987jdkl". HTTP/1.1 200 OK
    "status: "online",
    "type": "switch"
    }
  • C. Content-Type
  • D. ''type'', ''switch''

Answer: C

Explanation:
In the response header shown, the "Content-Type" is specified. Response headers provide important metadata about the response, including the content type, which informs the client about the nature of the returned content (in this case, application/json).
Reference: Cisco DevNet Associate materials on HTTP protocols and headers, detailing the components and their purposes in HTTP responses.


NEW QUESTION # 240
Which implementation creates a group of devices on one or more LANs that are configured to communicate as if they were attached to the same wire?

  • A. VLAN
  • B. IPsec
  • C. WLAN
  • D. HSRP

Answer: A


NEW QUESTION # 241
Refer to the exhibit.

The output of a unified diff when comparing two versions of a python script is shown. Which two
"single_request _timeout ()"

OR

  • A. Option B
  • B. Option A
  • C. Option C
  • D. Option D

Answer: A,C


NEW QUESTION # 242
Which two concepts describe test-driven development? (Choose two.)

  • A. User acceptance testers development the test requirements.
  • B. Write a test before writing code.
  • C. Tests are created when code is ready for release.
  • D. It enables code refactoring.
  • E. Implementation is driven by incremental testing of release candidates.

Answer: B,E

Explanation:
https://www.tutorialspoint.com/software_testing_dictionary/release_candidate.htm


NEW QUESTION # 243
Refer to the exhibit.

The Cisco Meraki API manages two organizations. In each organization, two independent networks are defined. How many calls to the /organizations/(orgid)networks endpoint will be run parallel by the GetAllNetwork function of the API client?

  • A. 0
  • B. 1
  • C. 2
  • D. 3

Answer: C


NEW QUESTION # 244
Refer to the exhibit.

What is the effect of this Ansible playbook on an IOS router?

  • A. A new start-up configuration is copied to the IOS router.
  • B. The start-up configuration of the IOS router is copied to a local folder.
  • C. A new running configuration is pushed to the IOS router.
  • D. The current running configuration of the IOS router is backed up.

Answer: D


NEW QUESTION # 245
A 401 HTTP response code is returned when calling a REST API. What is the error state identified by this response code?

  • A. The server cannot process the request as it has detected an issue in the request syntax or body.
  • B. The server accepted the request but the client is not authorized for this content.
  • C. The server cannot find the requested resource because the path specified is incorrect.
  • D. The request has not been accepted because it requires authentication.

Answer: D

Explanation:
Reference:
https://blog.restcase.com/rest-api-error-codes-101/#:~:text=A%20401%20error%20response%20indicates,creden


NEW QUESTION # 246
Why would a developer compare a current version of code to a previous version?

  • A. to provide the single source of truth
  • B. to troubleshoot code failures
  • C. to aid in collaboration
  • D. to track who made a change

Answer: B


NEW QUESTION # 247
Refer to the exhibit.

What does the command marked (2) do when it is run?

  • A. It does not delete the branch until it is merged.
  • B. It duplicates the test" branch.
  • C. It deletes the "test" branch only if a new branch is created.
  • D. It deletes the "test" branch.

Answer: D


NEW QUESTION # 248
What is a comparison of YAML and JSON?

  • A. YAML is a more verbose data structure compared to JSON.
  • B. JSON does not support comments and YAML does.
  • C. YAML has a more consistent approach to representing data compared to JSON.
  • D. JSON has more common usage in configuration management tools compared to YAML.

Answer: B

Explanation:
Reference: https://stackoverflow.com/questions/244777/can-comments-be-used-in-json Can I use comments in JSON? No, JSON is a data-only format. Comments in the form //, #, or /* */, which are used in popular programming languages, are not allowed in JSON. You can add comments to JSON as custom JSON elements that will hold your comments, but these elements will still be data.


NEW QUESTION # 249
Refer to the exhibit.

What is the result of executing this Ansible playbook?

  • A. The playbook copies a new start-up configuration to CISCO_ROUTER_01.
  • B. The playbook backs up the running configuration of CISCO_ROUTER_01.
  • C. The playbook backs up the start-up configuration of C1SCO_ROUTER_01.
  • D. The playbook copies a new running configuration to CISCO_ROUTER_01.

Answer: C


NEW QUESTION # 250
What are two security benefits of a Docker-based application?

  • A. allows for separation of application that traditionally run in the same host
  • B. easier to patch because Docker containers include only dependencies that the application requires
  • C. guarantees container images are secured and free of vulnerabilities
  • D. prevents information leakage that can occur when unhandled exceptions are returned in HTTP responses
  • E. natively secures access to secrets that are used by the running application

Answer: A,B


NEW QUESTION # 251
A system administrator works with a software development department to implement code to production. The administrator wants to review the code to be implemented and not do it automatically. The code must be ready for production and should be implemented by the administrator without additional intervention from the development team. Which DevOps concept does this scenario represent?

  • A. continuous delivery
  • B. continuous testing
  • C. continuous deployment
  • D. continuous integration

Answer: A


NEW QUESTION # 252
What is a capability of the AXL API?

  • A. It allows a meeting to be created with users that do not belong to same organization.
  • B. It executes SQL commands in Cisco Unified Communications Manager.
  • C. It collects information about system, cluster, and database settings.
  • D. It adds a user to a collaboration space to share information and files.

Answer: B


NEW QUESTION # 253
What is an advantage of device-level management as compared to controller-level management to automate the configuration of network devices?

  • A. Device-level management has access to all devices from a single point on the network and controller-level management does not.
  • B. Device-level management supports all subsets of the potential device settings and controller-level management does not.
  • C. Device-level management supports REST API-enabled devices and controller-level management does not.
  • D. Device-level management requires one controller per vendor and controller-level management does not.

Answer: B


NEW QUESTION # 254
A developer starts to learn about building applications that use Cisco APIs. The developer needs access to Cisco security products in a development lab to test the first new Dlication that has been built. Which DevNet resource must be used?

  • A. DevNet Sandbox
  • B. DevNet Code Exchange
  • C. DevNet Automation Exchange
  • D. DevNet Communities

Answer: A

Explanation:
Cisco DevNet Sandbox provides developers with access to a variety of Cisco technologies in a lab environment. It is an essential resource for developers who want to test and build applications using Cisco APIs and products.
* DevNet Sandbox: This platform offers pre-configured, ready-to-use environments that allow developers to experiment with Cisco products, including security products, without the need to set up and configure their own infrastructure.
References:
* Cisco DevNet Sandbox


NEW QUESTION # 255
Drag and drop the function on the left onto the type of plane that handles the function on the right.

Answer:

Explanation:


NEW QUESTION # 256
Drag and drop the network automation interfaces from the left onto the transport protocols that they support on the right.

Answer:

Explanation:


NEW QUESTION # 257
......

Latest 200-901 Exam Dumps Cisco Exam: https://pass4sure.actualtorrent.com/200-901-exam-guide-torrent.html