Cisco 200-901 Practice Test - Questions Answers, Page 33
List of questions
Related questions
What is a characteristic of RPC APIs compared to REST APIs?
Authentication is done over provisions for the service caller and vice versa for RPC API, and REST API uses HTTP headers for authentication.
All communications between the client and server must be stateless for RPC API, and REST API is stateful.
The architecture model for RPC API is resource-focused, and REST API is procedure-focused.
The data payload must be in JSON format for RPC API, and REST API allows JSON and XML formats.
Which two situations align with infrastructure as code principles? (Choose two.)
nonreplicable snowflake servers
release versions to specific hardware
maximized configuration drift
easily reproducible systems
repeatable processes
Refer to the exhibit.
Refer to the exhibit. A developer writes a script to create a new network by using the Cisco DNA Center API. After running the script for the first time, the developer observes that HTTP code 404 is printed to the console. Which action resolves the problem?
The x-auth-token value must be changed to a valid token.
The API URL must be changed with a valid URL.
The requested payload must be fixed to include missing parts.
Internal errors on the code of API server must be fixed.
A developer plans to deploy a new application that will use an API to implement automated data collection from Webex with these requirements:
The application was created by using the request library.
Requires HTTP basic authentication.
Provides data in JSON or XML formats.
Which Cisco DevNet resource helps the developer with how to use the API?
DevNet sandbox
API documentation
forums
DevNet code exchange
An engineer deploys a Cisco CSR 1000 V instance to a virtual machine. The engineer must output the device configuration in JSON format. Which protocol is used for this task?
YANG
NETCONF
SNMP
RESTCONF
What are two benefits of implementing common data structures when working with APIs in remote systems? (Choose two.)
ensures that developers are limited to using one data schema type
prevents multivendor interoperability
improves security in RESTful web services
enforces standardized data structures
leverages code that is easily managed and reused
A development team is creating an application used for contactless payments. The application must:
Be web-based Capture and process the credit card information for a purchase.
Which security action must the web application use to gather and process the private customer data?
Enable RATs to monitor the web application remotely.
Disable botnets to eliminate risks.
Disable TLS to increase the connection speed.
Enable the encryption of network traffic.
An engineer needs to collect information about 20,000 Bluetooth clients using the Cisco Meraki API.
The API returns only 1,000 results. One of the HTTP response headers has the data:
Link:
https://api.meraki.com.info/api/v0/networks/ABC/bluetoothClients?perPage=1000&startingAfter=1000>;rel=“next”Which RFC is implemented by the API to apply the restriction?
RFC 5988 – Web Linking
RFC 5890 – Response Constraints
RFC 5005 – Feed Paging and Archiving
RFC 5446 – Content Limits
What are two benefits of using classes over functions when writing applications? (Choose two.)
improved readability
increased compatibility
variable reusability
increased performance
code organization
A developer creates a new application, but the application must be tested before being released to a customer. When a mobile phone that uses 4G is used to access the application, the request fails. Why does the connection to the application fail?
The application is hosted on premises and VPN connectivity is required
The application must be added to the production server before testing.
The application must be moved to the cloud before testing is possible.
The application connectivity is limited to HTTPS protocol.
Question