wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

IT 26210 PRELIMS

Total questions: 63

Worksheet time: 33mins

Name
Class
Date
1.

Which HTTP response status code indicates that the user is not authenticated to access the site?

a)

201

b)

400

c)

401

d)

403

e)

404

2.

In the REST API request URI example http://example.com/update/person?id=42&email=person%40example.com, which term describes the component example.com ?

a)

query

b)

path

c)

scheme

d)

authority

3.

A developer wants to find the location of the Python 3 executable file. Which command should the developer use?

a)

locate python3

b)

where python3

c)

which python3

d)

find python3

4.

Which type of credential information is used for the bearer authentication in REST APIs?

a)

a username and password set by the client

b)

a password encoded using Base64

c)

an MD5 hash string generated by the client application

d)

a string generated by an authentication server

5.

What is the meaning of the term flow as it relates to the OAuth 2.0 authorization framework?

a)

It is the number of requests contained in the token bucket.

b)

It is a process for an API request to send authentication credentials to a web service.

c)

It is a process for an API user to obtain an access token from the authorization server.

d)

It is the sequence of data exchanged between a REST API request and a response.

6.

A developer issues a Linux command python3 -m venv deveny . What is the developer trying to achieve?

a)

to activate the Python 3 virtual environment named deveny

b)

to enter the Python 3 virtual environment named veny using the devnet tool sets

c)

to install the devnet tool sets in the Python 3 virtual environment named veny

d)

to create a Python 3 virtual environment named deveny

7.

A developer issues the Linux command pip3 freeze in an activated Python 3 virtual environment. What is the function that is provided by the command?

a)

to deactivate the current virtual environment

b)

to prepare the environment before installing a Python package

c)

to output a list of installed Python packages

d)

to lock the current virtual environment

8.

Which SOAP message root element defines the XML document as a SOAP message?

a)

Meta tag

b)

Body

c)

Envelope

d)

Header

9.

What is an application requirement in order to receive a notification from a webhook provider?

a)

The application must provide a syslog service.

b)

The application must always be running to receive HTTP POST requests.

c)

The application must register a unique domain name from a certificate authority.

d)


The application must accept HTTP UPDATE messages from the webhook provider.

10.

What is an architectural constraint to which a true RESTful API web service must adhere?

a)

It operates as a cloud service.

b)

It runs as client/server model.

c)

It must support the XML data format.

d)

It uses HTTPS to transport data.

11.

Which characteristic of the SOAP architecture specifies communication between all similar and dissimilar application types?

a)

independence

b)

interface uniformity

c)

neutrality

d)

extensibility

12.

What is a webhook for REST APIs?

a)

It is an HTTP redirect to forward the API request to another web service.

b)

It is an HTTP PUT message to update information on a website.

c)

It is an HTTP UPDATE message to notify the user that an API request is successfully completed.

d)

It is an HTTP callback to a URL to notify the client application that an event has occurred.

13.

What is a reason that a network engineer would use APIs?

a)

to automate configuration or data collection tasks

b)

to provide a more robust security architecture

c)

to facilitate features across network devices that operate at different layers

d)

to provide upper management with information about network performance

14.

What is a characteristic of a RESTful API?

a)

It is a southbound API.

b)

It uses HTTP methods to gather and manipulate data.

c)

It facilitates the configuration changes from a network controller to end devices.

d)

It supports a secure data transmission between a remote user and an enterprise network.

15.

Which API architectural style uses an XML-based messaging protocol to communicate between applications?

a)

SOAP

b)

REST

c)

NFS

d)

XML-RPC

16.

Which RESTFul operation corresponds to the HTTP GET method?

a)

post

b)

patch

c)

update

d)

read

17.

In which situation would a synchronous API be used?

a)

when a server is not part of the process

b)

when the original API request or data from the request is delayed

c)

when data is being retrieved from a database

d)

when the client is not required to take action

18.

What is an architectural constraint to which a true RESTful API web service must adhere?

a)

It must support XML-RPC and JSON-RPC.

b)

It allows resource caching.

c)

It should be behind a firewall.

d)

It operates as a cloud service.

19.

What is an architectural constraint to which a true RESTful API web service must adhere?

a)

It operates as a cloud service.

b)

It uses HTTPS to transport data.

c)

It must operate along with a DNS server.

d)


It operates in a stateless way.

20.

Which term is used to describe the first line of an XML document?

a)

preamble

b)

opening

c)

prologue

d)

introduction

21.

Which code review method involves the developer going through the code line-by-line with the reviewer, allowing the developer to make changes on the spot?

a)

email pass-around

b)

formal

c)

change-based

d)

over-the-shoulder

22.

What special characters are used to enclose JSON objects?

a)
  • forward slash /

b)
  • curly braces { }

c)
  • square brackets [ ]

d)
  • parenthesis ( )

23.

A client is sending a REST API request to a web server. The request includes the need for data compression. Which three values are acceptable for the Accept-Encoding request header?

a)

*

b)

br

c)

gzip

d)

tar

e)

zip

24.

What are the three states of a Git file? (Choose three.)


a)
  • secured

b)
  • staged

c)
  • committed

d)
  • locked

e)
  • modified

25.

What is the role of the controller component in the Model-View-Controller (MVC) flow?

a)

It accepts selected data and displays it to the user.

b)

It provides visual representations and presentations of the data.

c)

It takes user input and manipulates it to the proper format for the model.

d)

It takes in user input and manipulates it to fit the format for the model or view.

26.

What is the role of the view component in the Model-View-Controller (MVC) flow?

a)

It accepts selected data and displays the visual representation to the user.

b)

It accepts the input and applies the required rules to format the data.

c)

It requests user input and manipulates it to fit the format for the model.

d)

It manages the data, logic and rules of the application.

27.

What is REST?

a)

It is a way to store and interchange data in a structured format.

b)

It is an architecture style for designing web service applications.

c)

It is a human readable data structure that is used by applications for storing, transforming, and reading data.

d)

It is a protocol that allows administrators to manage nodes on an IP network.

28.

Which DevNet resource would a developer use if the developer is using a Cisco API and needs help understanding the error message received?

a)

DevNet Support

b)

DevNet Learning Labs

c)

Code Exchange

d)

DevNet Sandbox

29.

A user issues a series of Linux commands as shown.
(omitted)$ pwd /home/devasc/labs/ansible/backups (omitted)$ cd ../..
Which directory is the current directory after the cd command is entered?

a)

/home

b)

/home/devasc/

c)

/home/devasc/labs

d)

/home/devasc/labs/ansible

30.

A student new to Python is working in the interactive interpreter mode. The student issues the commands:

>>> devicenames=["RT1", "RT2", "SW1", "SW2"]
>>> hostnames=devicenames + ["RT3", "SW3"]
>>> del hostnames[3]
>>> hostnames

What is the result?

a)

['RT1', 'RT2', 'SW1', 'RT3', 'SW3']

b)


['RT1', 'RT2', 'SW1', 'SW2', 'SW3']

c)

['RT1', 'RT2', 'RT3', 'SW2', 'SW3']

d)

['RT1', 'RT2', 'SW2', 'RT3', 'SW3']

31.

Which DevNet resource would a developer use if the developer is using a Cisco API and needs help understanding the error message received?

a)

DevNet Sandbox

b)

DevNet Learning Labs

c)

Code Exchange

d)

DevNet Support

32.

What is Cisco DevNet?

a)

a vendor-neutral type of virtual networking

b)

a way to create networks using software alone

c)

a Cisco-proprietary virtual network

d)


a developer program

33.

A Linux administrator is attempting to use a terminal to configure the network interface card on a computer. The administrator receives a message that the administrator does not have necessary permissions to perform the configuration. What should be done prior to the configuration command?

a)

use a different user account

b)

use the sudo command

c)


change the chmod permissions on the network configuration file

d)

identify a different network interface

34.

What are two benefits of using APIs and integrations between applications? (Choose two.)

a)

Integrations are used to provide applications the ability to notify each other when a specific event happens.

b)

Integrations enable the applications to request actions from each other.

c)

Integrations enable the applications to be installed on any operating system type.

d)

Integrations are used to verify compatibility between different applications.

e)

Integrations enable the applications to run a Docker instance using Hyper-V.

35.

What are two features of the formal code review?

a)

It promotes discussion among all of the reviewers.

b)

It allows the developer to make changes on the spot.

c)

It involves a review of the entire code base in a series of meetings.

d)

For a quicker turnaround, it involves only one reviewer.

e)

It involves the developer going through code with the reviewer line-by-line.

36.

A student is learning Python using the interactive interpreter mode. The student issues the commands:
>>> routers=[ ]
>>> switches=[ ]
>>> devices=[\"RT1\", \"RT2\", \"RT3\", SW1\", \"SW2\", \"SW3\"]
>>> devices=devices + [\"RT4\", \"SW4\"]
>>> for i in devices:
if \"R\" in i: routers.append(i)
else: switches.append(i)
>>> switches

What is the result?

a)

['SW4', 'SW1', 'SW2', 'SW3']

b)

['SW1', 'SW2', 'SW3']

c)

['SW4', 'SW3', 'SW2', 'SW1']

d)

['SW1', 'SW2', 'SW3', 'SW4']

37.

What is required in order to ensure that clients are able to talk to applications that are outside a local system?

a)

a script

b)

an application

c)

a network

d)

an API

38.

A user issues the apt-get upgrade command to update system files in a Ubuntu Linux system and receives an error message of "permission denied." What should the user do to complete the task?

a)

Issue the allow apt-get upgrade command.

b)

Issue the sudo apt-get upgrade command.

c)

Issue the apt-get install --allow command.

d)

Issue the sudo apt-get install command.

39.

What is the purpose of the Cisco DevNet Learning Labs?

a)

They allow participants to add their own Python labs.

b)

They provide a space for game development, interaction, and learning based on coding.

c)

They allow participants to add their own labs as long as the labs relate to any type of coding.

d)

They provide self-paced tutorials including coding.

40.

What is contained within a DevNet Sandbox?

a)

instructor-led videos focusing on hands-on exercises

b)

a collection of Cisco developer API documentation

c)

a collection of self-paced tutorials using REST APIs

d)

a preconfigured environment already installed with Cisco platforms

41.

What is the contracted response time after a developer opens a case-based ticket with the DevNet support service?

a)

one hour

b)

five business days

c)

one week

d)

one business day

42.

What are two requirements when participating in the DevNet Learning Labs? (Choose two.)

a)

The user must successfully log in with a DevNet account.

b)

The user must have an active internet connection.

c)

The user must have purchased the DevNet Learning Labs activation license.

d)

The user must have successfully passed the 200-901 DEVASC exam

e)

The user must install a developer environment on a local computer

43.

A student new to Python is working in the interactive interpreter mode. The student issues the command:

>>> ipAddress = {"R1":"10.1.1.1","R2":"10.2.2.1","R3":"10.3.3.1"}

Which Python expression can be used to retrieve the IP address of R2?

a)


ipAddress{'R2'}

b)


ipAddress[R2]

c)


ipAddress{"R2"}

d)

ipAddress['R2']

44.

A system administrator attempts to determine what is causing a computer to perform slower than normal. The administrator issues the ps command. What is displayed by this command?

a)

current SSD usage

b)

current HDD usage

c)


current RAM usage

d)

active processes using CPU time

45.

What is a requirement when creating a Cisco DevNet account for accessing educational resources, such as Learning Labs and the DevNet Sandbox?

a)

The account must contain a purchased license.

b)

The account must be created using an existing online identity or via a new Cisco account.

c)

The account must be registered using a Cisco email address.

d)

The account holder must share personally created code before access is allowed.

46.

What resources are available in the Cisco DevNet Code Exchange?

a)


a repository of sample code written by other developers

b)

self-paced tutorials that cover a wide range of automation and integration topics

c)

production-like development and code testing environments

d)

support for developer-related issues using forums and live chats

47.

What is displayed after the following code is entered into a Python interpreter?

addition = 22 +10
print(addition)

a)

(syntaxerror)-...as there should not be a space between the numerical values

b)

nothing ( because the print command is wrong)

c)

32

d)

[22]+[10]

48.

What command is used to rename a file in a Linux system?

a)

r m

b)

mv

c)

dd

d)

cp

49.

Which Cisco DevNet online resource provides use cases for network automation, including listing data and activating policies across domains?

a)

Code Exchange

b)

DevNet Learning Labs

c)

Automation Exchange

d)


DevNet Sandbox

50.

A Linux system administrator is searching the passwd file for any username that starts with a digit. Which grep command should the administrator use?

a)


grep '^[0-9]' /etc/passwd

b)

grep '[0-9]' /etc/passwd

c)

grep '{0-9}' /etc/passwd

d)

grep '_[0-9]' /etc/passwd

51.

What is network programmability?

a)

the ability to configure, monitor, and react to events in the network in real time

b)


the ability to configure virtualized networks and deploy virtualized services in real time

c)

the ability to program network devices using repetitive manual configuration via a terminal and command sets

d)

the ability to easily monitor network devices using traditional network protocols

52.

Which Python command creates a conditional control structure?

a)

def

b)

from

c)

if

d)

delay

53.

What resources are available in the Cisco DevNet sandboxes?

a)


support for developer-related issues through the use of forums and live chats

b)

self-paced tutorials that cover a wide range of automation and integration topics

c)

a repository of sample code written by developers

d)

production-like development and code testing environments

54.

Which DevNet event is provided by Cisco partners and Cisco offices?

a)

DevNet Express

b)

DevNet Codearama

c)

DevNet Hackathon

d)

DevNet Learn In

55.

What is the output when the following code is entered into a Python program interpreter?

[1,2,4,5] + [3,6]

a)

[21]

b)

[1,2,3,4,5,6]

c)

[12]+[9]

d)


[1,2,4,5,3,6]

56.

What type of learner should take the DevNet Associate course?

a)

anyone interested in network automation and programmability

b)

only new software developers

c)

only new network engineers

d)

anyone that does not like working in teams and is a software developer

57.

Which link is used from the Cisco DevNet Learning Labs to access the largest collections of labs?

a)

Sections

b)

Modules

c)

Bookends

d)

Tracks

58.

A student is learning Python and is reviewing a Python script as follows:

aclNum = int(input("What is the IPv4 ACL number? "))
if aclNum >= 1 and aclNum <= 99:
print("This is a standard IPv4 ACL.")
elif aclNum >=100 and aclNum <= 199:
print("This is an extended IPv4 ACL.")
else:
print("This is not a standard or extended IPv4 ACL.")

Under which condition will the elif  statement be evaluated?

a)

when the input is a string

b)

when the first print statement fails

c)

when the if statement is false

d)

when the input is a float number

59.

Which Cisco DevNet developer support option provides 1-on-1 support to the members of the Solution Partner program?

a)

case-based ticket

b)

knowledge base

c)

chat with DevNet

d)

community forum

60.

How many elements does a SOAP message contain?

a)

3

b)

5

c)

2

d)

4

61.

Which SDLC development methodology employs many quick iterations known as sprints?

a)

Lean

b)


Agile

c)


Extreme Programming

d)


Waterfall

62.

Which SDLC phase concludes with functional code that satisfies customer requirements and is ready to be tested?

a)

deployment

b)

maintenance

c)

testing

d)

implementation

63.

Which statement describes the Waterfall methodology of software development?

a)

Multiple steps in the process are started simultaneously.

b)

Each step in the process must be completed before the next step starts.

c)

Process tasks are broken up into time-boxed iterations called sprints.

d)

It emphasizes elimination of wasted effort and maximizes customer value.