DEVNET PRACTICE TEST SET 1 QUESTIONS &
ANSWERS
tasks:
-name: Configure Apache Web Server
service: name=apache2 state=started
Examine the above Ansible task.
Which parameter should we add to the service module so that Apache starts on boot?
a. auto=true
b. installed=true
c. enabled=true
d. boot=true - Answer -c. enabled=true
In YDK-Py, the object of which class must be instantiated to create a NETCONF
session for use with CRUD operations on YANG data represented as Python objects?
a. NetconfServiceProvider
b. Manager
c. NetconfSession
d. CRUDService - Answer -a. NetconfServiceProvider
An automation script fails to connect to an internal server exactly 1 out of 2 times it is
executed. This behavior is seen from different clients. Which networking device must be
at fault?
a. load balancer
b. laptop on which the script is running
c. router
d. switch - Answer -a. load balancer
What is the purpose of the Cisco VIRL software tool?.
a. to simulate the model networks
b. to test performance of an application
c. to automate API workflows
d. to verify configurations against compliance standards. - Answer -a. to simulate the
model networks
What should a CI/CD pipeline aim to achieve?
a. to provide a documented process for feedback
b. to require minimal manual interaction
, c. to support new deployments on a fixed monthly schedule
d. to allow manual testing before deployment - Answer -b. to require minimal manual
interaction
On Cisco DevNet, where do you go for step-by-step guides on studying and exploring a
technology, platform, or API?
a. Learning Labs
b. Code Exchange.
c. API Documentation
d. Community forum - Answer -a. Learning Labs
You are using HAProxy to balance traffic between several web servers. It is necessary
that a user connects to the same back-end server during the session duration. What is
the correct configuration option for the "balance" directive?
a. uri
b. leastconn
c. sticky
d. rdp-cookie
e. roundrobin - Answer -d. rdp-cookie
Which statement about the HTTP REST API PUT request method is correct?
a. HTTP PUT updates or modifies an existing resources
b. HTTP PUT resends received requests
c. HTTP PUT retrieves resource headers
d. HTTP PUT retrieves a representation of a resource - Answer -a. HTTP PUT updates
or modifies an existing resources
Which two of the following protocols use encryption? (choose two)
a. HTTPS
b. IMAP
c. SSH
d. TELNET
e. FTP - Answer -a. HTTPS
c. SSH
Which symbols in the unified git diff output denote an original file?
a. -
b. ---
c. +++
d. @@ - Answer -b. ---
ANSWERS
tasks:
-name: Configure Apache Web Server
service: name=apache2 state=started
Examine the above Ansible task.
Which parameter should we add to the service module so that Apache starts on boot?
a. auto=true
b. installed=true
c. enabled=true
d. boot=true - Answer -c. enabled=true
In YDK-Py, the object of which class must be instantiated to create a NETCONF
session for use with CRUD operations on YANG data represented as Python objects?
a. NetconfServiceProvider
b. Manager
c. NetconfSession
d. CRUDService - Answer -a. NetconfServiceProvider
An automation script fails to connect to an internal server exactly 1 out of 2 times it is
executed. This behavior is seen from different clients. Which networking device must be
at fault?
a. load balancer
b. laptop on which the script is running
c. router
d. switch - Answer -a. load balancer
What is the purpose of the Cisco VIRL software tool?.
a. to simulate the model networks
b. to test performance of an application
c. to automate API workflows
d. to verify configurations against compliance standards. - Answer -a. to simulate the
model networks
What should a CI/CD pipeline aim to achieve?
a. to provide a documented process for feedback
b. to require minimal manual interaction
, c. to support new deployments on a fixed monthly schedule
d. to allow manual testing before deployment - Answer -b. to require minimal manual
interaction
On Cisco DevNet, where do you go for step-by-step guides on studying and exploring a
technology, platform, or API?
a. Learning Labs
b. Code Exchange.
c. API Documentation
d. Community forum - Answer -a. Learning Labs
You are using HAProxy to balance traffic between several web servers. It is necessary
that a user connects to the same back-end server during the session duration. What is
the correct configuration option for the "balance" directive?
a. uri
b. leastconn
c. sticky
d. rdp-cookie
e. roundrobin - Answer -d. rdp-cookie
Which statement about the HTTP REST API PUT request method is correct?
a. HTTP PUT updates or modifies an existing resources
b. HTTP PUT resends received requests
c. HTTP PUT retrieves resource headers
d. HTTP PUT retrieves a representation of a resource - Answer -a. HTTP PUT updates
or modifies an existing resources
Which two of the following protocols use encryption? (choose two)
a. HTTPS
b. IMAP
c. SSH
d. TELNET
e. FTP - Answer -a. HTTPS
c. SSH
Which symbols in the unified git diff output denote an original file?
a. -
b. ---
c. +++
d. @@ - Answer -b. ---