Courseiva
Back to Cisco DevNet Associate 200-901 questions

Scenario-based practice

Refer to the Exhibit Practice Questions

Practise Cisco DevNet Associate 200-901 practice questions — original exam-style scenarios covering every exam domain, with detailed explanations, wrong-answer analysis, and common exam traps.

15
scenario questions
200-901
exam code
Cisco
vendor

Scenario guide

How to approach refer to the exhibit practice questions

Practise exhibit-style questions that ask you to read a topology, table, command output or diagram before choosing the best answer.

Quick answer

Exhibit-style questions test whether you can read a topology, command output, diagram or table before choosing the best answer.

How to extract the relevant detail from an exhibit.

How topology, command output or routing information affects the answer.

How to avoid answering from memory before reading the evidence.

How to map the exhibit back to the exam objective.

Related practice questions

Related 200-901 topic practice pages

Scenario questions usually connect to one or more exam topics. Use these links to review the underlying concepts behind the scenario.

Practice set

Practice scenarios

Question 1hardmultiple choice
Full question →

Refer to the exhibit. A developer is building a Docker image for a Node.js application. The Dockerfile contains: ``` FROM node:14 WORKDIR /usr/src/app COPY package*.json ./ RUN npm install COPY . . CMD ["node", "app.js"] ``` When building, the error shown occurs. What is the most likely cause?

Exhibit

Refer to the exhibit.
```
Error: EACCES: permission denied, mkdir '/usr/src/app/node_modules/.cache'
    at Object.mkdirSync (fs.js:753:3)
    at ...
```
Question 2mediummultiple choice
Read the full REST/YANG explanation →

Refer to the exhibit. A developer from subnet 10.10.10.0/24 cannot reach the RESTCONF API on the IOS-XE device. What is the most likely cause?

Exhibit

configure terminal
 ip http server
 ip http secure-server
 ip http authentication local
 ip http access-class 23
!
access-list 23 permit 192.168.1.0 0.0.0.255
Question 3mediummultiple choice
Open the full VLAN trunking answer →

Refer to the exhibit. A switch has the VLAN configuration shown. If a device is connected to interface Gi0/3 and another to Gi0/5, can they communicate if the switch is not configured with any inter-VLAN routing?

Exhibit

Refer to the exhibit.
```
Switch# show vlan brief

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Gi0/1, Gi0/2
10   Engineering                      active    Gi0/3, Gi0/4
20   Marketing                        active    Gi0/5, Gi0/6
1002 fddi-default                     act/unsup
1003 token-ring-default               act/unsup
1004 fddinet-default                  act/unsup
1005 trnet-default                    act/unsup
```

Refer to the exhibit. A Python script uses the YANG model to configure the interface. After applying this JSON payload via a PATCH request, what is the expected operational state of the interface?

Exhibit

Refer to the exhibit.

{
  "ietf-interfaces:interface": {
    "name": "GigabitEthernet0/1",
    "description": "Link to Core",
    "type": "iana-if-type:ethernetCsmacd",
    "enabled": false,
    "ietf-ip:ipv4": {
      "address": [
        {
          "ip": "10.10.10.1",
          "netmask": "255.255.255.0"
        }
      ]
    }
  }
}

Refer to the exhibit. A developer is parsing the output of 'show ip route' using Python. Which regular expression would extract the prefix '10.0.1.0/24'?

Exhibit

R1# show ip route
Codes: L - local, C - connected, S - static, R - RIP, O - OSPF, B - BGP
       D - EIGRP, EX - EIGRP external, N - NAPT
Gateway of last resort is 10.0.0.1
     10.0.0.0/8 is variably subnetted, 2 subnets
C       10.0.0.0/24 is directly connected, GigabitEthernet0/0
S       10.0.1.0/24 [1/0] via 10.0.0.2
Question 6mediummultiple choice
Full question →

Refer to the exhibit. A developer sent a POST request to https://apic-ip/api/mo/uni/tn-testtenant.json with a JSON body missing the name attribute. What should the correct JSON body include?

Exhibit

{
  "error": {
    "code": "400",
    "message": "Property 'fvTenant.attributes.name' is mandatory but not provided"
  }
}
Question 7mediummultiple choice
Full question →

Refer to the exhibit. A network engineer runs a script that queries the Cisco DNA Center site health API. The response shows Branch1 with a healthScore of 10. What is the most likely action to improve Branch1's health?

Exhibit

Refer to the exhibit.
GET /dna/intent/api/v1/site-health HTTP/1.1
Host: 10.1.1.1
Accept: application/json
X-Auth-Token: <token>

HTTP/1.1 200 OK
Content-Type: application/json

{
  "response": [
    {
      "siteName": "Branch1",
      "healthScore": 10,
      "numberOfClients": 25
    },
    {
      "siteName": "HQ",
      "healthScore": 90,
      "numberOfClients": 150
    }
  ],
  "version": "2.1.1"
}
Question 8easymultiple choice
Full question →

Refer to the exhibit. The Docker image built from this Dockerfile is larger than expected. Which optimization should be recommended?

Exhibit

FROM python:3.9-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
EXPOSE 5000
CMD ["python", "app.py"]
Question 9easymultiple choice
Read the full REST/YANG explanation →

Refer to the exhibit. An engineer uses NETCONF to configure an interface. After applying this configuration, the interface is administratively up. However, the interface does not pass traffic. What is the most likely cause?

Exhibit

Refer to the exhibit.

{
  "ietf-interfaces:interface": {
    "name": "GigabitEthernet0/1",
    "description": "Configured via NETCONF",
    "type": "iana-if-type:ethernetCsmacd",
    "enabled": true,
    "ietf-ip:ipv4": {
      "address": [
        {
          "ip": "192.0.2.1",
          "netmask": "255.255.255.0"
        }
      ]
    }
  }
}
Question 10easymultiple choice
Open the full VLAN trunking answer →

Using the Cisco DNA Center API, which endpoint should be queried to retrieve the Layer 2 topology for a specific VLAN?

Question 11mediummultiple choice
Open the full VLAN trunking answer →

A network automation engineer needs to retrieve the Layer 2 topology for a specific VLAN from Cisco DNA Center. Which API endpoint should be used?

Question 12easymultiple choice
Open the full VLAN trunking answer →

Refer to the exhibit. A PC is connected to interface GigabitEthernet0/1 on a Cisco switch. The PC is in VLAN 10. What is the purpose of the 'spanning-tree portfast' command on this interface?

Exhibit

Refer to the exhibit.
```
interface GigabitEthernet0/1
 switchport mode access
 switchport access vlan 10
 spanning-tree portfast
```
Question 13mediummultiple choice
Read the full DHCP explanation →

Refer to the exhibit. An automation script expects the interface IP address to be configured via DHCP. Based on the output, what is the current configuration source for the IP address?

Exhibit

Refer to the exhibit.

R1#show run | section interface GigabitEthernet0/1
interface GigabitEthernet0/1
 ip address 192.168.1.1 255.255.255.0
 duplex auto
 speed auto
!
R1#show ip interface GigabitEthernet0/1
GigabitEthernet0/1 is up, line protocol is up
  Internet address is 192.168.1.1/24
  Broadcast address is 255.255.255.255
  Address determined by non-volatile memory
  MTU is 1500 bytes
  Helper address is not set
  Directed broadcast forwarding is disabled
  Outgoing access list is not set
  Inbound  access list is not set
Question 14hardmultiple choice
Study the full QoS explanation →

Refer to the exhibit. A network engineer applies this JSON-based QoS policy to a Cisco device using NETCONF/YANG. Which statement best describes the expected behavior for traffic from 10.0.0.0/24 with DSCP EF?

Exhibit

Refer to the exhibit.

{
  "policy": {
    "name": "QoS-Policy",
    "match": {
      "dscp": "EF",
      "source_ip": "10.0.0.0/24"
    },
    "action": {
      "set_dscp": "AF41",
      "police": {
        "cir": "100000000",
        "bc": "10000000",
        "conform_action": "transmit",
        "exceed_action": "drop"
      }
    }
  }
}
Question 15hardmultiple choice
Read the full REST/YANG explanation →

Refer to the exhibit. A developer sends a PUT request to the RESTCONF endpoint with the above JSON payload. The device already has interface GigabitEthernet1/0/1 configured with IP address 10.10.10.1/24. What is the expected outcome?

Exhibit

Refer to the exhibit.

{
  "Cisco-IOS-XE-native:interface": {
    "GigabitEthernet": [
      {
        "name": "1/0/1",
        "description": "Link to Core",
        "ip": {
          "address": {
            "primary": {
              "address": "10.10.10.1",
              "mask": "255.255.255.0"
            }
          }
        }
      }
    ]
  }
}

These 200-901 practice questions are part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style 200-901 questions with detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics.