WorksheetsENSA Module Quiz 14 – Network Automation
Total questions: 28
Worksheet time: 15mins
What is JSON?
It is a data format for storing and transporting data.
It is a scripting language.
It is a database.
It is a compiled programming language.
What is an architectural constraint to which a true RESTful API web service must adhere?
It must support the XML data format.
It operates as a cloud service.
It runs as client/server model.
It uses HTTPS to transport data.
In the RESTful API request example, http://www.mapquestapi.com/directions/v2/route?outFormat=json&key=KEY&from=San+Jose,Ca&to=Monterey,Ca, which term describes the component directions/v2/route?
parameters
resources
API server
query
Which statement describes an API?
It is a set of functions and procedures that allows a client application to access the data of the service
application.
It is a programming language for creating a web-based application.It is a programming language for creating a web-based application.
It is a set of functions and subroutines to be used in a comprehensive application.
It is a set of rules that filter network traffic for web-based applications.
Which term describes the process of managing configuration changes of network devices in an orderly fashion?
orchestration
version control
provisioning
automation
Which web service API can use multiple data formats including JSON, XML, and YAML?
JSON-RPC
REST
SOAP
XML-RPC
What are two reasons that most RESTful APIs require a key in the request? (Choose two.)
to authenticate the requesting source
to gather information on the people using the API
to encrypt the query message in the API request
to make sure that the query matches the service offered by the web application
to specify the data format expected from the response
What is a difference between the XML and HTML data formats?
XML uses a self-descriptive data structure but HTML uses a standard document structure.
XML formats data in hexadecimal whereas HTML formats data in binary.
XML requires indentation for each key/value pair whereas HTML does not require indentation.
XML encloses data within a pair of tags whereas HTML uses a pair of quotation marks to enclose data.
A programmer is using Ansible as the configuration management tool. Which term is used to describe a set of instructions for execution?
Pillar
Manifest
Cookbook
Playbook
Which term is used to describe a set of instructions for execution by the configuration management tool Chef?
Playbook
Pillar
Cookbook
Manifest
Which two configuration management tools are developed using Python? (Choose two.)
Chef
Ansible
SaltStack
Puppet
NETCONF
Which function of the Cisco intent-based networking system (IBNS) enables network operators to express the expected networking behavior that will best support the business intent?
translation
ACL analysis
activation
assurance
Which types of APIs are suitable for the data communication between a travel website and a hotel chain inquiring about room availability data?
public APIs
partner APIs
open APIs
internal APIs
Which characters are used to enclose a JSON key?
commas
square brackets
colons
quotation marks
Which character is used to separate JSON key/value pairs?
(semi colon) ;
(dash) –
(comma) ,
(forward slash) /
In the following example, which data format is used?
message: success
timestamp: 1560789260
iss_position:
latitude: '25.9990'
longitude: '-132.6992'
HTML
JSON
XML
YAML
In the following example, which data format is used?
{
"message": "success",
"timestamp": 1560789260,
"iss_position": {
"latitude": "25.9990",
"longitude": "-132.6992"
}
}
HTML
JSON
XML
YAML
A RESTful API (for example, a public API) mat require a key. What is the function of the key?
It is the top-level object of the API query.
It is used in the encryption of the message by an API request.
It is used to authenticate the requesting source.
It represents the main query components in the API request.
Which configuration management tool combines a set of instructions in a manifest?
Ansible
Chef
Puppet
RESTCONF
SaltStack
Which RESTful operation corresponds to the HTTP POST method?
create
delete
read
update
How does the YAML data format structure differ from JSON?
YAML uses brackets and commas.
YAML uses end tags.
YAML uses hierarchical levels of nesting.
YAML uses indentations.
Which configuration management tool combines a set of instructions in a playbook?
Ansible
Chef
Puppet
RESTCONF
SaltStack
In the following example, which data format is used?
<root>
<message>success</message>
<timestamp>1560789260</timestamp>
<iss_position>
<latitude>25.9990</latitude>
<longitude>-132.6992</longitude>
</iss_position>
</root>
HTML
JSON
XML
YAML
What is a difference between the HTML and XML data formats?
HTML formats data in plaintext, whereas XML formats data in binary.
HTML uses predefined tags, and XML does not.
HTML requires indentation for each key/value pair, but XML does not.
HTML uses a pair of quotation marks to enclose data, whereas XML encloses data within a pair of tags.
What is REST?
It is a human-readable data structure that applications use for storing, transforming, and reading data.
It is a protocol that allows administrators to manage nodes on an IP network.
It is a way to store and interchange data in a structured format.
It is an architecture style for designing web service applications.
Which RESTful operation corresponds to the HTTP PUT method?
create
delete
read
update
What is JSON?
It is a compiled programming language.
It is a data format that is simpler than XML.
It is a scripting language.
It is a superset of YAML.
Which scenario describes the use of a public API?
It can be used with no restrictions.
It is used only within an organization.
It requires a license.
It is used between a company and its business partners.
