200-301 domain

Automation and Programmability

Use this page to practise 200-301 Automation and Programmability practice questions. The goal is not to memorise dumps, but to understand the concept, review the explanation and improve your exam readiness.

125 questions

Focused practice

Start a Automation and Programmability session

All sessions draw only from this domain. Pick a length or try interactive practice with inline explanations.

Start 20-question practice session →

What the exam tests

What to know about Automation and Programmability

Automation and Programmability questions test whether you can apply the concept in context, not just recognise a definition.

How the topic appears in realistic exam-style scenarios.

Which detail in the question changes the correct answer.

How to eliminate plausible but wrong options.

How to connect the question back to the wider exam objective.

Question index

All Automation and Programmability questions (125)

Click any question to see the full explanation, or start a practice session above.

1

An API client sends a valid GET request and receives an HTTP 200 response. What does that indicate?

2

Why is version control valuable for network automation files?

3

Why is version control useful for network automation scripts?

4

What is a main operational benefit of a controller-based networking architecture?

5

What is a northbound API in a controller-based network architecture?

6

Which HTTP method is commonly used to retrieve information from a REST API without modifying the resource?

7

Which two tasks are strong candidates for network automation? (Choose two.)

8

Why are data models such as YANG important in network automation?

9

Given the JSON snippet below, what is the value of hostname? { "device": { "hostname": "R1", "mgmt_ip": "192.0.2.10" } }

10

Which data format is commonly used with REST APIs to represent objects, arrays, and key-value pairs?

11

Which statement best contrasts YAML with JSON?

12

Which statement accurately describes JSON?

13

What is the role of a YANG model in network programmability?

14

Which HTTP method is typically used to retrieve data from a REST API without modifying the resource?

15

Which pairing is correct?

16

Which tool type is most appropriate for turning a variable set of interface values into a reusable configuration template?

17

What is version control primarily used for in network automation workflows?

18

Which two statements about RESTful APIs are correct? (Choose two.)

19

A REST API query returns this JSON snippet: { "interface": { "name": "GigabitEthernet1", "admin-status": "up", "oper-status": "down" } } What does this indicate?

20

What data format is commonly used in REST API responses because it is lightweight and easy for applications to parse?

21

In a controller-based network architecture, what is a southbound API typically used for?

22

Which two practices most improve safety when automating network changes? (Choose two.)

23

What is the main benefit of using a data model such as YANG in network automation?

24

Why is idempotency valuable in network automation?

25

What is the most likely purpose of a GET request in a RESTful network API?

26

A network automation script sends this HTTP request to a controller API: POST /api/v1/devices What does the POST method typically indicate in a RESTful API?

27

A controller API returns this data: { "device": { "hostname": "Dist-1", "interfaces": [ {"name": "Gig0/0", "status": "up"}, {"name": "Gig0/1", "status": "down"} ] } } Which statement is correct?

28

Which two statements accurately describe REST-based APIs in a network automation context?

29

An automation script must retrieve the current configuration state of a device from a REST API without modifying anything. Which HTTP method should it use?

30

Based on the JSON data, what is the value associated with the device hostname field?

31

Which statement best describes YANG in the context of network programmability?

32

Which two statements accurately describe JSON?

33

Match each automation-related term to its most accurate description.

34

Which statement best describes an API token in a network automation workflow?

35

Which statement best describes the relationship between REST and HTTP methods such as GET and POST?

36

Match each controller or API direction term to its most accurate meaning.

37

Match each JSON concept to its most accurate description.

38

An API response returns a list of interface objects in JSON. Which structure most likely represents that list?

39

Match each automation or programmability term to its most accurate description.

40

Match each HTTP method to the most accurate action it commonly represents in REST-style APIs.

41

Which two statements accurately describe APIs in network automation?

42

In a controller-based design, which statement best describes a northbound API?

43

Which statement best describes why JSON is common in controller APIs?

44

Match each API or automation concept to the most accurate description.

45

Which statement best explains why APIs are useful in controller-based networking?

46

Match each automation-related data term to the most accurate description.

47

Match each basic JSON element to its most accurate description.

48

Match each automation concept to its most accurate description.

49

Which two statements accurately describe controller-based networking at the CCNA level?

50

Which statement best describes HTTPS in network automation contexts?

51

Which statement best describes why a token might be used in an API request instead of sending a username and password with every request?

52

Match each API security or access term to its most accurate description.

53

Which two statements accurately describe JSON arrays?

54

Which statement best describes the difference between a controller and a northbound API?

55

Match each structured-data term to its most accurate meaning.

56

Match each REST or API concept to its most accurate description.

57

What is the main reason a controller API might return data in JSON rather than plain unstructured text?

58

Why is a northbound API especially useful in a controller-based network architecture?

59

Match each common automation term to its most accurate meaning.

60

Which statement best describes why JSON is often easier for software tools to work with than unstructured text?

61

Match each automation transport or interaction term to its most accurate description.

62

Why might an automation script prefer a token-based API session over repeatedly prompting a human operator for credentials?

63

Which two statements accurately describe APIs in controller-based networking?

64

Which statement best describes the role of a token in an API-based workflow?

65

Why is HTTPS usually preferred over HTTP when accessing controller APIs?

66

Match each controller or automation term to its most accurate description.

67

Match each common API or data term to its most accurate meaning.

68

Match each API interaction term to its most accurate description.

69

Which statement best describes the purpose of HTTPS in controller-based API communication?

70

Why is a northbound API valuable to orchestration tools in a controller-based network?

71

Match each HTTP method to the action it most commonly represents in a REST-style API.

72

Why might a controller return interface information as a JSON array instead of a single JSON object?

73

Which statement best describes why APIs are useful in controller-based networking?

74

Match each JSON term to its most accurate meaning.

75

Why would an orchestration platform prefer a northbound API over screen-scraping CLI output?

76

Why is HTTPS usually preferred over HTTP when accessing a controller API?

77

Match each API or programmability term to its most accurate meaning.

78

Which statement best describes why tokens are commonly used in API-based workflows?

79

Which two statements accurately describe controller-based networking?

80

Why is HTTPS preferred over HTTP when accessing sensitive controller APIs?

81

Match each programmability term to its most accurate meaning.

82

Why is a northbound API generally more useful to orchestration software than a human-readable CLI screen?

83

Why are tokens commonly used in API workflows instead of sending raw credentials with every request?

84

Match each basic automation term to its most accurate meaning.

85

Why is a northbound API valuable to orchestration systems in a controller-based architecture?

86

Match each automation or API term to its most accurate role.

87

Match each basic controller or API term to its most accurate meaning.

88

Why is JSON often preferred over completely unstructured text in API responses?

89

Match each REST-style method to the action it most commonly represents.

90

Which statement best explains why JSON is often easier for software tools to process than free-form text?

91

Which statement best describes a southbound API in a controller-based architecture at a conceptual level?

92

Match each data-structure term to its most accurate meaning.

93

Which two statements accurately describe JSON in network automation contexts?

94

Which statement best describes why a REST API is easier for software to use than a human-oriented CLI screen output?

95

Which two statements accurately describe software-defined networking and network virtualization concepts at a basic CCNA level?

96

Which statement best describes NFV at a conceptual level?

97

Which statement best describes software-defined networking at a conceptual level?

98

Match each term to the most appropriate description in an API context.

99

Which statement best describes why APIs are valuable in automation even when a CLI is still available?

100

A JSON response from a controller contains a list of interfaces, each with its own name and status fields. Which JSON structure is most likely used to represent that list?

101

Match each automation or API concept to its most accurate description.

102

Match each programmability term to its most accurate description.

103

Which statement best describes why HTTPS is commonly used together with APIs in network automation?

104

Which two statements accurately describe why APIs and human-oriented CLIs are both still useful in network operations?

105

Which statement best explains why structured API responses are valuable for network dashboards and automation systems?

106

A REST API call uses the GET method against a device inventory endpoint. What is the most likely intent of the call?

107

Which statement best describes why machine-readable state data is valuable for automation-based assurance?

108

Which statement best describes YANG at a basic CCNA automation level?

109

Match each REST-style method to the most common intent.

110

Which statement best describes why tokens are commonly used in API-based automation environments?

111

In a REST-style API, which method is most commonly associated with retrieving information?

112

Which two statements accurately describe why structured telemetry and APIs improve operational tooling?

113

Match each automation-related term to the description that best fits it.

114

Which statement best describes why API endpoints and methods matter together in automation design?

115

Which statement best explains why structured state data is more useful than free-form text for automated compliance checks?

116

Which statement best describes an API endpoint?

117

Match each term to the role it most directly plays in an API workflow.

118

Which statement best explains why data models such as YANG matter when building consistent automation workflows?

119

Which statement best describes why an API token should be protected even if HTTPS is already used?

120

Which statement best explains why HTTPS and tokens are often used together in API-driven automation?

121

Match each API workflow concept to the description that best fits it.

122

Which statement best describes why JSON and YANG are related but not the same thing in automation workflows?

123

Which statement best explains why methods such as GET and DELETE matter in API design?

124

Which statement best describes why a controller-based network platform benefits from northbound APIs?

125

Match each concept to the role it most directly plays in a structured automation workflow.

Watch out for

Common Automation and Programmability exam traps

  • Answering from memory before reading the full scenario.
  • Missing a constraint such as cost, availability, security, scope or command context.
  • Choosing a broad answer when the question asks for the most specific fix.
  • Ignoring why the wrong options are tempting.

Frequently asked questions

What does the Automation and Programmability domain cover on the 200-301 exam?
Automation and Programmability questions test whether you can apply the concept in context, not just recognise a definition.
How many questions are in this domain?
This page lists all 125 Automation and Programmability questions in the 200-301 question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
What is the best way to practise this domain?
Start with a short focused session (10 questions) to identify gaps, then use the interactive practice page to work through explanations. Repeat with a longer session once the weak areas feel solid.
Can I practise only Automation and Programmability questions?
Yes — the session launcher on this page filters questions to this domain only. Choose any session length or try the interactive practice page for inline explanations.