ExamGecko
Home / Scrum / PSD / List of questions
Ask Question

Scrum PSD Practice Test - Questions Answers, Page 4

List of questions

Question 31

Report
Export
Collapse

What are two reasons to use mock objects in unit tests?

The behavior of a given object can be emulated to the system under test
The behavior of a given object can be emulated to the system under test
They are machine-generated and eliminate the need to write code by hand
They are machine-generated and eliminate the need to write code by hand
To increase tight coupling
To increase tight coupling
TDD is impossible without them
TDD is impossible without them
Isolating a particular system component for controlled testing
Isolating a particular system component for controlled testing
Suggested answer: A, E

Explanation:

Mock objects are simulating the behavior of dependencies such as persistance layers or APIs. By mocking these you can be sure about what you are testing, and not accidentally testing the external dependency.

asked 23/09/2024
Kees den Dekker
43 questions

Question 32

Report
Export
Collapse

Select three criteria for the definition of done

Code review is done
Code review is done
Acceptance tests pass
Acceptance tests pass
Regression tests pass
Regression tests pass
The product is released at the end of every sprint
The product is released at the end of every sprint
Code coverage 90%
Code coverage 90%
Suggested answer: A, B, C

Explanation:

Releasing the product at the end of the sprint doesn't relate to one item and when it's done. Code coverage does, but it's the worst criteria in this list, because it's a stimulus to write tests that cover a lot of lines rather than cover the functionality.

asked 23/09/2024
DIGIX srl
32 questions

Question 33

Report
Export
Collapse

Which metric is least useful when measuring code maintainability?

Function points
Function points
Cyclometic complexity
Cyclometic complexity
Depth of inheritance
Depth of inheritance
Suggested answer: A

Explanation:

The other two are good metrics. Function points are the points representing the amount of business functionality.

asked 23/09/2024
Aleksey Koltsov
30 questions

Question 34

Report
Export
Collapse

Is it a good idea to follow each automated build with the execution of automated tests?

Yes, it will show code coverage which is an excellent metric of quality and progress
Yes, it will show code coverage which is an excellent metric of quality and progress
No, it takes too much time
No, it takes too much time
No, the outcomes might disturb the developers' focus
No, the outcomes might disturb the developers' focus
Yes, the tests may identify whether there are bugs that the developers should fix before proceeding
Yes, the tests may identify whether there are bugs that the developers should fix before proceeding
Suggested answer: D

Explanation:

It's definitely a good practice. And not because you can see the code coverage (which also isn't an excellent metric of quality and progress), but because you can detect problems before moving on.

asked 23/09/2024
Florence Li
39 questions

Question 35

Report
Export
Collapse

What are two ways developers can ensure a good architecture? (two answers)

Architecture is an ongoing discussion amongst the developers, focusing on implementing current Sprint Backlog Items
Architecture is an ongoing discussion amongst the developers, focusing on implementing current Sprint Backlog Items
The developers focus only on adding functionality. The architecture will take care of itself as the developers add functionality
The developers focus only on adding functionality. The architecture will take care of itself as the developers add functionality
The developers have a set of guiding architecture principles that every developer understands and follows when writing code
The developers have a set of guiding architecture principles that every developer understands and follows when writing code
Developers assign someone to the role of software architect to ensure the architecture
Developers assign someone to the role of software architect to ensure the architecture
Architecture is dealt with in sprint 0
Architecture is dealt with in sprint 0
Suggested answer: A, C

Explanation:

There is no sprint 0, architecture won't take care of itself and there is no architect role. The architecture is an ongoing discussion and growing construct. There are guidelines and principles in place.

asked 23/09/2024
Louis Flink
43 questions

Question 36

Report
Export
Collapse

Which of the following describes an architecture spike?

A fundamental architectural problem found in an existing application
A fundamental architectural problem found in an existing application
The result of an exhaustive architectural planning effort
The result of an exhaustive architectural planning effort
A small development activity to learn about technical elements of a proposed solution
A small development activity to learn about technical elements of a proposed solution
A decision made by a systems architect to settle disagreement amongst the developers
A decision made by a systems architect to settle disagreement amongst the developers
Suggested answer: C

Explanation:

An architecture spike is a small development activity to learn about technical elements of a proposed solution.

asked 23/09/2024
lawrence Ajibolade
49 questions

Question 37

Report
Export
Collapse

What is technical debt?

A term representing the eventual consequences of poor technical choices
A term representing the eventual consequences of poor technical choices
Developers that have to pay college debt
Developers that have to pay college debt
Code that hasn't been documented
Code that hasn't been documented
The money an organization owes to tool and hardware vendors
The money an organization owes to tool and hardware vendors
Suggested answer: A

Explanation:

Technical debt is the result of incomplete work going into the increment and poor design and architectural choices.

asked 23/09/2024
Jason Evans
47 questions

Question 38

Report
Export
Collapse

When should a newly discovered huge bug of a previous sprint be fixed?

Immediately.
Immediately.
Don't fix it immediately, but change the test to not show it as a temporary fix.
Don't fix it immediately, but change the test to not show it as a temporary fix.
Don't fix it, but stub out the code that causes it.
Don't fix it, but stub out the code that causes it.
Depends on what the product owner wants.
Depends on what the product owner wants.
Suggested answer: D

Explanation:

Hiding the bug won't make it go away. Discussing with the product owner is a good step to take, because he knows what work leads to maximum value.

asked 23/09/2024
Joseph McCray
43 questions

Question 39

Report
Export
Collapse

Which two criteria are useful in deciding if something should be documented every sprint?

It has always been documented in the past
It has always been documented in the past
The documentation is used to enhance and maintain the software
The documentation is used to enhance and maintain the software
The scrum master demands it
The scrum master demands it
The software tool being used requires it
The software tool being used requires it
It is required by the definition of done
It is required by the definition of done
Suggested answer: B, E

Explanation:

if the documentation is adding to the quality and maintenance of the software this is definitely a good argument for documenting every sprint. Just because that's the way it's done and we don't want change is not a good reason. Tooling that requires is also isn't. And the scrum master cannot demand this kind of things. If the company's definition of done says so, you must :)

asked 23/09/2024
Welber Santos de Oliveira
40 questions

Question 40

Report
Export
Collapse

Which are four attributes of a good bug report?

Screenshots or pictures of the bug in action, if possible
Screenshots or pictures of the bug in action, if possible
Explains some new system functionality desired
Explains some new system functionality desired
Includes build or version number where bug was found
Includes build or version number where bug was found
Expected results and observed results
Expected results and observed results
Provides simple and repeatable reproduction steps
Provides simple and repeatable reproduction steps
Includes code for a proposed fix
Includes code for a proposed fix
Suggested answer: A, C, D, E
asked 23/09/2024
dion alken
40 questions
Total 120 questions
Go to page: of 12