Home > Automation Questions

Automation Questions

January 7th, 2021 Go to comments

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.
1xx: Informational – Communicates transfer protocol-level information.
2xx: Success – Indicates that the client’s request was accepted successfully.
3xx: Redirection – Indicates that the client must take some additional action in order to complete their request.
4xx: Client Error – This category of error status codes points the finger at clients.
5xx: Server Error – The server takes responsibility for these error status codes.

A comparison list of Ansible, Puppet and Chef automation tool:

Ansible_Puppet_Chef_compare.jpg

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.

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_REST_API_Configuration_Guide_chapter_01.html

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.

Ansible_workflow.jpg

Comments (11) 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

  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.

  10. Rishi
    June 9th, 2021

    How to find question for all sections?

  11. ben
    May 14th, 2023

    @9tut where i can find a tutorial about API and information about that?

Add a Comment