click below
click below
Normal Size Small Size show me how
mod1&2
| Question | Correct Answers |
|---|---|
| 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 |
| 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] |
| What is displayed after the following code is entered into a Python interpreter? addition = 22 +10 print(addition) | 32 |
| 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 do | 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 result of this command? | Both active and inactive interfaces will display information. |
| 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 user issues the Linux command ls -l myfile.sh to check the permission of the file myfile.sh. 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 th | > The user with the user ID of self can modify the file. > Any user in the test group can execute the file. |
| Which Python command creates a conditional control structure? | if |
| 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 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 |
| 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"} | ipAddress[‘R2’] |
| A user issues a series of Linux commands as shown. (omitted)$ pwd /home/devasc/labs/ansible/backups (omitted)$ cd ../.. | /home/devasc/labs |
| 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 | [‘RT1’, ‘RT2’, ‘SW1’, ‘RT3’, ‘SW3’] |
| A student is learning Python in the interactive interpreter mode. The student issues the commands: >>> y=2 >>> y*3 6 >>> 'Test'*y | ‘TestTest’ |
| 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: pri | when the if statement is false |
| A user issues a Linux command and the result is shown: 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 deva | ls -l |
| 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. |
| Which Cisco DevNet online resource provides use cases for network automation, including listing data and activating policies across domains? | Automation Exchange |
| What is contained within a DevNet Sandbox? | a preconfigured environment already installed with Cisco platforms |
| What is the purpose of the Cisco DevNet Learning Labs? | They provide self-paced tutorials including coding. |
| Which two DevNet resources are available online? (Choose two.) | Automation Exchange Code Exchange |
| What is required in order to ensure that clients are able to talk to applications that are outside a local system? | a network |
| Which DevNet event is provided by Cisco partners and Cisco offices? | DevNet Express |
| 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 type of learner should take the DevNet Associate course? | anyone interested in network automation and programmability |
| 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') |
| What is network programmability? | the ability to configure, monitor, and react to events in the network in real time |
| What is the purpose of Cisco DevNet? | to teach everyone about the different Cisco API offerings and how to use them |
| What are two benefits of using APIs and integrations between applications? (Choose two.) | Integrations are used to provide applications the ability to notify each other when a specific event happens. Integrations enable the applications to request actions from each other. |
| What is the contracted response time after a developer opens a case-based ticket with the DevNet support service? | one business day |
| Which Cisco DevNet developer support option provides 1-on-1 support to the members of the Solution Partner program? | case-based ticket |
| Which technology trend enables an industry shift towards automation, applications, and integrations? | advanced API capabilities |
| What resources are available in the Cisco DevNet sandboxes? | production-like development and code testing environments |
| Which link is used from the Cisco DevNet Learning Labs to access the largest collections of labs? | Tracks |
| What are two requirements when participating in the DevNet Learning Labs? (Choose two.) | The user must successfully log in with a DevNet account. The user must have an active internet connection. |
| Which Cisco DevNet online resource provides use cases for network automation, including listing data and activating policies across domains? | Automation Exchange |
| What are three major areas that comprise DevNet? (Choose three.) | interactive and collaborative developer community integrated community forums coordinated developer tools |
| What resources are available in the Cisco DevNet Code Exchange? | a repository of sample code written by other developers |
| What type of learner should take the DevNet Associate course? | anyone interested in network automation and programmability |
| What is contained within a DevNet Sandbox? | a preconfigured environment already installed with Cisco platforms |
| Which two DevNet resources are available online? (Choose two.) | Automation Exchange Code Exchange |
| 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 is Cisco DevNet? | a developer program |
| What is required in order to ensure that clients are able to talk to applications that are outside a local system? | a network |
| 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. |
| Which DevNet event is provided by Cisco partners and Cisco offices? | DevNet Express |
| Which website provides the entry point for Cisco DevNet? | developer.cisco.com |
| 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 developer needs to check the version of the running Python package. Which command should the developer use? | python3 -V |
| 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 |
| Which Python programming function is used to display output? | |
| What Linux command is used to display the contents of the current directory? | ls |
| What command is used to rename a file in a Linux system? | mv |
| 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 |
| 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. |