Which enterprise
platform type can be used to receive real-time notifications from automation
tools to alert a given individual or team?
- dashboards
- orchestration
- ITSM
- chat
Ans – Chat
·
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.)
· 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.)
· HTML
· JSON
· PDF
· XML
· DOCX
Submit
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?
· 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
· 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.
✅ The indentation is invalid.
Which command is
used to locate a Python package that is stored on the Python Package Index?
· pip find <PACKAGE>
· pip lookup <PACKAGE>
· pip search <PACKAGE>
· pip locate <PACKAGE>
✅ 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?
· print(devices)
· print(inventory.devices())
· print(inventory["devices"])
· print(inventory.devices)
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?
· print(inventory ["vendor"])
· print(inventory [0]["vendor"])
· print(inventory
["csr1kv1"]["vendor"])
· print(inventory ["csr1kv1"])
✅ print(inventory["csr1kv1"]["vendor"])
Match the
correct options:
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
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?
· 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
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?
· .rpm
· yum
· .deb
· apt-get
The correct
answer is:
✅ apt-get
Match the HTTP
response code on the left with its description on the right.
Client Error
Select Match
Success
Select Match
Redirection
Select Match
Submit
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?
· 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
The correct
answer is:
✅ to prevent you from creating requests
that will fail
Which option is
a command-line tool for consuming REST APIs?
· Postman
· Firefox
· cURL
· Python requests
The correct
answer is:
✅ cURL
Match the Git
architecture components to their respective descriptions.
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
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?
· clone
· pull
· fork
· merge
The correct
answer is:
✅ fork
Which two
activities does the git add command perform? (Choose two.)
· 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
No comments:
Post a Comment