
Google CloudProfessional Cloud Developer
Domain 2Objective 3
2.3 Testing PROFESSIONAL-CLOUD-DEVELOPER Practice Questions (Page 4)
Part of the Building and testing applications domain, which accounts for ~23% of the PROFESSIONAL-CLOUD-DEVELOPER exam.
22questions here
5free pages
6concepts
~23%of the exam
Questions 16–20
- 16
A team is refactoring a monolithic application into microservices. They have a large existing unit test suite that tests the monolith's internal classes. After the refactor, they want to maintain confidence in the system. They have limited time and budget. What is the most pragmatic testing strategy?
Select an answer first - 17
In a Cloud Build pipeline, what triggers the execution of integration tests automatically?
Select an answer first - 18
A developer is using an AI coding assistant to generate unit tests for a new Python function. What is the primary purpose of reviewing and refining the AI-generated test cases before committing them?
Select an answer first - 19
Which practice is most important for ensuring unit tests are isolated from each other?
Select an answer first - 20
A team is adopting a test-driven development (TDD) workflow. A developer writes a test for a new feature and runs it; the test fails because the feature is not implemented yet. The developer then asks an AI coding assistant to implement the feature so the test passes. What is the best practice for the developer to follow after the AI assistant produces code that makes the test pass?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Google Cloud. “PROFESSIONAL-CLOUD-DEVELOPER” is a trademark of its owner, used for identification only.