Automation Questions
Note: If you are not sure about Automation tools or JSON, please read our Ansible Tutorial, Chef Tutorial, Puppet Tutorial and JSON Tutorial.
Quick Summary HTTP defines these standard status codes that can be used to convey the results of a client’s request. The REST API status-code classes are divided into five categories. A comparison list of Ansible, Puppet and Chef automation tool: |
Question 1
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
Question 3
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” ]
}
Question 4
Question 5
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.
Question 6
Question 7
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
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
Question 10
Explanation
CRUD is short for CREATE, READ, UPDATE and DELETE operations. Only UPDATE operation modifies an existing table or view.
Question 11
Explanation
TCP port 22 is SSH, which is used by Ansible when communicating with the managed nodes.
Only answers are avaliable, please gudie to how to get the questions
answers are available too
Questions are still missing
where is the questions
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!
I need some help, the questions cannot view only the answers. What do i need to do?
You can download a PDF file to see the questions at this link: https://www.9tut.com/ccna-questions-and-answers
A you sure that you are logged in?
Sign up for Premium Membership to see all the questions. It will also help 9tut continue its service.
How to find question for all sections?
@9tut where i can find a tutorial about API and information about that?