ExamGecko
Home Home / Cisco / 200-901

Cisco 200-901 Practice Test - Questions Answers, Page 44

Question list
Search
Search

List of questions

Search

Which IP service is responsible for automatically assigning an IP address to a device?

A.

DNS

A.

DNS

Answers
B.

DHCP

B.

DHCP

Answers
C.

SNMP

C.

SNMP

Answers
D.

NAT

D.

NAT

Answers
Suggested answer: B

Explanation:

The Dynamic Host Configuration Protocol (DHCP) is responsible for automatically assigning IP addresses to devices on a network. When a device connects to the network, it sends a broadcast request for an IP address, and a DHCP server responds with an IP address, subnet mask, default gateway, and DNS server information. This process simplifies network administration by automating IP address assignment and ensuring that devices have unique IP addresses without manual configuration.

Cisco DHCP Overview

RFC 2131: DHCP

Refer to the exhibit.

A network engineer must improve the fabric discovery process in a data center. The engineer wants to check current ACI scripts in the myproject repository and clone them to a folder named aci. The engineer will optimize the scripts from the new folder. Which command performs this task on the Git repository?

A)

B)

C)

D)

A.

Option A

A.

Option A

Answers
B.

Option B

B.

Option B

Answers
C.

Option C

C.

Option C

Answers
D.

Option D

D.

Option D

Answers
Suggested answer: D

Explanation:

To clone the 'myproject' repository from GitHub into a new folder named 'aci' for optimization, the correct command is:

git clone [email protected]:myproject aci

This command specifies the SSH URL of the repository ([email protected]

) and sets the target directory to 'aci.' The git clone command copies the repository to the local machine, creating a new directory named 'aci' where the repository's contents will be placed.

Git Clone Documentation

GitHub SSH Setup

DRAG DROP

Refer to the exhibit.

Drag and drop the code from the bottom onto the box where the code is missing to construct a Python script that allows an engineer to retrieve interface data. t all options are used.


Question 433
Correct answer: Question 433

Explanation:

Cisco DevNet Associate Certification Guide

Cisco RESTCONF API Documentation

Python requests Library Documentation

:

DRAG DROP

Refer to the exhibit. Drag and drop the code snippets from the bottom onto the blanks in the Python script to retrieve a list of hosts using the Cisco DNA Center API. Not all options ...used.


Question 434
Correct answer: Question 434

Explanation:

Cisco DNA Center Platform: Cisco DNA Center Platform

What is a capability of the AXL API?

A.

It adds a user to a collaboration space to share information and files.

A.

It adds a user to a collaboration space to share information and files.

Answers
B.

It executes SQL commands in Cisco Unified Communications Manager.

B.

It executes SQL commands in Cisco Unified Communications Manager.

Answers
C.

It allows a meeting to be created with users that do not belong to same organization.

C.

It allows a meeting to be created with users that do not belong to same organization.

Answers
D.

It collects information about system, cluster, and database settings.

D.

It collects information about system, cluster, and database settings.

Answers
Suggested answer: B

Explanation:

The AXL (Administrative XML) API is a SOAP-based API used by Cisco Unified Communications Manager (CUCM) to allow third-party applications to perform administrative tasks. One of the key capabilities of the AXL API is that it allows users to execute SQL commands within CUCM. This capability can be used to query and modify the CUCM database, enabling tasks such as retrieving information about users, devices, and configurations, or making updates to the CUCM system.

Cisco DevNet Associate Certification Guide

Cisco Unified Communications Manager AXL Developer Guide

DRAG DROP

Drag and drop the code from the bottom onto the box where the code is missing to present GigabilEthernet2 details in the XML format. Not all options are used.


Question 436
Correct answer: Question 436

An engineer is creating an API to automatically obtain specific zones from Cisco Meraki MV cameras. The data that is provided when the API runs must represent the current analytic zones that are configured on the cameras. The API must start automatically at 6 p.m. every day and save the data on a server for further processing. Which part of the HTTP request must be configured to meet these requirements?

A.

request body with Status Code set to '302'

A.

request body with Status Code set to '302'

Answers
B.

request header with Content-Type set to 'application/json'

B.

request header with Content-Type set to 'application/json'

Answers
C.

request header with Content-Encoding set to 'application/xml'

C.

request header with Content-Encoding set to 'application/xml'

Answers
D.

request body with Content-Type set to 'application/xml'

D.

request body with Content-Type set to 'application/xml'

Answers
Suggested answer: B

Explanation:

When creating an API to interact with Cisco Meraki MV cameras, the request header must specify the correct content type to ensure the server understands the format of the request data. Setting the Content-Type header to 'application/json' indicates that the request body is formatted as JSON. This is essential for APIs that expect JSON data for requests and responses.

Additionally, the API must be scheduled to run automatically at 6 p.m. every day. This can be achieved using a cron job or a scheduling tool like cron in Unix-based systems or Task Scheduler in Windows.

Cisco DevNet Associate Certification Guide

Cisco Meraki API Documentation

Which type of OWASP threat forges a malicious HTTP request into an application?

A.

Clickjacking

A.

Clickjacking

Answers
B.

SQL Injection

B.

SQL Injection

Answers
C.

CSRF

C.

CSRF

Answers
D.

XSS

D.

XSS

Answers
Suggested answer: C

Explanation:

Cross-Site Request Forgery (CSRF) is a type of attack that forges a malicious HTTP request and sends it from a user's browser to a different site where the user is authenticated. The attacker tricks the user into executing unwanted actions on a web application in which the user is currently authenticated. This can lead to unauthorized actions being performed on the user's behalf.

Cisco DevNet Associate Certification Guide

OWASP CSRF Prevention Cheat Sheet

Refer to the exhibit.

An engineer must add new users and set privileges for executing a few Python scripts. The engineer prepares a Bash script to automate this task. The script ds a user and a group from the command-line arguments, creates a directory, and copies the Python scripts to it. The script then changes to the directory and lists the scripts, used on the script workflow, which process is being automated within the loop by using the list of Python scripts?

A.

removing the files that are not Python, listing the Python files, and assigning execution privileges to the initially created user and group.

A.

removing the files that are not Python, listing the Python files, and assigning execution privileges to the initially created user and group.

Answers
B.

assigning execution privileges to everyone and changing the ownership to the initially created user and group

B.

assigning execution privileges to everyone and changing the ownership to the initially created user and group

Answers
C.

assigning execution privileges to the owner, setting the user and group owner to the scripts that were initially created, and storing the script names in a file.

C.

assigning execution privileges to the owner, setting the user and group owner to the scripts that were initially created, and storing the script names in a file.

Answers
D.

creating a file with the content of all the files, assigning execution permissions to each script, and then changing ownership to the initially created user and group.

D.

creating a file with the content of all the files, assigning execution permissions to each script, and then changing ownership to the initially created user and group.

Answers
Suggested answer: C

Explanation:

The provided Bash script performs the following steps:

Adds a new user with useradd.

Adds a new group with groupadd.

Creates a directory /opt/scripts.

Copies all Python scripts (*.py) to the /opt/scripts directory.

Changes to the /opt/scripts directory.

Lists the Python scripts and processes each script in a loop.

Within the loop, the script:

Appends the script name to a file content.txt.

Assigns execution privileges to the script (chmod u+x).

Changes the ownership of the script to the newly created user and group (chown $1:$2).

This workflow automates the process of setting execution permissions for the owner (the newly created user) and assigning the user and group ownership to the scripts. It also stores the script names in content.txt.

Cisco DevNet Associate Certification Guide

Bash Scripting Documentation

What is a component of the first stage of an application development CI/CD pipeline?

A.

developer writing the initial lines of code

A.

developer writing the initial lines of code

Answers
B.

triggering of the automated build phase

B.

triggering of the automated build phase

Answers
C.

commitment and pushing of code into a version control system

C.

commitment and pushing of code into a version control system

Answers
D.

triggering of the automated testing phase

D.

triggering of the automated testing phase

Answers
Suggested answer: C

Explanation:

The first stage of a CI/CD (Continuous Integration/Continuous Deployment) pipeline typically involves developers committing and pushing code into a version control system (VCS) such as Git. This stage sets the foundation for subsequent automated processes.

Initial Commit: The act of committing code means saving changes to the local repository.

Push to Repository: Pushing code sends the committed changes to a remote repository, making them available for the CI/CD pipeline to trigger automated processes such as building and testing.

Continuous Integration Fundamentals: CI/CD Overview

Total 471 questions
Go to page: of 48