Acquia Certified Developer D10 Online Practice Questions

Home / Acquia / Acquia Certified Developer D10

Latest Acquia Certified Developer D10 Exam Practice Questions

The practice questions for Acquia Certified Developer D10 exam was last updated on 2025-11-10 .

Viewing page 1 out of 18 pages.

Viewing questions 1 out of 91 questions.

Question#1

Which function is used to assert equality in unit tests?

A. assertTrue()
B. assertFalse()
C. assertEqual()
D. assertEquals()

Explanation:
Use assertEquals($expected, $actual) to check that two values are equal in PHPUnit-based unit tests. It's the standard way to compare expected outcomes in tests.

Question#2

Which is the best storage mechanism for values that vary per environment?

A. State API
B. Config API
C. Session
D. File system

Explanation:
For data that varies per environment (like cron timestamps or batch flags), the State API is ideal.
Configuration should be consistent across environments and exported to code.

Question#3

Which core test base class should you use to test configuration changes with a working database and services?

A. UnitTestCase
B. WebTestBase
C. KernelTestBase
D. BrowserTestBase

Explanation:
KernelTestBase boots the service container and database, making it suitable for testing configuration, entities, and schema-level logic without needing a browser environment.

Question#4

Where do you define routes for a module?

A. MODULENAM
B. controller.yml
C. MODULENAM
D. routes.php
E. MODULENAM
F. routing.yml
G. MODULENAM
H. path.yml

Explanation:
Custom routes are declared in MODULENAME.routing.yml, where you define the path, defaults (e.g., controller), requirements (permissions), and optional parameters.

Question#5

How are blocks rendered in the theme layer?

A. Through taxonomy overrides
B. Using Twig templates such as block--[id].html.twig
C. With JavaScript files
D. Using Views templates

Explanation:
Blocks are rendered through Twig templates in the theme layer. Developers can override these templates to customize the output of specific or all blocks.

Exam Code: Acquia Certified Developer D10Q & A: 260 Q&AsUpdated:  2025-11-10

 Get All Acquia Certified Developer D10 Q&As