Cisco DevNet Associate Questions & Answers Solved 100% Correct!!
"What HTTP method ""Appends data to a specific destination""?" - PATCH (Adding an NTP server) "What HTTP method ""Replaces data at a specific destination""?" - PUT (Updating an NTP server) "What is ""Infrastructure as Code""?" - a new approach to infrastructure automation that focuses on consistent, repeatable steps for provisioning, configuring, and managing infrastructure. "What is a "distributed control plane architecture""?" - This is traditional routing, where all device manage control plane. Are RPCs synchronous or Asynchronous? - RPC calls are typically synchronous, but there are also asynchronous RPC calls, Can you manage NetSim devices by RESTCONF? - "Yes, Cisco NSO exposes a RESTCONF northbound interface for automation. Eg: http://<NSO_Server_IP>:8080/restconf/data/tailf-ncs:devices/device" Cisco NSO splits the conguration into 2 layers joined by mapping , what are they? - "service manager component that provides an interface for the administrator to define the services in the network and a device manager component that handles the device configuration" Does Cisco Network Service Orchestrator just manage cisco kit? - No, multivendor service-layer SDN controller for data center, enterprise, and service provider network Does the managed device need to run anything in particular? - No it is agentless, and connects to managed devices just as a user - in most cases over SSH, but NETCONF and REST API interfaces are also supported.Give some examples of common HTTP response headers? - "Authorization: WWW-Authenticate: Sent by the server if it needs auth (with a 401) Accept-Charset: which character sets are acceptable Content-Type: eg. application/JSON Cache-Control: the cache policy defined by the server How are pyATS Test Suites stored? - Have the ability to build test suites through YAML-based text files. How can data be encoded with RESTCONF? - XML or JSON application/+xml for XML-encoded payloads application/+json for JSON-encoded data How can you check if a device has RESTCONF enabled? - The device should expose a resource called /.well-known/host-meta Can send a GET request to URI:port/.well-known/host-meta How can you check the differences between the index and your last commit? - "git diff --cached You have to have added first" How can you check the DNS IP Address for a TLD? - "nslookup [-option] [name | -] [server] nslookup -type=any " How can you check your commit history? - git log How can you map data on your local machine to a Docker container? - "docker container run -- name test-nginx -p 80:80 -d -v ~/Documents/html:/usr/share/nginx/html nginx the mapping uses the -v or --volume flag when you launch your containerHow can you tell a manifest file? - Manifests are standard text files that contain Puppet DSL code and have the .pp extension. # Configuring the interface using Puppet cisco_interface { "Ethernet1/3" : switchport_mode => enabled, } How can you test for errors? - try-except-else-finally How do import modules from you own file? - from device import Router, Switch How do the Puppet Master and the agents communicate? - over an encrypted SSL connection. How do you activate a venv in Bash? - source myvenv/bin/activate How do you activate a virtualenvironment in Windows? - Scripts1 How do you build a dockerfile? - "in the directory where you created your Dockerfile, command: docker build -t ""appdev:Dockerfile"" ." How do you build your own requirements file? - "pip freeze > or pipenv run pip freeze > " How do you check how many docker containers and images you've got? - docker info How do you check the status of files in Git? - git statusHow do you check which git branch you are in? - "# git branch *master newfeature * symbolises the working branch" How do you convert back to XML? - "with unparse (and use pretty=True to make easier to read). >>> print(se(xml_dict, pretty=True)) <?xml version=""1.0"" encoding=""utf-8""?>" How do you convert from YAML to Python and back? - to convert from YAML objects into Python and to convert back to YAML. How do you create a range of empty files called to ? - $ touch file{1..20}.txt How do you create a Test Fixture with unittest? - You can create functions: def setUp(self) and def tearDown(self) to facilitate How do you create a virtualenv in Bash and Windows? - python3 -m venv myvenv How do you create new branch? - git branch <branchname> [commit] How do you delete a branch? - git branch (-d) <branchname> How do you enable NETCONF on the Cisco CSR1000V? - netconf-yang command in the configuration mode How do you enable RESTCONF on Cisco IOS XE device? - issuing ip http secure-server in configuration mode, and then restconf.
Written for
- Institution
- Cisco DevNet Associate
- Course
- Cisco DevNet Associate
Document information
- Uploaded on
- July 14, 2024
- Number of pages
- 43
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
Document also available in package deal