click below
click below
Normal Size Small Size show me how
DevNet Finals
IT0123
| Question | Answer |
|---|---|
| >>> 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 | [‘SW1’, ‘SW2’, ‘SW3’, ‘SW4’] |
| A system administrator issues the apt-get upgrade command on a Linux operating system. What is the purpose of this command? | Every application installed will update itself to the latest version. |
| A Linux system administrator is searching the passwd file for any username that starts with a digit. Which grep command should the administrator use? | grep ‘^[0-9]’ /etc/passwd |
| A developer needs to check the version of the running Python package. Which command should the developer use? | python3 -V |
| 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? | active processes using CPU time |
| A student new to Python is working in the interactive interpreter mode. The student issues the commands: >>> ipAddress = {"R1":"10.1.1.1","R2":"10.2.2.1","R3":"10.3.3.1"} | dictionary |
| . What is the output when the following code is entered into a Python program interpreter? [1,2,4,5] + [3,6] | [1,2,4,5,3,6] |
| Which Python command creates a conditional control structure? | if |
| A system administrator of a Linux server is searching the passwd file for the username taylor that appears at the beginning of the line. Which grep command should the administrator use? | grep ‘^taylor’ /etc/passwd |
| devasc@labvm:~/Documents$ ls -l myfile.sh -rwxr-xr-- 1 self test 15 Mar 30 21:24 myfile.sh Which two statements describe the permissions assigned to the file? (Choose two.) | Any user in the test group can execute the file. The user with the user ID of self can modify the file |
| 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? | [‘RT1’, ‘RT2’, ‘SW1’, ‘RT3’, ‘SW3’] |
| A user enters the commands as shown. What is the result after the mv command is entered? devasc@labvm:~/Documents$ pwd /home/devasc/Documents devasc@labvm:~/Documents$ mv myfile.sh ../Desktop/myfile2.sh | The file myfile.sh is moved to the /home/devasc/Desktop directory and renamed as myfile2.sh. |
| 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? | /home/devasc/labs |
| 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.") | when the if statement is false |
| Linux administrator is attempting to use terminal to configure the network interface card on a computer. Administrator receives message that the administrator doesn't have necessary permissions to perform the configuration. What should be done? | use the sudo command |
| A network engineer needs to review the status of all network interfaces of a server running a Linux operating system. The engineer enters the command ifconfig -a. What is the resuit of this command? | Both active and inactive interfaces will display information. |
| 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? | Issue the sudo apt-get upgrade command. |
| What is displayed after the following code is entered into a Python interpreter? addition = 22 +10 print(addition) | 32 |
| What Linux command is used to display the contents of the current directory? | ls |
| 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? | ipAddress[‘R2’] |
| Which Python programming function is used to display output? | |
| A student is learning Python in the interactive interpreter mode. The student issues the commands: >>> y=2 >>> y*3 6 >>> 'Test'*y What is the result? | ‘TestTest’ |
| A student is learning Python in the interactive interpreter mode. The student issues the commands: >>> devicenames=[\"RT1\", \"RT2\", \"SW1\", \"SW2\"] >>> devicenames[-1] What is the result? | SW2 |
| A student is learning Python in the interactive interpreter mode. The student issues the command: >>> type(True) What is the data type reported by Python? | Boolean |
| What command is used to rename a file in a Linux system? | mv |
| total 40 drwxr-xr-x 2 devasc devasc 4096 Apr 15 19:09 Videos drwxr-xr-x 2 devasc devasc 4096 Apr 15 19:09 Templates drwxr-xr-x 5 devasc devasc 4096 Mar 30 21:24 snap drwxr-xr-x 2 devasc devasc 4096 Apr 15 19:09 Public | ls-lr |
| total 40 drwxr-xr-x 2 devasc devasc 4096 Mar 30 21:25 Desktop drwxr-xr-x 2 devasc devasc 4096 Apr 15 19:09 Documents drwxr-xr-x 2 devasc devasc 4096 Apr 15 19:09 Downloads drwxr-xr-x 5 devasc devasc 4096 Mar 30 21:21 labs | ls-l |
| Which two DevNet resources are available online? (Choose two.) | Automation Exchange Code Exchange |
| Which link is used from the Cisco DevNet Learning Labs to access the largest collections of labs? | Tracks |
| Which technology trend enables an industry shift towards automation, applications, and integrations? | advanced API capabilities |
| What are two requirements when participating in the DevNet Learning Labs? (Choose two.) | The user must have an active internet connection. The user must successfully log in with a DevNet account. |
| What is network programmability? | the ability to configure, monitor, and react to events in the network in real time |
| Which DevNet event is provided by Cisco partners and Cisco offices? | DevNet Express |
| What is the purpose of Cisco DevNet? | to teach everyone about the different Cisco API offerings and how to use them |
| What is the contracted response time after a developer opens a case-based ticket with the DevNet support service? | one business day |
| Which website provides the entry point for Cisco DevNet? | developer.cisco.com |
| What is Cisco DevNet? | a developer program |
| Which Cisco DevNet online resource provides use cases for network automation, including listing data and activating policies across domains? | Automation Exchange |
| What is the purpose of the Cisco DevNet Learning Labs? | They provide self-paced tutorials including coding. |
| What is a requirement when creating a Cisco DevNet account for accessing educational resources, such as Learning Labs and the DevNet Sandbox? | The account must be created using an existing online identity or via a new Cisco account. |
| What is contained within a DevNet Sandbox? | a preconfigured environment already installed with Cisco platforms |
| What type of learner should take the DevNet Associate course? | anyone interested in network automation and programmability |
| What resources are available in the Cisco DevNet Code Exchange? | a repository of sample code written by other developers |
| Which DevNet resource would a developer use if the developer is using a Cisco API and needs help understanding the error message received? | DevNet Support |
| What are three major areas that comprise DevNet? (Choose three.) | coordinated developer tools interactive and collaborative developer community integrated community forums |
| What resources are available in the Cisco DevNet sandboxes? | production-like development and code testing environments |
| What is required in order to ensure that clients are able to talk to applications that are outside a local system? | a network |
| Which Cisco DevNet developer support option provides 1-on-1 support to the members of the Solution Partner program? | case-based ticket |
| What are two benefits of using APIs and integrations between applications? (Choose two.) | Integrations enable the applications to request actions trom each other Integrations are used to provide applications the ablity to notity each other when a specific event happens. |
| A developer issues a Linux command python3 -m venv devenv . What is the developer trying to achieve? | to create a Python 3 virtual environment named devenv |
| Which term is used to describe the first line of an XML document? | prologue |
| What characteristic describes a formal code review? | The entire code base is reviewed in a series of meetings. |
| A developer is constructing some functions in Python. When is a function referred to as a module in Python? | when the function is packaged in a single Python file |
| Which statement describes the Waterfall methodology of software development? | Each step in the process must be completed before the next step starts |
| When a unified .diff file is being reviewed, which symbol is used to indicate that a line has been added? | + |
| What is clean code? | code that is easy to read and understand |
| What special characters are used to enclose JSON objects? | curly braces {} |
| Which fundamental Lean principle forms the basis from which all other Lean principles flow? | eliminate waste |
| A developer wants to find the location of the Python 3 executable file. Which command should the developer use? | which python3 |
| How does an application use a module in Python? | through the import statement |
| A student is learning Python using the interactive interpreter mode. The student issues these commands: >>> class Uri(): ... def_init__(self, host, prot): ... self.host = host ... self.prot = prot ... self.url = self.prot + "://" + self.host >>> | >>> url2 = Url(‘www.cisco.com’,’http’) |
| Match the Lean term with a description. story Scrum team sprint backlog | story – a simple statement of what a user needs and why Scrum team – uses standup meetings to review progress sprint –a time-boxed period where working software is developed backlog –prioritized list of all the features for the software being developed |
| 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? | over-the-shoulder |
| Which SDLC development methodology employs many quick iterations known as sprints? | Agile |
| What are the three states of a Git file? (Choose three.) | stage, committed, modified |
| Which SDLC phase concludes with functional code that satisfies customer requirements and is ready to be tested? | implementation |
| What is the role of the controller component in the Model-View-Controller (MVC) flow? | It takes user input and manipulates it to the proper format for the model. |
| Which two programming components are defined as blocks of code that perform tasks when executed? (Choose two.) | functions and methods |
| 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? | to output a list of installed Python packages |
| Match the Git command with its function. git pull git init git push | git pull: updates local copy of Git repository git init: creates empty Git repository git push: updates remote Git repository |
| What is the role of the view component in the Model-View-Controller (MVC) flow? | It accepts selected data and displays the visual representation to the user. |
| Which software development methodology prescribes that developers follow a strict process order by completing one step in the SDLC process before proceeding to the next step. | Waterfall |
| What is an architectural constraint to which a true RESTful API web service must adhere? | it operates in a stateless way |
| . 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? (Choose three.) | * br gzip |
| What is the meaning of the term flow as it relates to the OAuth 2.0 authorization framework? | It is a process for an API user to obtain an access token from the authorization server. |
| What is a characteristic of a RESTful API? | It uses HTTP methods to gather and manipulate data |
| Which characteristic of the SOAP architecture specifies communication between all similar and dissimilar application types? | independence |
| In the REST API request URI example , which term describes the component example.com ? | authority |
| Which SOAP message root element defines the XML document as a SOAP message? | envelope |
| Which type of credential information is used for the bearer authentication in REST APIs? | a string generated by an authetication server |
| What are two purposes for using rate limits on public and unrestricted APIs? (Choose two.) | to avoid a server overloading from too many requests at the same time to provide better service and response time to all users |
| . Which HTTP response status code indicates that the user is not authenticated to access the site? | 401 |
| Which API architectural style uses an XML-based messaging protocol to communicate between applications? | SOAP |
| A network engineer is learning about Rest APIs. When executing a particular API, the server responds with curl. How is this information useful? | Curl shows how to access the content displayed in the response body using curl. |
| In which situation would a synchronous API be used? | When data is being retrieved from a database |
| . What command can a technician use on a computer to see if DNS is functioning properly? | nslookup |
| Which two OSI model layers have the same functionality as two layers of the TCP/IP model? (Choose two.) | network transport |
| What is one advantage of using the cut-through switching method instead of the store-and-forward switching method? | has a lower latency appropriate for high-performance computing applications |
| Which solution improves web response time by deploying multiple web servers and DNS servers? | load balancing |
| What will a host on an Ethernet network do if it receives a frame with a unicast destination MAC address that does not match its own MAC address? | it will discard the frame |
| What is the common term given to SNMP log messages that are generated by network devices and sent to the SNMP server? | traps |
| What is the function of the Nslookup utility? | to manually query the name servers to resolve a given host name |
| What type of address is 01-00-5E-0A-00-02? | an address that reaches a specific group of hosts |
| Consider the following routing table entry for R1: D 10.1.1.0/24 [90/2170112] via 209.165.200.226, 00:00:05, Serial0/0/0 What is the significance of the Serial0/0/0? | It is the interface on R1 used to send data that is destined for 10.1.1.0/24. |
| A device has an IPV6 address listed as 2001:0DB8:75a3:0214:0607:1234:aa10:ba01. What is the interface ID of the device? | 0607:1234:aa10:ba01 |
| In what two situations would UDP be the preferred transport protocol over TCP? (Choose two.) | when a faster delivery mechanism is needed when applications do not need to guarantee delivery of the data |
| What IPv4-related DNS record type is used by a DNS server in response to a host requesting for a web server address via the URL? | A record |
| In what two situations would UDP be better than TCP as the preferred transport protocol? (Choose two.) | when a faster delivery mechanism is needed when applications do not need to guarantee delivery of the data |
| What is used to isolate the different parts of a running container? | namespaces |
| Which technology is used to containerize applications and allows them to run in a variety of environments? | Docker |
| Which statement is a characteristic of the broken access control threat to web applications? | It allows users to circumvent existing authentication requirements. |
| What is a philosophy for software deployment used in the field of DevOps? | CI/CD |
| Which characters are used to separate batched SQL statements? | ; |
| In software development, what is the purpose of a jump box? | to act as a single trusted machine used to launch connections to sensitive systems |
| What is a characteristic of the blue-green upgrade deployment strategy? | A new environment is created with the new code in it, while the old environment is held in reserve in case users experience problems. |
| What is a characteristic of a virtual machine running on a PC? | A virtual machine runs its own operating system. |
| Which security device is used to make responses to client requests look like they all come from the same server? | reverse proxy |
| Which technique is used to help mitigate SQL injection attacks? | limiting the read access to specific fields of a table or joins of tables |
| . Which underlying technology makes it possible for Cisco Umbrella to prevent a user from accessing a blocked site? | DNS |
| Which language is used by the NETCONF protocol to encode both the configuration data and protocol messages? | XML |
| What are the three main capabilities provided by Cisco AMP? (Choose three.) | detection responses and automation prevention |
| Which three functions are provided by Cisco Finesse REST APIS? (Choose three.) | They can be used to integrate into existing applications to add contact center functionality. They can be used to build a fully functioning agent desktop. They can be used to build a script to automate tasks. |
| Which two benefits are provided by the Python-based WebEx Teams SDK? (Choose two.) | It provides error reporting. It manages requests with pagination. |
| Which two statements describe the usage of Cisco Finesse JavaScript APIs? (Choose two.) | They can be used to embed existing web pages into a custom gadget. They can be used to build a custom gadget for the agent state workflow. |
| Why does the Meraki dashboard API return a 404 rather than a 403 code in response to a request with an invalid API key? | The 404 return code prevents the system from indicating the existence of resources to unauthorized users. |
| What does Cisco ISE do when it identifies a user or device accessing the network? | It automatically and securely places the device and user into the right part of the network. |
| How are service profiles used by Cisco UCS Manager? | Cisco UCS Manager uses service profiles to assign a unique identity to the server associated with each profile. |
| Which function does the AXL interface provide for users? | provisions and manages objects in the Unified Communication Management Administration Console |
| What are three primary YANG sources in Cisco NSO? (Choose three.) | data models from devices NSO data model YANG service models |
| What are two tasks a network administrator can perform with Cisco UCS Director? (Choose two.) | Deploy and add capacity to converged infrastructures in a consistent and repeatable manner. Create, clone, and deploy service profiles and templates for all Cisco UCS servers and compute applications. |
| What are two actions taken by Firepower for traffic control? (Choose two.) | using security intelligence data to filter traffic, including IP addresses, address blocks, domain names, and URLs controlling which websites are available to the users on the network |
| What are two types of YANG models? (Choose two.) | native and open model |