What are two reasons to use mock objects in unit tests?
Answer(s): A,E
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.
Select three criteria for the definition of done
Answer(s): A,B,C
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.
Which metric is least useful when measuring code maintainability?
Answer(s): A
The other two are good metrics. Function points are the points representing the amount of business functionality.
Is it a good idea to follow each automated build with the execution of automated tests?
Answer(s): D
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.
What are two ways developers can ensure a good architecture? (two answers)
Answer(s): A,C
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.
Post your Comments and Discuss Scrum PSD exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the PSD content, but please register or login to continue.