1. Home
  2. Cisco
  3. Cisco Certified DevNet Associate
  4. 200-901 Exam Info

Cisco 200-901 Exam Questions - Navigate Your Path to Success

The Cisco DevNet Associate Exam (200-901) exam is a good choice for Application Developers Network engineers Software Developers and if the candidate manages to pass Cisco DevNet Associate Exam, he/she will earn Cisco Certified DevNet Associate Certification. Below are some essential facts for Cisco 200-901 exam candidates:

  • In actual Cisco DevNet Associate Exam (200-901) exam, a candidate can expect 110 Questions and the officially allowed time is expected to be around 120 Minutes.
  • TrendyCerts offers 468 Questions that are based on actual Cisco 200-901 syllabus.
  • Our Cisco 200-901 Exam Practice Questions were last updated on: Feb 27, 2025

Sample Questions for Cisco 200-901 Exam Preparation

Question 1

Refer to the exhibit.

200-901 Exam Question 1 Exhibit 1

The server.js Node.js script runs after the Dockerfile creates its container. What is the working directory of the application inside the container?

Correct : B

In the given Dockerfile, the WORKDIR /app command sets the working directory for any subsequent commands to /app. This means that any commands following this line will be executed within the /app directory inside the Docker container. The COPY . . command copies the contents of the current directory on the host machine to the /app directory in the container. Finally, the CMD ['node', 'source/server.js'] command specifies the command to run when the container starts, which in this case is node source/server.js.


Dockerfile Reference - WORKDIR

Options Selected by Other Users:
Question 2

Refer to the exhibit.

200-901 Exam Question 2 Exhibit 1

A developer creates a Python script by using the Cisco Meraki API. The solution must:

* Obtain a list of HTTP servers for a network named "netl".

* Print the response body if the HTTP status code is 200.

* Handle the timeout requests as exceptions, and print Timeout Error next to the exception to stdout.

Which block of code completes the script?

A)

200-901 Exam Question 2 Exhibit 2

B)

200-901 Exam Question 2 Exhibit 3

Correct : A

The block of code that correctly completes the script should handle timeout exceptions and print the error, as well as print the response body if the HTTP status code is 200. Option A achieves this:

import requests

url = 'https://api.meraki.com/api/v0/networks/net1/httpServers'

headers = { 'Accept': 'application/json' }

response = requests.get(url=url, headers=headers, verify=False, timeout=5)

try:

response = requests.get(url, headers=headers, verify=False, timeout=5)

response.raise_for_status()

except requests.Timeout as e:

print('Timeout Error: {}'.format(e))

if response.status_code == 200:

print(response.text)

This code makes a GET request to the specified URL, handles the timeout exception by printing a message, and prints the response body if the status code is 200.


Requests: Handling Timeouts

Python Requests: Response Status Code

Options Selected by Other Users:
Cisco 200-901