DevNet Associate (Version 1.0) – DevNet Associate (200-901) Certification Practice Exam
1. A user is developing an application to remotely manage a network device through the API. The features of the API should support the client-server model, JSON or XML data format, and stateless operation. What is an API architecture style that the developer could use?
2. A user sends a request to add a loopback interface on a Cisco router through the REST API. Which response status code will the user expect to receive that indicates the request is fulfilled?
3. Refer to the exhibit. Match the items needed in the Python script. (Not all options are used.)
4. Refer to the exhibit. A student is learning Python in the interpret mode. The student enters Python statements and after a while, an error message returns. What is a possible cause for the error?
- The student did not provide the authentication credentials.
- The host domain name cannot be resolved.
- The parameter of “verify = False” should be replaced with “verify = True”.
- The resource on the host is not available.
5. Refer to the exhibit. A developer is constructing a Python script to check the link with a host at http://www.somehost.com/. Which function is performed by the script?
- to obtain an API key to access the host
- to obtain a token for the bearer authentication
- to verify the private API key that is used to access the host
- to verify the basic authentication credentials with the host
6. Which situation illustrates the use of a webhook application?
- A user sends a REST API call to a webhook server to poll a predefined data set.
- Triggered by the operation of a user, a mobile application sends a REST API request to get information from a webhook server.
- A network automation application queries a router to get CPU and memory usage over a period of time.
- A developer subscribes to a webhook server for an application so that the application will receive a notification when an event occurs.
7. Refer to the exhibit. A student is learning Python in the interpret mode. The student enters Python statements and an error message returns. What causes the error?
- The host domain name cannot be resolved.
- The parameter of “verify = True” is missing in the requests.get() method.
- The certificate cannot be verified with a CA.
- The resource on the host is not available.
8. Match the principles in the uniform interface constraint of the REST to the description. (Not all options are used.)
9. Refer to the exhibit. Which portion of the RESTful request specifies the API that is being requested.
10. A user is testing an application by sending requests to gather information from a network device through a REST API. The user reviews the API responses and notices an HTTP header string of “Cache-Control: max-age=3600, public”. Which two statements describe the HTTP directive? (Choose two.)
- The response can be saved in cache and the cached content is open to public access.
- The client web browser can save the response in the cache and it will expire in an hour.
- Only responses to requests with the HTTP protocol can be cached.
- The response may be stored by any cache, even if the response is normally noncacheable.
- The response can be saved in cache and the information must be refreshed after 60 minutes
11. Refer to the exhibit. Which parameter is needed in the Python code (in place of the question mark) to test for an invalid URI condition?
12. Refer to the exhibit. A student is learning the REST API call to a local host. Match the items needed in the curl command. (Not all options are used.)
13. A network engineer has been asked to automate some of the network management and configuration management. The engineer is going to use NETCONF. Why should the engineer consider also using YANG as part of this project?
- YANG is a documented set of URIs that could be used as part of the deployment.
- YANG is a set of software development tools that is integrated with vendor-specific configuration libraries.
- YANG provides a hierarchy of data that can be used for device configuration and operational status retrieval.
- YANG is used to provide the transport to and from a network device such as a Cisco switch.
14. Match the Cisco NSO component to the description.
- Service Manager: maintains device dependencies and provideds a service self start for triggering diagnostic tests
- Device Manager: deploys configuration changes to multiple devices through the use of distributed transactions
- Configuration Database: provides an internal API for locating network element configurations and automatic support for upgrade and downgrade of configuration data
15. Refer to the exhibit. A user is working on Ansible on the local NMS to manage remote network devices. The user issues the ansible webservers -m ping command to test the communication. However, an error message returns. What are two possible causes for the error? (Choose two.)
- The SSH credential is wrong.
- The destination host IP address is wrong.
- The switch -m should be -M
- The SSH client is not installed.
- The destination host alias is wrong.
- The SSH service does not start on the host.
16. The development team in the IT department has decided to implement CI/CD. What are three characteristics of this strategy? (Choose three.)
- Strategies are used to limit the impact of a possible bad build to users.
- CI/CD places a higher priority on satisfying the customer needs than does the development plan.
- The integration and development process goes in one direction and can never go backwards.
- It is modeled after the software development life cycle and is a more traditional implementation method.
- The development process attempts to eliminate the problem of application merge conflicts.
- Automation is part of the creation, verification, and deployment of software.
17. What are two features of the formal code review? (Choose two.)
- For a quicker turnaround, it involves only one reviewer
- It involves the developer going through code with the reviewer line-by-line.
- It promotes discussion among all of the reviewers.
- It allows the developer to make changes on the spot.
- It involves a review of the entire code base in a series of meetings.
18. What are two benefits of model-driven programmability in infrastructure automation? (Choose two.)
- uses human-readable configuration language
- leverages open-source technology
- leverages code that is coupled with transport, protocol, and encoding
- relies on the use of device-specific scripts
- uses device-specific CLIs
19. Match the component of Chef to the description.
20. A credit union has been growing very rapidly in the past 3 years and the IT department has been struggling to keep up. The department has always been criticized for the time it takes to program and implement change requests. The new CIO has decided to implement CI/CD. What are three benefits of this strategy? (Choose three.)
- integrates well with Agile software development methods
- delivers a lot of code in a small amount of time
- improves quality
- is less disruptive to future releases
- is easier to market
- requires the use of multiple communication tools, thus improving development
21. Refer to the exhibit. A user is working on Ansible on the local NMS to manage remote network devices. Which file is the user creating?
22. What two components form the Python-based network device test and validation solution of pyATS?
- Python and VIRL
- Python and Genie
- Python and Puppet
- Python and Ansible
23. What is immutable infrastructure in DevOps?
- infrastructure that is deployed with all component versions locked except for the ability to perform manual configuration changes
- infrastructure that is only deployed and maintained in containers
- infrastructure that is entirely maintained and deployed in code and never subjected to manual changes
- virtualized infrastructure that is deployed as golden images
24. Match the OWASP threat to the description.
25. Which security device is used to make requests from multiple computers look like they all come from the same client?
- stateful firewall
- forward proxy
- reverse proxy
- jump box
26. Which term is used to describe an automated process of testing and deploying code?
27. What is a benefit of using a bare metal deployment solution?
- increased processor and memory resource flexibility
- direct access to hardware resources for increased efficiency
- enhanced security
- addition of an extra layer of abstraction
28. Refer to the exhibit. Which network service is being tested?
29. What are two benefits of using bare metal software deployment for a large enterprise deploying virtualized servers? (Choose two.)
- enhanced resource flexibility
- allocation of separate hardware resources to each application
- direct access to specialized hardware resources
- increased application performance
- isolation of application workloads
30. Match the CI/CD software development philosophy with a description.
31. An engineer is implementing an edge computing solution where a number of sensors are streaming a large amount data. Where should the computing capability be placed?
- as close to the WAN edge as possible
- as close to the internet as possible
- as close to the network edge as possible
- as close to the sources of data possible
32. What type of attack is being attempted if code similar to this is entered in the login field on a web site?
SELECT REPLACE (User_Name, ‘administrator’, ‘hacker’) Userlist FROM Credentials;
- zero day
- brute force
- SQL injection
33. A student is learning network automation using the DevNet site. Which DevNet resource allows users to search and share their programming skills and experiences?
- Code Exchange
- Learning Labs
- Automation Exchange
34. Match the Meraki APIs for integration to the description. (Not all options are used.)
35. Match the node type in YANG to the description. (Not all options are used.)
36. A network administrator is evaluating Cisco UCS Manager products to deploy centralized management for the data center. The data center has about 500 physical servers. Which product should the administrator choose?
- UCS Central (UCSC)
- Unified Communications Manager (CUCM)
- UCS Manager (UCSM)
- Integrated Management Controller (CIMC)
37. Refer to the exhibit. Match the Python coding components to the location. (Not all options are used.)
38. Match Cisco Advanced Malware Protection (AMP) solution components and product integration options to the description. (Not all options are used.)
39. Which two statements describe the characteristics of the model-driven programmability implemented on Cisco IOS XE? (Choose two.)
- The configuration command ip http secure-server is required to enable RESTCONF over port 443.
- Both NETCONF and RESTCONF support running and candidate data stores.
- RESTCONF is enabled by the configuration command restconf enable .
- NETCONF connections should be authenticated using AAA credentials.
- NETCONF connections require that a VPN link be established first.
40. Which REST API supported by Cisco Unified Communications Manager is designed to enable end users to update and configure personal settings.?
- UDS API
- UC Manager Serviceability API
- Telephony API
- AXL API
41. Match the principle to the software development method. (Not all options are used.)
42. Match the method of organizing code with the description.
43. What is the outcome of performing a Git merge between two branches?
- The changes/commits located within both the source branch and target branch are modified to cause the branches to converge.
- The changes/commits located within the source branch are modified to mirror the changes/commits stored within the target branch.
- The changes/commits located within the target branch are modified to mirror the changes/commits stored within the source branch.
- The changes/commits of files within the target branch are analyzed against the changes/commits located within the source branch using a generic comparison tool.
44. What is a philosophy associated with the test-driven development process?
- More than enough code is written to support the application.
- Failures are expected to occur in order to limit the application code to only what is needed to pass the test.
- Application code is developed at a slower pace to allow for repetitive testing.
- Application code should be written before validating system design and tested for functionality as needed.
45. What are two benefits of using a distributed version control system compared to other version control systems? (Choose two.)
- A corrupt repository can be restored from any client system.
- Every user has the ability to work on any file at any time.
- An offline user is not required to make a copy of an important file before editing it further.
- A simple database is used to store the delta between the versions of a single file.
- A single user can lock a file to prevent other users from modifying it until the single user is done editing it.
46. Match the symbols in a .diff file to the appropriate meaning.
47. Match each stage of the Git distributed version control system with the decription.
48. Which two components of XML code are contained within the XML prologue? (Choose two.)
- the character encoding
- the XML namespaces
- the tag name xml
- the URNs
- the instance objects
49. What process would need to be taken to extract information from XML and convert it into a form that Python could access conveniently?
50. What is the purpose of the subnet mask in conjunction with an IP address?
- to determine the subnet to which the host belongs
- to identify whether the address is public or private
- to uniquely identify a host on a network
- to mask the IP address to outsiders
51. A network app developer has configured an app to use a particular DNS server in order to test the application against a test database. The developer suspects a DNS issue. Which command could be used to verify a particular domain name?
- sudo puppet agent -t
- ssh -p 53
52. A developer is using Cisco AnyConnect to connect through a VPN to the DevNet Sandbox. Which AnyConnect preference would cause the connection to fail?
- Certificate Store Override
- Use Start Before Login
- Local Lan Access
- Block Untrusted Connections
53. Refer to the exhibit. A company uses three servers to support a new network app. The network administrator is looking to include a load balancer as part of the network design to improve the performance of the application response. Where should the load balancer be installed?
- attached to the same switch as the servers
- between the host and the cloud
- between the servers and storage
- within the cloud
54. What are two reasons a VLAN would be used on a Layer 2 switch? (Choose two.)
- to create separate broadcast domains on a switch
- to filter network traffic based on protocol port numbers
- to allow a router to broadcast traffic between two networks
- to allow multiple networks to be created at Layer 2
- to allow traffic to be sent between two networks
55. . Match the default port number to the network protocol. (Not all options are used.)
56. What are two symptoms that DNS is an issue when developing and testing network scripts? (Choose two.)
- no connection between the app and a remote server
- 403 error code
- authentication failure
- 1XX status code
- host IP address showing 169.x.x.x
57. What are two functions of MAC addresses in a LAN? (Choose two.)
- to indicate the best path between separate networks
- to uniquely identify a node on a network
- to allow the transfer of frames from source to destination
- to associate with a specific network IP address
58. Which two port numbers are commonly used for Telnet? (Choose two.)
59. What are three characteristics of containers on a host server? (Choose three.)
- They are isolated from each other.
- They virtualize a physical server.
- They all share the same OS.
- They leverage the kernel of the host OS for a quick start.
- They are resource intensive and require several minutes to start.
- They include a guest OS.
60. What are two characteristics of containers that are running on the same host server? (Choose two.)
- They all share the same host operating system.
- They are isolated from each other.
- They each include a guest operating system.
- They each virtualize a different physical server.
- They are resource intensive and require several minutes to start.
61. What is a benefit to an organization of implementing edge computing?
- provides low latency and increased bandwidth for remote IoT devices
- minimizes high levels of data transfer across the network
- allows all compute resources to be centralized in the data center
- consolidates compute resources into a single cloud
62. What is Bash?
- a web application framework written in Python
- a code injection technique used to attack data-driven applications
- a Linux script engine that allows commands to be entered on the command line
- a philosophy for software deployment that figures prominently in the field of DevOps
63. In which situation would a router be used?
- when performing a formal code review
- when testing an app on a cloud-based server
- when developing an app on a private server located on the same network as the development team
- when authenticating to a REST API service on the local host
64. Which two statements accurately describe an advantage or a disadvantage when deploying NAT for IPv4 in a network? (Choose two.)
- NAT adds authentication capability to IPv4.
- NAT causes routing tables to include more information.
- NAT introduces problems for some applications that require end-to-end connectivity.
- NAT improves packet handling.
- NAT will impact negatively on switch performance.
- NAT provides a solution to slow down the IPv4 address depletion.
65. A user makes some REST API calls to a server and the responses from the server include third-party executable code. The user notices that the responses do not work. Which network device may prevent the third-party code from execution?
- proxy server
- reverse proxy server
- Layer 3 switch
66. What is one function of a Layer 2 switch?
- duplicates the electrical signal of each frame to every port
- determines which interface is used to forward a frame based on the destination MAC address
- learns the port assigned to a host by examining the destination MAC address
- forwards data based on logical addressing
67. A user is testing an application by sending requests to gather information from a network device through a REST API. The user expects a very large amount of data to be returned. The user requests that the network device sends the data back with the compression algorithm of gzip. What response header string would indicate that the return data is compressed as requested?
- Accept-Encoding: compress
- Accept-Encoding: gzip
- Content-Encoding: compress; gzip
- Content-Encoding: gzip
68. Which type of threat defense is provided by Cisco Umbrella?
- monitoring and analyzing network traffic for potential network intrusion attacks
- identifying and blocking zero-day threats that manage to infiltrate the network
- blocking requests to malicious Internet destinations
- blocking hidden malware from both suspicious and legitimate websites
69. How does Cisco VIRL benefit the testing and development of code and automation?
- Cisco VIRL can duplicate network simulations using a .virl file, which is a JSON file.
- Cisco VIRL can duplicate the performance of SDN software components in optimal production conditions.
- Cisco VIRL can duplicate the same code that runs inside actual Cisco products.
- Cisco VIRL can duplicate the performance of elite hardware components in optimal production conditions.
70. What CI/CD software development philosophy ensures code is always in a deployable state through the implementation of short development sprints.
- continuous implementation
- continuous deployment
- continuous integration
- continuous delivery