Save
Upgrade to remove ads
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

DevNet

IT0123

QuestionAnswer
>>> 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? print
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
When a unified diff file is being reviewed, which symbol is used to indicate that a line has been added? +
Created by: user-1838864
 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards