Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

Automation Questions

9tut.com/automation-questions

Home > Automation Questions


January 7th, 2021 Go to comments
Premium Member: You can test your knowledge with these questions first via this link
(via HTML).

Note: If you are not sure about Automation tools or JSON, please read our Ansible
Tutorial, Chef Tutorial, Puppet Tutorial and JSON Tutorial.

Question 1

Which output displays a JSON data representation?


A.
{
“response”,{
“taskId”,{};
“url”,”string”
};
“version”, “string”
}

B.
{
“response”:{
“taskId”,{};
“url”,”string”
};
“version”; “string”
}

C.
{
“response”- {
“taskId”- {};
“url”-“string”
},
“version”-“string”
}

D.
{
“response”:{
“taskId”:{},

1/8
“url”:”string”
},
“version”: “string”
}

Answer: D

Explanation

JSON data is written as name/value pairs.


A name/value pair consists of a field name (in double quotes), followed by a colon,
followed by a value:
“name”:”Mark”

JSON can use arrays. Array values must be of type string, number, object, array, boolean
or null. For example:
{
“name”:”John”,
“age”:30,
“cars”:[ “Ford”, “BMW”, “Fiat” ]
}

JSON can have empty object like “taskId”:{}

Question 2

Which option best describes an API?


A. communication often uses either Java scripting, Python, XML, or simple HTTP
B. an architectural style (versus a protocol) for designing applications
C. a stateless client-server model
D. request a certain type of data by specifying the URL path that models the data

Answer: C

Question 3

Which option about JSON is true?


A. uses predefined tags or angle brackets (<>) to delimit markup text
B. used to describe structured data that includes arrays
C. used for storing information
D. similar to HTML, it is more verbose than XML

Answer: B

Explanation

JSON data is written as name/value pairs.


A name/value pair consists of a field name (in double quotes), followed by a colon,
followed by a value:

2/8
“name”:”Mark”

JSON can use arrays. Array values must be of type string, number, object, array, boolean
or null.. For example:
{
“name”:”John”,
“age”:30,
“cars”:[ “Ford”, “BMW”, “Fiat” ]
}

Question 4

Which of the following is the JSON encoding of a dictionary or hash?


A. {“key”: “value”}
B. [“key”, “value”]
C. {“key”, “value”}
D. (“key”: “value”)

Answer: A

Question 5

Which two encoding methods are supported by REST APIs? (Choose two)
A. YAML
B. JSON
C. EBCDIC
D. SGML
E. XML

Answer: B E

Explanation

The Application Policy Infrastructure Controller (APIC) REST API is a programmatic


interface that uses REST architecture. The API accepts and returns HTTP (not enabled by
default) or HTTPS messages that contain JavaScript Object Notation (JSON) or
Extensible Markup Language (XML) documents.

Reference: https://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/apic/sw/2-
x/rest_cfg/2_1_x/b_Cisco_APIC_REST_API_Configuration_Guide/b_Cisco_APIC_RE
ST_API_Configuration_Guide_chapter_01.html

Question 6

What are two benefits of network automation? (Choose two)


A. reduced operational costs
B. reduced hardware footprint
C. faster changes with more reliable results

3/8
D. fewer network failures
E. increased network security

Answer: A C

Question 7

Which type of API would be used to allow authorized salespeople of an organization


access to internal sales data from their mobile devices?
A. partner
B. open
C. public
D. private

Answer: D

Explanation

There are three types of API:


+ Open APIs (Public APIs) – These APIs are publicly available and can be used with
no restrictions. Because these APIs are public, many API providers require the user to get
a free key, or token, prior to using the API. This is to help control the number of API
requests they receive and process.
+ Internal (Private APIs) – These are APIs that are used by an organization or
company to access data and services for internal use only. An example of an internal API
is allowing authorized salespeople access to internal sales data on their mobile devices.
+ Partner APIs – These are APIs that are used between a company and its business
partners or contractors to facilitate business between them. The business partner must
have a license or other form of permission to use the API. A travel service using an
airline’s API is an example of a partner API.

Question 8

What is a characteristic of the REST API?


A. evolved into what became SOAP
B. used for exchanging XML structured information over HTTP or SMTP
C. considered slow, complex, and rigid
D. most widely used API for web services

Answer: D

Explanation

REST API is an API that works on top of the HTTP protocol. It defines a set of functions
developers can use to perform requests and receive responses via
HTTP protocol such as GET and POST. REST APIs are the most popular API used for web
services nowadays.

Question 9

4/8
Refer to the exhibit.

cisco_ospf_vrf {"R1 default":


ensure => 'present',
auto_cost => '100',
}

Which type of configuration is represented in the output?

A. Puppet
B. JSON
C. Chef
D. Ansible

Answer: A

Question 10

Which CRUD operation modifies an existing table or view?


A. read
B. replace
C. create
D. update

Answer: D

Explanation

CRUD is short for CREATE, READ, UPDATE and DELETE operations. Only UPDATE
operation modifies an existing table or view.

Question 11

Which configuration management mechanism uses TCP port 22 by default when


communicating with managed nodes?
A. Ansible
B. Python
C. Puppet
D. Chef

Answer: A

Explanation

TCP port 22 is SSH, which is used by Ansible when communicating with the managed
nodes.

5/8
Comments (9) Comments
1. where is the question for automation
October 2nd, 2020

Only answers are avaliable, please gudie to how to get the questions

2. mark
October 22nd, 2020

answers are available too

3. OmegaSupreme
October 26th, 2020

Questions are still missing

4. phaycee
January 14th, 2021

where is the questions

6/8
5. John Doe
January 27th, 2021

In question 1, REAL exam answers include:


Option 1
{
“response”:{
“taskId”:{},
“url”:”string”
},
“version”: “string”
}
Option 2
{
“response”:{
“taskId”:{};
“url”:”string”
};
“version”: “string”
}
The only difference is changing , by ; so take care!

6. Anonymous
February 6th, 2021

I need some help, the questions cannot view only the answers. What do i need to do?

7. Jim
February 10th, 2021

You can download a PDF file to see the questions at this link:
https://www.9tut.com/ccna-questions-and-answers

8. Nena
February 11th, 2021

A you sure that you are logged in?

9. Member123
February 28th, 2021

Sign up for Premium Membership to see all the questions. It will also help 9tut
continue its service.

Add a Comment

Subscribe to comments feed

DHCP Questions Miscellaneous Questions

7/8
8/8

You might also like