Quiz
DevOps - Module 3 to 4
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (36)
1A developer issues the Linux command pip3 freeze in an activated Python 3 virtual environment. What is the function that is provided by the command?
- Ato output a list of installed Python packages
- Bto lock the current virtual environment
- Cto prepare the environment before installing a Python package
- Dto deactivate the current virtual environment
2What are two characteristics of the Git version control system? (Choose two.)
- AIt is open source
- BIt is Cisco proprietary.
- CIt is Microsoft proprietary.
- DIt is a distributed VCS.
- EIt is a centralized VCS.
- FIt is a local vcs.
3A simple statement of what a user needs and why
- Asprint
- Btasking
- Cstory
- DScrum team
4Uses standup meetings to review progress
- ASprint
- BBacking
- CStory
- DScrum Team
5A time-boxed period where working software is developed
- ASprint
- BBacklog
- CStory
- DScrum Team
6A prioritized list of all of all the features for the software being developed
- ABacking
- BSprint
- CScrum Team
- DStory
7What characteristic describes a formal code review?
- ACode is automatically sent for review by source code management systems once it is checked in.
- BThe entire code base is reviewed in a series of meetings
- CIt utilizes a peer code review tool to identify code that needs retesting.
- DIt provides direct interaction between the review team and the code author.
8Which fundamental Lean principle forms the basis from which all other Lean principles flow?
- ABuild integrity in
- BEliminate waste
- CDeliver as fast as possible
- DAmplify learning
9When a unified diff file is being reviewed, which symbol is used to indicate that a line has been added?
- A/dev/null
- B@@
- C+
10What special characters are used to enclose JSON objects?
- Aforward slash /
- Bsquare brackets []
- Ccurly braces {}
- Dparenthesis()
11What are two features of the formal code review? (Choose two.)
- AFor a quicker turnaround, it involves only one reviewer
- BIt involves the developer going through code with the reviewer line-by-line.
- CIt promotes discussion among all of the reviewers.
- DIt allows the developer to make changes on the spot.
- EIt involves a review of the entire code base in a series of meetings.
12Which statement describes the Waterfall methodology of software development?
- AProcess tasks are broken up into time-boxed iterations called sprints.
- BEach step in the process must be completed before the next step starts
- CIt emphasizes elimination of wasted effort and maximizes customer value.
- DMultiple steps in the process are started simultaneously.
13What is clean code?
- Acode that has no reviewer comments
- Bcode that has passed functional testing
- Ccode that is easy to read and understand
- Dcode that performs a discrete task
14Updates the local copy of the Git repository with the content of the remote Git repository
- Agit init
- Bgit pull
- Cgit push
15Creates an empty Git repository or makes an existing folder a Git repository
- Agit init
- Bgit pull
- Cgit push
16updates the remote Git repository with the content changes from the local Git repository
- Agit init
- Bgit pull
- Cgit push
17What is the role of the view component in the Model-View-Controller (MVC) flow?
- AIt accepts selected data and displays the visual representation to the user.
- BIt accepts the input and applies the required rules to format the data.
- CIt requests user input and manipulates it to fit the format for the model.
- DIt manages the data, logic and rules of the application.
18A developer is constructing some functions in Python. When is a function referred to as a module in Python?
- Awhen the function is declared during the execution of a Python program
- Bwhen the function is initiated during the execution of a Python program
- Cwhen the function is packaged in a single Python file
- Dwhen the function is used for the first time
19A 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
>>>
Which command should the student use to create an object with one attribute being a valid URL?- A>>> url2 = Url(URL, ‘http://’, ‘www.cisco.com’)
- B>>> url2 = Url(‘http’, ‘://’, ‘www.cisco.com’)
- C>>> url2 = Url(‘www.cisco.com’, ‘http’)
- D>>> url2 = Url(‘http’, ‘www.cisco.com’)
20A developer issues a Linux command python3 -m venv devenv . What is the developer trying to achieve?
- Ato activate the Python 3 virtual environment named devenv
- Bto enter the Python 3 virtual environment named veny using the devnet tool sets
- Cto install the devnet tool sets in the Python 3 virtual environment named veny
- Dto create a Python 3 virtual environment named devenv
21When a unified .diff file is being reviewed, which symbol is used to indicate that a line has been added?
- A@@
- B/dev/null
- C+
- D-
22Refer 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?

- AThe protocol is wrong.
- BThe query component is missing.
- CThe destination host address is wrong.
- DThe SSL certificate is invalid.
23What is an architectural constraint to which a true RESTful API web service must adhere?
- AIt operates in a stateless way.
- BIt uses HTTPS to transport data.
- CIt must operate along with a DNS server.
- DIt operates as a cloud service.
24Refer 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) ?

- AIt bypasses the certificate validation check.
- BIt tests the function of the Python requests library
- CIt omits the sending URL in the response.
- DIt skips the URL verification step and tests the resource path.
25A 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.)
- A*
- Bxz
- Cbr
- Dgzip
- Etar
- Fzip
26What is the meaning of the term flow as it relates to the OAuth 2.0 authorization framework?
- AIt is the number of requests contained in the token bucket.
- BIt is a process for an API request to send authentication credentials to a web service.
- CIt is a process for an API user to obtain an access token from the authorization server.
- DIt is the sequence of data exchanged between a REST API request and a response
27What is a characteristic of a RESTful API?
- AIt uses HTTP methods to gather and manipulate data.
- BIt is a southbound API.
- CIt facilitates the configuration changes from a network controller to end devices.
- DIt supports a secure data transmission between a remote user and an enterprise network.
28Which characteristic of the SOAP architecture specifies communication between all similar and dissimilar application types?
- Aindependence
- Binterface uniformity
- Cneutrality
- Dextensibility
29In the REST API request URI example http://example.com/update/person?id=42&email=person%40example.com , which term describes the component example.com ?
- Aquery
- Bpath
- Cscheme
- Dauthority
30Which SOAP message root element defines the XML document as a SOAP message?
- AMeta tag
- BBody
- CEnvelope
- DHeader
31Which type of credential information is used for the bearer authentication in REST APIs?
- Aa username and password set by the client
- Ba password encoded using Base64
- Can MD5 hash string generated by the client application
- Da string generated by an authentication server
32What are two purposes for using rate limits on public and unrestricted APIs? (Choose two.)
- Ato avoid a server overloading from too many requests at the same time
- Bto limit the number of authorization requests per API call
- Cto provide better service and response time to all users
- Dto ensure a client uses a multifactor authentication mechanism
- Eto limit the number of passwords that a client can have in making API requests
33Which HTTP response status code indicates that the user is not authenticated to access the site?
- A201
- B400
- C401
- D403
- E404
34Which API architectural style uses an XML-based messaging protocol to communicate between applications?
- ASOAP
- BREST
- CNFS
- DXML-RPC
35A network engineer is learning about Rest APIs. When executing a particular API, the server responds with curl. How is this information useful?
- ACurl shows the retrieved information in JSON format.
- BCurl shows how to access the content displayed in the response body using curl.
- CCurl shows the information the API returned from the server.
- DCurl shows the URL used in the API request.
36In which situation would a synchronous API be used?
- Awhen a server is not part of the process
- Bwhen the original API request or data from the request is delayed
- Cwhen data is being retrieved from a database
- Dwhen the client is not required to take action
Information
- Description
- Quiz on DevOps - Module 3 to 4, created by rj PINEDA on 09/12/2024.
- Author
- rj PINEDA
- Language
- English
- Views
- 38
- Tags
- Rating
- No ratings yet Rate this quiz