Cisco CCNA Automation 200-901 Practice Test Questions and Exam Dumps Part7 Q121-140

View Full Cisco CCNA Automation 200-901 Exam Dumps and Practice Test Dumps.

 

Question 121

Which Cisco API can be used to retrieve device inventory information from Cisco DNA Center?

  1. REST API
  2. TFTP
  3. Telnet
  4. CDP

Correct Answer: 1

Explanation

Cisco DNA Center provides REST APIs that allow automation applications to interact programmatically with network-management resources. An application can use these APIs to retrieve information such as device inventory, host information, network topology, and other supported resources. This allows scripts and external applications to integrate with Cisco DNA Center without requiring administrators to manually navigate its graphical interface. TFTP is a file-transfer protocol, Telnet provides remote terminal access, and CDP is a device-discovery protocol. Therefore, the REST API is the appropriate interface for programmatically retrieving Cisco DNA Center inventory information.

Question 122

Which HTTP response code indicates that a REST API request was successfully processed?

  1. 404
  2. 500
  3. 200
  4. 401

Correct Answer: 3

Explanation

HTTP status code 200 means that a request was successfully processed by the server. It is commonly returned when a REST API successfully retrieves information or completes an operation that has a response body. Other successful status codes can be used for specific situations, such as 201 for resource creation and 204 for successful processing without response content. Status 404 indicates that a resource was not found, 401 generally indicates an authentication problem, and 500 indicates an internal server error. Therefore, 200 is the standard successful response represented in this question.

Question 123

Which HTTP status code indicates that the requested resource could not be found?

  1. 201
  2. 404
  3. 204
  4. 200

Correct Answer: 2

Explanation

HTTP status code 404 means “Not Found.” It indicates that the server could not find the requested resource at the specified location. In network automation, a 404 response can occur when an API endpoint is incorrect, a resource identifier does not exist, or a resource has been removed. A 200 response indicates success, 201 commonly indicates successful resource creation, and 204 indicates successful processing without a response body. Automation scripts should handle 404 responses appropriately because continuing to process an unavailable resource can result in additional errors.

Question 124

Which HTTP status code commonly indicates that an API request has been accepted for processing but has not yet completed?

  1. 202
  2. 400
  3. 403
  4. 500

Correct Answer: 1

Explanation

HTTP status code 202, “Accepted,” indicates that the server has accepted the request for processing, but the processing may not yet be complete. This is useful for APIs that perform asynchronous operations. For example, an automation platform may accept a request to provision a network resource and return a task identifier that can be checked later for completion. A 400 response indicates a bad request, 403 indicates forbidden access, and 500 indicates an internal server error. Therefore, 202 is the appropriate response code for an accepted asynchronous operation.

Question 125

Which authentication method commonly uses a certificate to establish the identity of a client or server?

  1. Basic authentication
  2. Certificate-based authentication
  3. Plain-text authentication
  4. Anonymous authentication

Correct Answer: 2

Explanation

Certificate-based authentication uses digital certificates to establish the identity of a communicating party. Certificates are commonly issued by a trusted Certificate Authority and contain identity information along with a public key. In network automation, certificate-based authentication can be used with APIs, secure network-management protocols, or other systems requiring stronger identity verification. Basic authentication generally uses username and password credentials, while plain-text and anonymous authentication do not provide the same certificate-based identity mechanism. Therefore, certificate-based authentication is the appropriate method described in the question.

Question 126

Which security protocol is commonly used to encrypt HTTP communication between an automation application and an API server?

  1. HTTP
  2. FTP
  3. HTTPS
  4. TFTP

Correct Answer: 3

Explanation

HTTPS is HTTP carried over TLS, providing encryption and integrity protection for communication between an application and a web server. Automation applications commonly use HTTPS when communicating with REST APIs because API requests may contain authentication tokens, credentials, configuration data, or other sensitive information. Plain HTTP does not provide the same transport encryption. FTP and TFTP are file-transfer protocols and do not represent the standard secure web communication mechanism described here. Therefore, HTTPS is the appropriate protocol for protecting API communication between an automation application and server.

Question 127

Which component verifies that a digital certificate was issued by a trusted authority?

  1. Certificate Authority trust chain
  2. DHCP server
  3. DNS resolver
  4. NTP server

Correct Answer: 1

Explanation

A certificate trust chain allows a system to verify whether a presented digital certificate can be traced back to a trusted Certificate Authority. The certificate may be signed by an intermediate CA, which ultimately chains to a trusted root CA. This validation helps establish trust in the identity represented by the certificate. DHCP provides IP configuration, DNS resolves names, and NTP synchronizes system clocks. Certificate validation can also involve checking validity periods and revocation status. Therefore, the certificate authority trust chain is the component that establishes whether a certificate originates from a trusted authority.

Question 128

Which network automation protocol uses XML-based Remote Procedure Calls (RPCs)?

  1. RESTCONF
  2. NETCONF
  3. HTTPS
  4. SNMP

Correct Answer: 2

Explanation

NETCONF uses XML-based Remote Procedure Calls to perform network-management operations. It can retrieve configuration, modify configuration, validate changes, and perform other supported operations on network devices. NETCONF commonly works with YANG models, which provide the structure for the configuration and operational data being exchanged. RESTCONF provides a RESTful HTTP interface instead, while HTTPS provides secure web communication and SNMP is commonly used for network monitoring and management. Therefore, NETCONF is the protocol associated with XML-based RPC messages.

Question 129

Which protocol provides a REST-style interface to YANG data using HTTP?

  1. NETCONF
  2. RESTCONF
  3. SSH
  4. SCP

Correct Answer: 2

Explanation

RESTCONF provides a REST-style interface for accessing and manipulating YANG-modeled data using HTTP or HTTPS. Automation applications can use familiar HTTP operations such as GET, POST, PUT, PATCH, and DELETE where supported by the API implementation. RESTCONF combines standardized YANG data modeling with REST principles, making it convenient for applications already designed to work with HTTP APIs. NETCONF instead uses XML-based RPC operations, while SSH provides secure remote access and SCP provides secure file transfer. Therefore, RESTCONF is the correct protocol for REST-style interaction with YANG data.

Question 130

Which YANG feature allows a model to reuse a previously defined set of schema nodes?

  1. Grouping
  2. Container
  3. Leaf
  4. List

Correct Answer: 1

Explanation

A YANG grouping defines a reusable collection of schema nodes. Other sections of a YANG model can incorporate the grouping rather than redefining the same nodes repeatedly. This improves model organization, reduces duplication, and makes complex models easier to maintain. A container organizes child nodes, a leaf represents a single value, and a list represents multiple instances of a structured object. Reusable groupings are especially useful when similar configuration structures appear in several parts of a model. Therefore, grouping is the YANG feature designed for schema-node reuse.

Question 131

Which YANG statement defines a reusable custom data type based on an existing type?

  1. typedef
  2. notification
  3. action
  4. container

Correct Answer: 1

Explanation

The YANG typedef statement defines a reusable type that can be based on an existing built-in or derived type. This allows model developers to define constraints or characteristics once and reuse them throughout a YANG model. For example, a custom type could define a specific format or range for a value that appears in multiple locations. A notification defines event information, an action represents an invokable operation, and a container organizes related nodes. Therefore, typedef is the appropriate YANG construct for creating reusable custom data types.

Question 132

Which YANG statement is commonly used to identify entries in a list uniquely?

  1. key
  2. path
  3. value
  4. index

Correct Answer: 1

Explanation

The YANG key statement identifies one or more leaf nodes that uniquely identify entries in a YANG list. For example, an interface list might use an interface name as its key so that each interface instance can be uniquely referenced. Keys are important when automation applications need to retrieve, modify, or distinguish individual list entries. Although applications may use paths and identifiers to access resources, key is the specific YANG statement used to define the identifying leaf or leaves of a list. Therefore, key is the correct answer.

Question 133

Which network automation model separates the desired state from the mechanisms used to implement that state?

  1. Intent-based model
  2. Manual CLI model
  3. Console-only model
  4. Hardware-only model

Correct Answer: 1

Explanation

An intent-based model focuses on describing what the network should accomplish rather than requiring administrators to specify every low-level implementation command. The automation platform interprets the desired state and applies appropriate configurations or policies to supported infrastructure. It can also monitor the environment and compare actual conditions with the intended state. Manual CLI and console-only models rely heavily on direct device commands, while a hardware-only model does not describe an automation methodology. Therefore, an intent-based model is the approach that separates the desired outcome from the specific implementation details.

Question 134

Which technology can provide a centralized source of truth for network device inventory and configuration data in an automation environment?

  1. Source-of-truth system
  2. Console cable
  3. Ethernet hub
  4. Patch panel

Correct Answer: 1

Explanation

A source-of-truth system provides a centralized and authoritative representation of infrastructure information used by automation workflows. It can contain information such as device names, IP addresses, interfaces, locations, roles, VLANs, and other attributes. Automation tools can retrieve this structured information instead of relying on manually maintained spreadsheets or scattered files. A console cable provides physical management access, an Ethernet hub provides basic Layer 2 connectivity, and a patch panel organizes physical cabling. Therefore, a source-of-truth system is the appropriate concept for centralized infrastructure information in automation.

Question 135

Which platform is commonly used as a source of truth for IP addresses, devices, racks, and network infrastructure objects?

  1. NetBox
  2. Telnet
  3. TFTP
  4. Syslog

Correct Answer: 1

Explanation

NetBox is an infrastructure resource-modeling and source-of-truth platform commonly used to maintain structured information about network infrastructure. Depending on deployment and configuration, it can store details such as devices, sites, racks, IP addresses, prefixes, interfaces, VLANs, and other infrastructure objects. Automation systems can query NetBox through its APIs and use the returned information to generate configurations or determine which devices should be managed. Telnet provides remote terminal access, TFTP provides basic file transfer, and Syslog is used for event logging. Therefore, NetBox is the appropriate platform in this context.

Question 136

Which API format is commonly used when automation tools exchange data with NetBox?

  1. REST API
  2. SMTP
  3. SNMP Trap
  4. TFTP

Correct Answer: 1

Explanation

NetBox provides a REST API that automation applications can use to retrieve and manipulate supported infrastructure information programmatically. An automation system can query objects such as devices, interfaces, IP addresses, prefixes, sites, and other resources and use the results in automated workflows. REST APIs typically use HTTP methods and structured formats such as JSON. SMTP is used for email, SNMP traps provide event notifications, and TFTP is a basic file-transfer protocol. Therefore, a REST API is the appropriate interface for programmatic communication with NetBox.

Question 137

Which automation concept refers to storing infrastructure information in a centralized, structured system rather than in scattered configuration files?

  1. Source of truth
  2. Packet switching
  3. Route redistribution
  4. Port mirroring

Correct Answer: 1

Explanation

A source of truth provides a centralized and structured representation of infrastructure information that automation systems can rely on. Instead of maintaining device details in multiple spreadsheets, scripts, and manually edited files, organizations can maintain standardized information in a dedicated system. Automation workflows can then retrieve current information through APIs and use it to generate configurations or perform operational tasks. Packet switching, route redistribution, and port mirroring are networking concepts unrelated to centralized infrastructure data management. Therefore, source of truth is the correct concept for maintaining authoritative structured network information.

Question 138

Which technology is commonly used to securely transfer files through an SSH connection?

  1. SCP
  2. TFTP
  3. FTP
  4. Telnet

Correct Answer: 1

Explanation

SCP, or Secure Copy Protocol, uses SSH to securely transfer files between systems. It provides encryption for the communication and authentication mechanisms supplied by SSH. In network automation, SCP can be used to transfer configuration files, software images, scripts, or other files when supported by the device and workflow. TFTP does not provide the same security protections, traditional FTP does not inherently encrypt traffic, and Telnet provides remote terminal access rather than secure file transfer. Therefore, SCP is the appropriate technology for secure file transfer over an SSH connection.

Question 139

Which protocol is commonly used to synchronize clocks across network devices and servers?

  1. NTP
  2. DNS
  3. DHCP
  4. ARP

Correct Answer: 1

Explanation

Network Time Protocol, or NTP, is used to synchronize clocks across network devices and servers. Accurate time is important in automation and network operations because logs, monitoring events, certificates, authentication systems, and troubleshooting activities often depend on consistent timestamps. DNS resolves hostnames, DHCP provides dynamic network configuration, and ARP resolves IPv4 addresses to MAC addresses on local networks. Maintaining synchronized time helps automation systems correlate events accurately across multiple devices. Therefore, NTP is the protocol used for network-wide time synchronization.

Question 140

Which logging protocol is commonly used to send event messages from network devices to a centralized logging server?

  1. Syslog
  2. FTP
  3. SCP
  4. RESTCONF

Correct Answer: 1

Explanation

Syslog is commonly used to send event and diagnostic messages from network devices to centralized logging servers. Centralized logging allows automation and operations teams to collect information from many devices in one location, making troubleshooting, monitoring, auditing, and event correlation easier. FTP and SCP are file-transfer mechanisms, while RESTCONF provides programmatic access to YANG-modeled configuration and operational data. Automation systems can also integrate with centralized logging platforms to trigger workflows based on detected events. Therefore, Syslog is the appropriate protocol for centralized network event logging.