Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

ENSA Module Quiz 14 – Network Automation

Total questions: 28

Worksheet time: 15mins

Name
Class
Date
1.

What is JSON?

a)

It is a data format for storing and transporting data.

b)

It is a scripting language.

c)

It is a database.

d)

It is a compiled programming language.

2.

What is an architectural constraint to which a true RESTful API web service must adhere?

a)

It must support the XML data format.

b)

It operates as a cloud service.

c)

It runs as client/server model.

d)

It uses HTTPS to transport data.

3.

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?

a)

parameters

b)

resources

c)

API server

d)

query

4.

Which statement describes an API?

a)

It is a set of functions and procedures that allows a client application to access the data of the service

application.

b)

It is a programming language for creating a web-based application.It is a programming language for creating a web-based application.

c)

It is a set of functions and subroutines to be used in a comprehensive application.

d)

It is a set of rules that filter network traffic for web-based applications.

5.

Which term describes the process of managing configuration changes of network devices in an orderly fashion?

a)

orchestration

b)

version control

c)

provisioning

d)

automation

6.

Which web service API can use multiple data formats including JSON, XML, and YAML?

a)

JSON-RPC

b)

REST

c)

SOAP

d)

XML-RPC

7.

What are two reasons that most RESTful APIs require a key in the request? (Choose two.)

a)

to authenticate the requesting source

b)

to gather information on the people using the API

c)

to encrypt the query message in the API request

d)

to make sure that the query matches the service offered by the web application

e)

to specify the data format expected from the response

8.

What is a difference between the XML and HTML data formats?

a)

XML uses a self-descriptive data structure but HTML uses a standard document structure.

b)

XML formats data in hexadecimal whereas HTML formats data in binary.

c)

XML requires indentation for each key/value pair whereas HTML does not require indentation.

d)

XML encloses data within a pair of tags whereas HTML uses a pair of quotation marks to enclose data.

9.

A programmer is using Ansible as the configuration management tool. Which term is used to describe a set of instructions for execution?

a)

Pillar

b)

Manifest

c)

Cookbook

d)

Playbook

10.

Which term is used to describe a set of instructions for execution by the configuration management tool Chef?

a)

Playbook

b)

Pillar

c)

Cookbook

d)

Manifest

11.

Which two configuration management tools are developed using Python? (Choose two.)

a)

Chef

b)

Ansible

c)

SaltStack

d)

Puppet

e)

NETCONF

12.

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?

a)

translation

b)

ACL analysis

c)

activation

d)

assurance

13.

Which types of APIs are suitable for the data communication between a travel website and a hotel chain inquiring about room availability data?

a)

public APIs

b)

partner APIs

c)

open APIs

d)

internal APIs

14.

Which characters are used to enclose a JSON key?

a)

commas

b)

square brackets

c)

colons

d)

quotation marks

15.

Which character is used to separate JSON key/value pairs?

a)

(semi colon) ;

b)

(dash) –

c)

(comma) ,

d)

(forward slash) /

16.

In the following example, which data format is used?

message: success

timestamp: 1560789260

iss_position:

latitude: '25.9990'

longitude: '-132.6992'

a)

HTML

b)

JSON

c)

XML

d)

YAML

17.

In the following example, which data format is used?

{

"message": "success",

"timestamp": 1560789260,

"iss_position": {

"latitude": "25.9990",

"longitude": "-132.6992"

}

}

a)

HTML

b)

JSON

c)

XML

d)

YAML

18.

A RESTful API (for example, a public API) mat require a key. What is the function of the key?

a)

It is the top-level object of the API query.

b)

It is used in the encryption of the message by an API request.

c)

It is used to authenticate the requesting source.

d)

It represents the main query components in the API request.

19.

Which configuration management tool combines a set of instructions in a manifest?

a)

Ansible

b)

Chef

c)

Puppet

d)

RESTCONF

e)

SaltStack

20.

Which RESTful operation corresponds to the HTTP POST method?

a)

create

b)

delete

c)

read

d)

update

21.

How does the YAML data format structure differ from JSON?

a)

YAML uses brackets and commas.

b)

YAML uses end tags.

c)

YAML uses hierarchical levels of nesting.

d)

YAML uses indentations.

22.

Which configuration management tool combines a set of instructions in a playbook?

a)

Ansible

b)

Chef

c)

Puppet

d)

RESTCONF

e)

SaltStack

23.

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>

a)

HTML

b)

JSON

c)

XML

d)

YAML

24.

What is a difference between the HTML and XML data formats?

a)

HTML formats data in plaintext, whereas XML formats data in binary.

b)

HTML uses predefined tags, and XML does not.

c)

HTML requires indentation for each key/value pair, but XML does not.

d)

HTML uses a pair of quotation marks to enclose data, whereas XML encloses data within a pair of tags.

25.

What is REST?

a)

It is a human-readable data structure that applications use for storing, transforming, and reading data.

b)

It is a protocol that allows administrators to manage nodes on an IP network.

c)

It is a way to store and interchange data in a structured format.

d)

It is an architecture style for designing web service applications.

26.

Which RESTful operation corresponds to the HTTP PUT method?

a)

create

b)

delete

c)

read

d)

update

27.

What is JSON?

a)

It is a compiled programming language.

b)

It is a data format that is simpler than XML.

c)

It is a scripting language.

d)

It is a superset of YAML.

28.

Which scenario describes the use of a public API?

a)

It can be used with no restrictions.

b)

It is used only within an organization.

c)

It requires a license.

d)

It is used between a company and its business partners.