Important Questions – Network Automation

 

Which enterprise
platform type can be used to receive real-time notifications from automation
tools to alert a given individual or team?

Top of Form

  • dashboards
  • orchestration
  • ITSM
  • chat

Bottom of Form

Ans – Chat

  What does CALMS stand for?

·      
coding, automation, lean,
measurement, sharing

·      
culture, automation, logging,
measurement, sharing

·      
culture, automation, lean,
management, sharing

·      
culture, automation, lean,
measurement, sharing

Ans – The correct answer is:

✅ Culture, Automation, Lean, Measurement,
Sharing

 

Which two
options are common trends in the network industry in the context of automation?
(Choose two.)

Top of Form

·       implementing DevOps processes and principles

·       actively testing automation in production

·       adoption of open source

·       increasing the rate and use of the CLI

·       hiring more engineers to scale network
management

Ans The two
correct options that are common trends in the network industry in the
context of automation are:

✅ Implementing DevOps processes and principles

✅ Adoption of open source

 

Which two of the
following options are the main data encoding formats that are commonly used in
Application Programming Interfaces? (Choose two.)

Top of Form

·       HTML

·       JSON

·       PDF

·       XML

·       DOCX

Submit

Bottom of Form

The two
main data encoding formats commonly used in Application Programming
Interfaces (APIs) are:

✅ JSON (JavaScript Object Notation)

✅ XML (eXtensible Markup Language)

 

What is the main
reason to learn how to interact with JSON objects?

Top of Form

·       JSON is a simple data object.

·       The Python programming language supports it.

·       JSON is one of the encoding formats that is
commonly used in APIs.

·       JSON is an XML-based data exchange format for
HTTP requests.

 

The correct
answer is:

✅ JSON is one of the encoding formats that is
commonly used in APIs.

 

Assuming that
there are three devices in the inventory, what is wrong with the following YAML
data?

inventory:
csr1kv1: ios-xe csr1kv2: nx-os csr1kv3: ios-xe

Top of Form

·       Everything looks correct.

·       The line csr1kv2: nx-os cannot
have nx-os as a value.

·       The indentation is invalid.

·       The text “- sign” is absent at the beginning of
each line.

Bottom of Form

 The correct
answer is:

✅ The indentation is invalid.

 

Which command is
used to locate a Python package that is stored on the Python Package Index?

Top of Form

·       pip find <PACKAGE>

·       pip lookup <PACKAGE>

·       pip search <PACKAGE>

·       pip locate <PACKAGE>

 The correct
answer is:

✅ pip search <PACKAGE>

 

A module that is
named inventory has a variable that is called devices. After successfully
importing the module using import inventory, what is the proper syntax to print
the contents of the variable?

Top of Form

·       print(devices)

·       print(inventory.devices())

·       print(inventory[“devices”])

·       print(inventory.devices)

Bottom of Form

 

The correct
answer is:

✅ print(inventory.devices)

 

A variable of a
dictionary data type named inventory has the following value:
{“csr1kv1”:{“vendor”:”cisco”}}. Which Python
command will print the value of the “vendor” key?

Top of Form

·       print(inventory [“vendor”])

·       print(inventory [0][“vendor”])

·       print(inventory
[“csr1kv1”][“vendor”])

·       print(inventory [“csr1kv1”])

Bottom of Form

 The correct
answer is:

✅ print(inventory[“csr1kv1”][“vendor”])

 

Match the
correct options:

Top of Form

Derivatives
include CentOS and Fedora.

Select Match

The most popular
derivative is Ubuntu.

Select Match

Focused on
penetration and security testing.

Select Match

Focused on home
router functionality.

Select Match

 Here’s the
correct matching for each description:

1.     
Derivatives
include CentOS and Fedora.
→ Red Hat Enterprise Linux (RHEL)

2.     
The
most popular derivative is Ubuntu.
→ Debian

3.     
Focused
on penetration and security testing.
→ Kali Linux

4.     
Focused
on home router functionality.
→ OpenWrt

 

What does
the grep command allow a user to do?

Top of Form

·       search the contents of a file for a specified
value

·       display the first 10 lines of a file

·       stream the entire contents of a file without
pausing

·       navigate to another directory

Bottom of Form

The correct
answer is:

✅ search the contents of a file for a
specified value

 

Which
command-line command is used for package management in Debian distributions
including Ubuntu?

Top of Form

·       .rpm

·       yum

·       .deb

·       apt-get

Bottom of Form

 

The correct
answer is:

✅ apt-get

 

Match the HTTP
response code on the left with its description on the right.

Top of Form

Client Error

Select Match

Success

Select Match

Redirection

Select Match

Submit

Bottom of Form

 

Here’s the
correct matching of HTTP response codes with their descriptions:

1.     
Client
Error
→ 4xx (e.g., 404 Not Found, 403 Forbidden)

2.     
Success
→ 2xx (e.g., 200 OK, 201 Created)

3.     
Redirection
→ 3xx (e.g., 301 Moved Permanently, 302 Found)

 

Why are API
health checks useful?

Top of Form

·       to prevent you from creating requests that will
fail

·       to make sure the API endpoint has no viruses

·       to prevent memory leaks in the API code

·       to make it harder for malicious users to
exploit the API

Bottom of Form

The correct
answer is:

✅ to prevent you from creating requests
that will fail

 

Which option is
a command-line tool for consuming REST APIs?

Top of Form

·       Postman

·       Firefox

·       cURL

·       Python requests

Bottom of Form

The correct
answer is:

✅ cURL

 

Match the Git
architecture components to their respective descriptions.

Top of Form

A repository
where the files of the project reside, and also from where all other local
copies are pulled.

Select Match

A repository
where snapshots, or commits, are stored on the local machine of each person.

Select Match

The area where
all the changes are placed before committing to the local repository.

Select Match

A directory that
a git clone command created.

Select Match

Bottom of Form

Here’s the
correct matching of Git architecture components with their
descriptions:

1.     
A
repository where the files of the project reside, and also from where all other
local copies are pulled.
→
✅ Remote repository

2.     
A
repository where snapshots, or commits, are stored on the local machine of each
person.
→
✅ Local repository

3.     
The
area where all the changes are placed before committing to the local
repository.
→
✅ Staging area (or index)

4.     
A
directory that a git clone command created.
→
✅ Working directory

 

Which Git
feature allows creation of a full replica of a repository and experiments on
the source code without affecting the original repository?

Top of Form

·       clone

·       pull

·       fork

·       merge

Bottom of Form

 

The correct
answer is:

✅ fork

 

Which two
activities does the git add command perform? (Choose two.)

Top of Form

·       adds files to a remote

·       starts tracking files

·       adds files to the local directory

·       adds files to the staging area

 

The two
correct activities that the git add command performs are:

✅ Starts tracking files

✅ Adds files to the staging area

 

 

 

 

Bottom of Form