ExamGecko
Home Home / Cisco / 200-901

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

Question list
Search
Search

List of questions

Search

Refer to the exhibit.

An engineer is comparing two tiles by using the unified cliff format What is determined by the content in the file2.py file?

A.

Line 16 of file2.py is auth=HTTPBasicAuth(USERNAME. PASSWORD).

A.

Line 16 of file2.py is auth=HTTPBasicAuth(USERNAME. PASSWORD).

Answers
B.

Line 17 of file2.py is auth = HTTPBasicAuth{USERNAME. PASSWORD).

B.

Line 17 of file2.py is auth = HTTPBasicAuth{USERNAME. PASSWORD).

Answers
C.

Line 93 of file2.py is 'DEVICE-STATS'.

C.

Line 93 of file2.py is 'DEVICE-STATS'.

Answers
D.

Line 92 of file2.py is 'DEVICE-STATS'.

D.

Line 92 of file2.py is 'DEVICE-STATS'.

Answers
Suggested answer: C

Explanation:

The unified diff format is used to display differences between two files. The content of the file2.py file shows the added lines in the comparison.

Unified Diff Format: The format uses + to indicate lines added in file2.py and - to indicate lines removed.

Line Addition: Line 93 of file2.py has the 'DEVICE-STATS' line, as indicated by the + symbol in the diff output.

Understanding Unified Diff Format: Unified Diff

Refer to the exhibit.

A developer needs to create a Docker image that listens on port 5000. Which code snippet must be placed onto the blank in the code?

A.

PORT 5000

A.

PORT 5000

Answers
B.

LISTEN 5000

B.

LISTEN 5000

Answers
C.

EXPOSE 5000

C.

EXPOSE 5000

Answers
D.

OPEN 5000

D.

OPEN 5000

Answers
Suggested answer: C

Explanation:

The EXPOSE instruction in a Dockerfile informs Docker that the container listens on the specified network ports at runtime.

EXPOSE Instruction: It does not publish the port but indicates to Docker that the application inside the container uses this port.

Listening Port: The Docker container will be configured to listen on port 5000 using EXPOSE 5000.

Dockerfile

Reference: Dockerfile EXPOSE

Refer to the exhibit.

Which type of YANG object is 'interfaces'?

A.

node

A.

node

Answers
B.

subitem

B.

subitem

Answers
C.

item

C.

item

Answers
D.

container

D.

container

Answers
Suggested answer: D

Explanation:

In YANG, a 'container' is a grouping of related nodes and sub-nodes. The 'interfaces' object in the YANG model is a container for interface-related data.

Container: The container statement is used to define an interior data node in the YANG data tree.

Structure: The exhibit shows that 'interfaces' encapsulates other nodes such as interface, name, description, etc., indicating that it is a container.

YANG Data Modeling Language: YANG RFC

What is a benefit of version control?

A.

application of code directly to hardware

A.

application of code directly to hardware

Answers
B.

tracking development changes

B.

tracking development changes

Answers
C.

reuse of code-on-code patches

C.

reuse of code-on-code patches

Answers
D.

compatibility with back-end systems

D.

compatibility with back-end systems

Answers
Suggested answer: B

Explanation:

Other benefits of version control include:

Collaboration: Multiple developers can work on the same project simultaneously without overwriting each other's work.

Branching and Merging: Developers can work on different features or bug fixes in isolation and merge their changes back into the main codebase once they are ready.

Backup: The entire history of the project is stored in the VCS, providing a backup that can be restored if necessary.

Cisco DevNet Associate Certification Guide

Pro Git Book, Chapter on Getting Started

A network engineer makes several API calls lo Cisco Prime to retrieve a list of all devices. Each time a response is received, only a subset of the devices is returned. The engineer :ices that HTTP code 429 is returned instead of 200 for some API calls. Why did the response exclude some of the devices?

A.

The API applied an offset that was indicated In the request.

A.

The API applied an offset that was indicated In the request.

Answers
B.

The API failed to identify how many items to retrieve.

B.

The API failed to identify how many items to retrieve.

Answers
C.

The API timed out the request.

C.

The API timed out the request.

Answers
D.

The API rate limited the request

D.

The API rate limited the request

Answers
Suggested answer: D

Explanation:

HTTP status code 429 indicates that too many requests have been sent in a given amount of time, which is a sign of rate limiting. Rate limiting is used by APIs to control the amount of incoming requests to prevent abuse or overloading the server. In this case, the Cisco Prime API is limiting the number of requests the network engineer can make in a certain time period, resulting in only a subset of devices being returned and some requests being rejected with a 429 status code.

Cisco DevNet Associate Certification Guide

HTTP Status Code Definitions

Refer to the exhibit.

An engineer wants to create a Bash script to automate a workflow that is related to a machine learning-based application. The engineer wants to use the application as a container and use an image from the open-source public repository. What is accomplished by the script?

A.

Create a new software package.

A.

Create a new software package.

Answers
B.

Install and remove files.

B.

Install and remove files.

Answers
C.

Update an existing software package.

C.

Update an existing software package.

Answers
D.

Install a software package

D.

Install a software package

Answers
Suggested answer: D

Explanation:

The Bash script shown in the exhibit performs the following actions:

Updates the list of available packages using brew update.

Installs Docker using brew install docker.

Upgrades pip and installs tensorflow and pytorch using pip install.

Pulls the latest TensorFlow Docker image using docker pull tensorflow/tensorflow:latest.

This script is designed to install the necessary software packages (Docker, TensorFlow, PyTorch) required for a machine learning-based application. It does not create or remove any software packages but installs them.

Cisco DevNet Associate Certification Guide

Docker Documentation

Homebrew Documentation

Pip Documentation

A distributed application was developed using the Cisco intersight SDK. While testing the interaction between the application and the intersight API. the requests that were sent to ..server could not execute because the application was blocked by the firewall. Which URL and port must be provided to the firewall administrator to allow the traffic?

A.

svc.intersight.com port 443

A.

svc.intersight.com port 443

Answers
B.

intersight.com port 443

B.

intersight.com port 443

Answers
C.

intersight.com port 80

C.

intersight.com port 80

Answers
D.

svc.intersight.com port 80

D.

svc.intersight.com port 80

Answers
Suggested answer: A

Explanation:

For the distributed application developed using the Cisco Intersight SDK to communicate with the Intersight API, the traffic needs to be allowed through the firewall. The correct URL and port that need to be provided to the firewall administrator are svc.intersight.com on port 443. Port 443 is the standard port for HTTPS traffic, which ensures secure communication between the application and the Intersight server.

Cisco DevNet Associate Certification Guide

Cisco Intersight API Documentation

DRAG DROP

Refer to the exhibit. Drag and drop the code snippets from the bottom to the blanks in the code to enable keepalive for the FastEthernet 2/0 interface. Not all options are used.


Question 428
Correct answer: Question 428

Explanation:

Cisco YANG Data Models: Cisco YANG Models

YANG Development Kit (YDK): YDK Documentation

Which tool simulates a network that runs Cisco equipment?

A.

Cisco Prime Infrastructure

A.

Cisco Prime Infrastructure

Answers
B.

VMware

B.

VMware

Answers
C.

Docker

C.

Docker

Answers
D.

CML

D.

CML

Answers
Suggested answer: D

Explanation:

Cisco Modeling Labs (CML) is a network simulation tool that allows users to create, configure, and simulate networks with Cisco devices and topologies.

Cisco Modeling Labs (CML): CML provides a virtual environment where users can simulate network topologies and devices, including routers, switches, and other network components.

Simulation and Testing: CML allows users to test configurations, troubleshoot network issues, and study network behavior in a controlled environment.

Cisco Modeling Labs: Cisco Modeling Labs

A development team needs to containerize an application named 'cust475605674\ A Dockerfile has been created and now the docker build command needs to be run using the current folder to find the Dockerfile. build the image and create a local repository named 'cust321453857-rep' that points to that image. Which command must be used?

A.

docker build -t cust321453857-rep -f Dockerfile

A.

docker build -t cust321453857-rep -f Dockerfile

Answers
B.

docker build cust321453857-rep -f Dockerfile.txt

B.

docker build cust321453857-rep -f Dockerfile.txt

Answers
C.

docker build cust321453857-rep Dockerfile

C.

docker build cust321453857-rep Dockerfile

Answers
D.

docker build -t cust321453857-rep Dockerfile.txt

D.

docker build -t cust321453857-rep Dockerfile.txt

Answers
Suggested answer: A

Explanation:

To build a Docker image using the current folder and a specified Dockerfile, and then tag the image with a specific name for the local repository, the following command is used:

docker build: This command builds a Docker image from a Dockerfile.

-t cust321453857-rep: The -t option tags the resulting image with the specified name (cust321453857-rep).

-f Dockerfile: The -f option specifies the Dockerfile to use for building the image.

Command:

docker build -t cust321453857-rep -f Dockerfile .

Docker Build Command: Docker Build


Total 471 questions
Go to page: of 48