DevNet Associate (Version 1.0) – DevNet Associate 1.01 Module 3 Exam Answers Full 100% 2023 2024
This is a collection of Cisco NetAcad DevNet Associate (Version 1.0), DevNet Associate 1.01, and DEVASC 1.01 for Module 3 Exam Answers Full 100% in 2023 2024. Our team expert has made this series for putting all on one page to be easy to navigate and learn. This DevNet Associate module 3 exam answer is for the Cisco Netacad learning platform. Review all questions and answers before you take the exam to get a full mark of 100%.
DevNet Associate 1.01 – Module 3: Software Development and Design Exam Answers Full 100% 2023 2024
-
Which statement describes the Waterfall methodology of software development?
- Each step in the process must be completed before the next step starts.
- Multiple steps in the process are started simultaneously.
- Process tasks are broken up into time-boxed iterations called sprints.
- It emphasizes elimination of wasted effort and maximizes customer value.
Answers Explanation & Hint:
The Waterfall model is the earliest SDLC approach. The phases follow a linear sequential flow, where each phase begins only when the previous phase is complete.
-
Which fundamental Lean principle forms the basis from which all other Lean principles flow?
- eliminate waste
- build integrity in
- deliver as fast as possible
- amplify learning
Answers Explanation & Hint:
The Lean SDLC methodology is built on seven principles which are focused on minimizing waste and maximizing value to the customer. The principle of eliminating waste is the most fundamental and it is the one from which all the other principles flow.
-
Match the Lean term with a description.
Answers Explanation & Hint:
- Story: In Lean and Agile methodologies, a “story” refers to a user story or user story card. It is a concise and informal description of a specific feature or functionality from the perspective of an end-user or customer. The purpose of a story is to communicate what a user needs and why they need it. It is usually written in a user-centric format like “As a [type of user], I want [an action] so that [benefit or value].” The user stories serve as a basis for development and help the team understand the requirements in a more human-readable and relatable way.
- Scrum Team: The Scrum Team is a core element of the Scrum framework, which is a specific Agile methodology for managing and executing software development projects. The Scrum Team is a cross-functional group of professionals responsible for delivering the product increment during each sprint. It typically includes developers, testers, designers, and any other necessary roles. The team collaboratively works on the tasks from the product backlog and is self-organizing, meaning they decide how to complete the work and manage their own processes.
- Sprint: In Agile and Scrum, a “sprint” is a time-boxed period during which the Scrum Team works on a set of prioritized tasks or user stories from the product backlog. The sprint duration is typically fixed and usually lasts between one to four weeks, with two weeks being a common choice. During the sprint, the team focuses on completing the tasks they committed to delivering by the end of the sprint. At the end of the sprint, a potentially shippable product increment is produced, which means that it is a working piece of software that can be released if needed.
- Backlog: The “backlog” in Agile and Scrum refers to the product backlog, which is a dynamic and prioritized list of all the features, enhancements, bug fixes, and other tasks that need to be implemented in the software being developed. These items, also known as user stories, are added and refined continuously throughout the project, with new ones being added and others being re-prioritized or removed based on changing requirements or business needs. The product owner is responsible for managing the backlog and ensuring that the highest-priority items are well-defined and ready for the team to work on during the upcoming sprints.
-
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 lock the current virtual environment
- to prepare the environment before installing a Python package
- to output a list of installed Python packages
- to deactivate the current virtual environment
Answers Explanation & Hint:
The pip3 freeze Linux command is used to output a list of Python 3 packages installed in the current working environment.
-
What is the role of the view component in the Model-View-Controller (MVC) flow?
- It manages the data, logic and rules of the application.
- It accepts selected data and displays the visual representation to the user.
- It accepts the input and applies the required rules to format the data.
- It requests user input and manipulates it to fit the format for the model.
Answers Explanation & Hint:
The Model-View-Controller (MVC) design pattern abstracts code and responsibility into three distinct components: model, view, and controller. The controller accepts the input, manipulates the data, and sends the manipulated data to the model. The view is the visual representation of the data. There can be multiple representations of the same data.
-
What are two characteristics of the Git version control system? (Choose two.)
- It is Microsoft proprietary.
- It is Cisco proprietary.
- It is open source.
- It is a distributed VCS.
- It is a centralized VCS.
- It is a local VCS.
Answers Explanation & Hint:
Git is available for MacOS, Windows, and Linux/Unix. It is an open source implementation of a distributed version control system.
-
Match the Git command with its function.
Answers Explanation & Hint:
- git pull: Updates the local copy of the Git repository with the content of the remote Git repository. This command is used to fetch changes from the remote repository and automatically merge them with the local branch.
- git init: Creates an empty Git repository or makes an existing folder a Git repository. This command initializes a new Git repository in the current directory, setting it up to start tracking changes in files.
- git push: Updates the remote Git repository with the content changes from the local Git repository. This command is used to send the committed changes from the local repository to the corresponding remote repository, making them available to other team members.
-
When a unified .diff file is being reviewed, which symbol is used to indicate that a line has been added?
+
-
/dev/null
@@
Answers Explanation & Hint:
The symbols used in a unified diff file are as follows:
+: Indicates that the line has been added
-: Indicates that the line has been removed
/dev/null: Shows that a file has been added or removed
@@: Indicates that the next block of information is starting
-
What is clean code?
- code that is easy to read and understand
- code that performs a discrete task
- code that has passed functional testing
- code that has no reviewer comments
Answers Explanation & Hint:
Clean code is code that meets common principles that make it easy to read and understand. Some of these principles are as follows:
Neat formatting to generally-accepted practices
Code intuitive variables and objects
Documented with appropriate comments
Written so that it can be reused and easily unit-tested
-
A developer is constructing some functions in Python. When is a function referred to as a module in Python?
- when the function is used for the first time
- when the function is packaged in a single Python file
- when the function is initiated during the execution of a Python program
- when the function is declared during the execution of a Python program
Answers Explanation & Hint:
Modules are a way to build independent and self-contained blocks of code that can be reused. A module consists of a set of functions and typically contains an interface that allows for integration with other modules. A module, in Python, is a Python file with packaged functions.
-
A student is learning Python using the interactive interpreter mode. The student issues these commands:
>>> class Url(): ... 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?
>>> url2 = Url('http', 'www.cisco.com')
>>> url2 = Url('www.cisco.com', 'http')
>>> url2 = Url('http', '://', 'www.cisco.com')
>>> url2 = Url(URL, 'http://', 'www.cisco.com')
Answers Explanation & Hint:
In Python, classes are a means of bundling data storage and functionality in a single structure. Each class declaration defines a new object type. As with other Python data structures and variables, class objects are instantiated as they are first used, rather than being predeclared, by using an assignment statement.
-
What characteristic describes a formal code review?
- The entire code base is reviewed in a series of meetings.
- It utilizes a peer code review tool to identify code that needs retesting.
- It provides direct interaction between the review team and the code author.
- Code is automatically sent for review by source code management systems once it is checked in.
Answers Explanation & Hint:
In a formal code review developers have a series of meetings to review the whole code base and go over the code line by line, discussing each one in detail. The formal code review process promotes discussion between all of the reviewers.
-
What are two features of the formal code review? (Choose two.)
- It involves a review of the entire code base in a series of meetings.
- It promotes discussion among all of the reviewers.
- It involves the developer going through code with the reviewer line-by-line.
- It allows the developer to make changes on the spot.
- For a quicker turnaround, it involves only one reviewer.
Answers Explanation & Hint:
In a formal code review, developers have a series of meetings to review the whole codebase and go over the code line by line, discussing each one in detail. The formal code review process promotes discussion among all of the reviewers.
-
What special characters are used to enclose JSON objects?
- curly braces {}
- square brackets []
- parenthesis ()
- forward slash /
Answers Explanation & Hint:
Individual objects in JSON comprise key/value pairs. These individual pairs may be surrounded by braces. JSON objects may also contain multiple key/value pairs that are separated by commas, in which case the entire object is enclosed in braces.
-
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
- to activate the Python 3 virtual environment named devenv
- to install the devnet tool sets in the Python 3 virtual environment named venv
- to enter the Python 3 virtual environment named venv using the devnet tool sets
Answers Explanation & Hint:
The syntax for creating a Python 3 virtual environment in a Linux system is python3 -m venv virtual_environment , where venv is the Python 3 module to create a virtual environment and -m is the switch to tell Python 3 the venv module is to be used.