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

QuestionAnswer
Which function is used to get input from a user in Python? input()
Python is a language. High-level
Which Linux course is free and self-paced for beginners? Linux Unhatched
Which Cisco course is recommended for Linux beginners? Linux Unhatched
Which two labs help you prepare for DEVASC? Python Lab & Linux Lab
Which of the following is required to run a virtual machine? A modern computer and OS
What Python statement is used for decision-making? if
Webex Teams installation is part of which lab? Virtual Lab Environment
Which Linux command modifies file permissions? chmod
In Python, which function displays output? print()
Which Python keyword ends a loop early? break
Which Linux command displays file contents? cat
Which keyword is used to define a function in Python? def
Linux command to change file permissions: chmod
The Python for loop is best used for: Iterating over a sequence
Which Python function opens a file? open()
Which of the following is NOT a Python feature mentioned? Proprietary licensing
What does the command pwd display? Current working directory
Which lab includes system administration tasks? Linux Review Lab
Which lab task involves preparing your computer for virtualization? Install the Virtual Lab Environment
Which module helps determine readiness for the DEVASC course? Course Introduction
Which of these is a common use of Linux? IoT devices and servers
Which module objective is emphasized in Module 1? Use Python and Linux skills
The DEVASC course prepares learners for: Network automation and programmability
Which of these is a Linux command to list files? ls
DevNet Learning Labs include tutorials on: Networking, IoT, Python, REST APIs
DevNet Knowledge Base consists of: Troubleshooting articles for reference
What is the main benefit of DevNet Sandboxes? Test APIs and platforms in safe environments
DevNet forums are primarily for: Developer community collaboration and support
DevNet developer program integrates which of the following? Website, tools, sandboxes, forums, documentation
Which DevNet Exchange has over 1,500 solutions? Ecosystem Exchange
DevNet Learning Labs allow you to: Set up development environments and practice coding
Which of the following is part of DevNet Developer Support? Knowledge Base
Which of the following is included in the DevNet Home page? Start Now, Learning Tracks, Video Courses, Sandboxes, Code Exchange
DevNet community interaction is mainly supported through: Forums, chat, and community spaces
The Ecosystem Exchange provides: Over 1,500 solutions across technologies and industries
What is the purpose of DevNet Sandboxes? Provide hands-on exploration of software and APIs
Which of the following is NOT a feature of DevNet? Hardware simulation software
DevNet Exchange that uses GitHub API is: Code Exchange
A developer can troubleshoot API issues in DevNet by: Using DevNet Developer Support
Which DevNet Exchange is most likely to help in designing solutions with partners? Ecosystem Exchange
DevNet Developer Support provides help for: API integrations, connections, and developer use cases
DevNet Sandboxes are best described as: Production-like environments for testing and development
Which is a lab objective in Module 2? Find and navigate a Learning Lab
Which is an example of getting DevNet support? Logging a support ticket online
Which DevNet resource is most helpful for finding third-party Cisco-related solutions? Ecosystem Exchange
Which DevNet Exchange lists solutions across industries and geographies? Ecosystem Exchange
A developer can access DevNet forums by visiting: devnetsupport.cisco.com
What is the DevNet Ecosystem Exchange best for? Finding diverse Cisco-related solutions
Which DevNet Exchange provides automation use cases and toolkits? Automation Exchange*
Which keyword defines a function in Python? def
Which testing validates the full system functionality? System Testing
In MVC, which part handles business logic? Model
JSON arrays are represented with: []
In MVC, which part interacts with the user? View
Which Git command switches branches? git checkout
Which design pattern notifies objects when state changes? Observer
Which format is lightweight and commonly used in APIs? JSON
Which design pattern creates objects without specifying the class? Factory
Which Python structure is immutable? Tuple
Which principle encourages short, focused functions? Single Responsibility Principle
In MVC, which part processes input and updates the model? Controller
Which Git command initializes a repository? git init
Which testing ensures old features still work after changes? Regression Testing
Which Git command uploads commits to a remote? git push
Which Git command combines branch changes? git merge
Which SDLC phase ensures the system aligns with business needs? Requirements Analysis
Which format is indentation-sensitive? YAML
Which Git command shows current file states? git status
Which statement exits a loop early? break
YAML lists are represented with: Dash (- )
Continuous Integration (CI) focuses on: Frequently merging code changes
Which Python structure stores key-value pairs? Dictionary
Which SDLC model delivers software in sequential steps? Waterfall
Which SDLC phase involves fixing bugs and improving software post-release? Maintenance
Which requirement is necessary to consume a webhook? Application must be running to receive HTTP POST
Which HTTP status code means ‘Created’? 201
Which of the following is NOT one of the six REST principles? Multi-threading
Which authentication method uses unique alphanumeric keys assigned to users? API Key
REST was authored by: Roy Thomas Fielding
Which HTTP status code means ‘No Content’? 204
An API Rate Limit is primarily used to: Prevent overload and DoS attacks
Which API design style allows execution to continue while waiting for a response? Asynchronous
Which HTTP method is used to remove a resource? DELETE
Which rate limit algorithm checks requests within a moving time frame? Sliding Window Counter
Which part of a URI provides filtering or additional request details? Query
Which HTTP status code means ‘Bad Request’? 400
Authentication proves: Identity of the user
Which error category represents server-side mistakes? 5xx
Which part of a URI represents the host and port? Authority
What does API stand for? Application Programming Interface
Which HTTP status code means ‘Not Found’? 404
Which category of HTTP status codes indicates server error? 5xx
SOAP uses which format for messaging? XML
Authorization defines: Permissions of the user
Which HTTP method is typically used to create a new resource? POST
Which rate limit algorithm uses a queue and processes at a fixed rate? Leaky Bucket
Which of the following is NOT a benefit of using APIs? Manual Data Entry
Which status code means ‘Service Unavailable’? 503
Which HTTP status code means ‘OK’? 200*
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]
What is displayed after the following code is entered into a Python interpreter? 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 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 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 the fil 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"} Which data type is used to represent the variable ipAddress? 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"} Which Python expression can be used to retrieve the IP address of R2? ipAddress[‘R2’]
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
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 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 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: print 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 devasc ls -l
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.
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
Which Cisco DevNet online resource provides use cases for network automation, including listing data and activating policies across domains? Automation Exchange
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.
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
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
What are two characteristics of the Git version control system? (Choose two.) It is a distributed VCS. It is open source
Match the Lean term with a description.
What characteristic describes a formal code review? The entire code base is reviewed in a series of meetings.
Which fundamental Lean principle forms the basis from which all other Lean principles flow? eliminate waste
When a unified diff file is being reviewed, which symbol is used to indicate that a line has been added? +
What special characters are used to enclose JSON objects? curly braces {}
What are two features of the formal code review? (Choose two.) It promotes discussion among all of the reviewers. It involves a review of the entire code base in a series of meetings.
Which statement describes the Waterfall methodology of software development? Each step in the process must be completed before the next step starts
What is clean code? code that is easy to read and understand
Match the Git command with its function.
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.
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
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 >>> Wh >>> url2 = Url(‘www.cisco.com’, ‘http’)
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
When a unified .diff file is being reviewed, which symbol is used to indicate that a line has been added? +
Refer to the exhibit. A network administrator is using a Python script to test a REST API request. The traceback message indicates that there is an error in the URI. What is a possible issue? The destination host address is wrong.
Match the RESTful API method to CRUD function.
What is an architectural constraint to which a true RESTful API web service must adhere? It operates in a stateless way.
Refer to the exhibit. A network administrator is using a Python script to send a REST API request. What is the purpose of the line of code resp = requests.get(url, verify = False) ? It bypasses the certificate validation check.
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 authentication 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 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
ls -lr
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.
A student is learning Python using the interactive interpreter mode. The student issues the commands: >>> routers=[] >>> switches=[] >>> devices=[\"RT1\", \"RT2\", \"RT3\", SW1\", \"SW2\", \"SW3\"] >>> devices=devices + [\"RT4\", \"SW4\"] >>> for i i [‘SW1’, ‘SW2’, ‘SW3’, ‘SW4’]
A student is learning Python in the interactive interpreter mode. The student issues the commands: >>> devicenames=[\"RT1\", \"RT2\", \"SW1\", \"SW2\"] >>> devicenames[-1] 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? print
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
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
Which SDLC development methodology employs many quick iterations known as sprints? Agile
Which two programming components are defined as blocks of code that perform tasks when executed? (Choose two.) functions methods
A developer wants to find the location of the Python 3 executable file. Which command should the developer use? which python3
Which SDLC phase concludes with functional code that satisfies customer requirements and is ready to be tested? implementation
What are the three states of a Git file? (Choose three.) staged committed modified
Which term is used to describe the first line of an XML document? prologue
How does an application use a module in Python? through the import statement
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 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
What is REST? It is an architecture style for designing web service applications.
Which HTTP response status code indicates that the request to update the database is completed? 201
How many elements does a SOAP message contain? 4
Refer to the exhibit. A network administrator is using a Python script to test a REST API request. The traceback message indicates there is an error in the URI. What is the error? The protocol is missing.
Which type of encoding is used in basic authentication for REST APIs? Base64
What is an architectural constraint to which a true RESTful API web service must adhere? It runs as client/server model.
What is a reason that a network engineer would use APIs? to automate configuration or data collection tasks
What is a webhook for REST APIs? It is an HTTP callback to a URL to notify the client application that an event has occurred.
As part of creating an API request using Python, the following commands are entered. What is the purpose of this step? ipaddr = 10.1.50.1 interface = Ethernet1/1 hostname = R1 to create variables
A web service uses a rate limit algorithm that puts all incoming REST API requests into a queue in the order in which they arrive. The algorithm allows incoming requests to arrive at any rate, but the server processes the requests from the queue at a fixe leaky bucket
What is an application requirement in order to receive a notification from a webhook provider? The application must always be running to receive HTTP POST requests.
Which RESTful operation corresponds to the HTTP GET method? read
Created by: user-1818920
 

 



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