Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free Adobe Commerce Developer with Cloud Add-on AD0-E716 Exam Questions

Last updated: · 12 practice questions with answers and explanations

Page: 1 / 7 Total 69 questions

Want more questions? Get Premium Access.

Question 1

New Multiple answers

Topic: Adobe Commerce Architecture and Customization Techniques

Skill tested: Selects plugins and sort order to customize service behavior without replacing core classes.

A Commerce module must add a validation step around a public method on a service interface. Another installed module already intercepts that method, and the team must preserve compatibility with both modules and avoid changing the service implementation globally. The validation should run before the existing business operation, while the existing module's after-plugin must still be able to inspect the operation's result. Which two implementation choices best satisfy these requirements? Select TWO.

Correct Answer: B. Create a before-plugin for the service method and configure its sort order so it runs before the other module's before-plugin.; E. Create a before-plugin and configure its sort order so it runs after the other module's before-plugin.
Explanation:

A before-plugin can validate or modify method arguments without replacing the service class. Plugin sort order controls execution among plugins of the same type: lower sortOrder values run earlier for before-plugins, so choosing the intended relative order matters. The two selections describe the available orderings against the other before-plugin; the scenario's required ordering is satisfied by placing validation at the appropriate point while leaving the service call and after-plugin in the chain. A preference replaces the implementation and risks conflicts. An around-plugin is unnecessarily invasive, and an after-plugin is too late to validate inputs.

Question 2

New Single answer

Topic: Adobe Commerce Architecture and Customization Techniques

Skill tested: Applies cache invalidation and cacheable-page rules to personalized storefront content.

A retailer's category pages are served from the full-page cache, but a recent customization displays the signed-in customer's loyalty balance directly in the page layout. The balance changes independently of catalog updates, and the team wants to retain cache hits for anonymous visitors and other customers. The implementation must not expose one customer's value to another, and developers should use the platform's normal cache behavior rather than building a custom page-cache store. What is the best design?

Correct Answer: B. Keep the page cacheable and load the customer-specific balance through a private, customer-context request after page load.
Explanation:

Customer-specific data should not be embedded in shared full-page-cache output. A private request made in the customer's context can retrieve the balance without varying the entire category page by customer, preserving cacheability for the common page content. Adding cache identities is for invalidation when underlying entities change; it does not make personalized HTML safe to share. Disabling page caching discards performance for all visitors, while varying the page key by customer creates excessive cache fragmentation and still requires careful isolation.

Question 3

New Single answer

Topic: Adobe Commerce Architecture and Customization Techniques

Skill tested: Adds environment-specific configuration through the Commerce configuration system.

A deployment has three websites that share one codebase. A custom shipping integration uses a different account identifier for each website. Administrators must be able to manage the identifiers in the Admin configuration, and deployments must preserve each website's value without hard-coding credentials in PHP or overwriting settings on every deployment. Which approach is most appropriate?

Correct Answer: C. Define fields in system.xml, add the corresponding configuration paths to the module's configuration, and scope the settings to website level.
Explanation:

The configuration layer supports administrator-managed settings and scope-specific values. Defining the fields in system.xml and using website scope allows each website to have its own identifier while the application reads the value through the configuration service. Environment-specific or sensitive deployment values can be managed using the supported configuration/deployment mechanisms rather than PHP constants. A single env.php value does not naturally provide three website-specific Admin settings; a custom table and direct database edits bypass the normal configuration UI and governance.

Question 4

New Multiple answers

Topic: Working with Databases and EAV

Skill tested: Uses declarative schema and data patches to evolve Commerce database structures safely.

A module must add a nullable column to its own entity table and create a select attribute for products. The changes must install on new environments and be applied to existing environments during deployment. The team uses current Commerce module conventions and wants installation changes to be repeatable and trackable; it must not alter core tables or rely on an administrator manually editing the database. Which two actions are appropriate? Select TWO.

Correct Answer: A. Use a data patch for the product attribute and declare the custom table column in db_schema.xml.; B. Declare the module table column in db_schema.xml and add a data patch to create the product EAV attribute.
Explanation:

Declarative schema is the appropriate mechanism for defining the custom table structure. A product EAV attribute is data/configuration managed through the EAV setup APIs, so a data patch is appropriate and is recorded as applied. The two listed alternatives express the same suitable division of responsibility. A one-time external script is not repeatable as part of module deployment, and db_schema.xml does not define arbitrary EAV attribute metadata. A schema patch is intended for schema changes, not for creating the product attribute.

Question 5

New Single answer

Topic: Developing with Admin

Skill tested: Restricts Admin controller access by declaring and enforcing an ACL resource.

A custom Admin page lets operations staff review integration failures and retry selected records. Only users assigned to a dedicated role should access the page; the organization also requires the same permission to govern the menu entry and controller action. The module already has a backend route and menu item, but currently any authenticated Admin user can open the page by entering its URL. What should the developer do?

Correct Answer: D. Define an ACL resource, reference it from the menu item and the controller's ADMIN_RESOURCE declaration, then assign it to the intended role.
Explanation:

An ACL resource is the platform mechanism for authorizing Admin functionality. Referencing the same resource in the menu declaration and controller access requirement ensures that both navigation and direct controller requests are governed by authorization, and the resource can be assigned to the appropriate role. Hiding a menu item alone does not block a direct URL. A block-only check is incomplete and duplicates access control, while a form key addresses request integrity rather than Admin authorization.

Question 6

New Single answer

Topic: Customizing the Catalog

Skill tested: Accounts for source-level salability when evaluating multi-source inventory stock.

A merchant has two inventory sources assigned to the same stock. A product has salable quantity at the first source, but the source is disabled; the second source is enabled and has no quantity. A custom availability badge currently adds source quantities and reports the product as available. The badge must reflect the storefront's actual stock-level salability, and the team must not bypass inventory reservations or reimplement stock aggregation. What is the best correction?

Correct Answer: A. Use the Multi-Source Inventory salability service for the product and relevant stock rather than summing source quantities.
Explanation:

Storefront availability is a stock-level salability decision, not a simple sum of source quantities. The inventory salability service accounts for the stock's source configuration and inventory behavior, including conditions that a custom sum would miss. Disabled sources should not be treated as available stock. Reading legacy quantity or marking the product available from any positive source can produce a badge that conflicts with storefront and checkout behavior, creating misleading customer information.

Question 7

New Single answer

Topic: Customizing Sales Operations

Skill tested: Implements a payment method through supported payment method interfaces and availability checks.

A merchant is adding a regional payment option that is available only for certain countries and currencies. The provider supplies a hosted checkout redirect, and no card data may pass through Commerce. The method should appear only when its configuration is enabled and the current quote meets the provider's restrictions. Which design best fits the platform's payment integration model?

Correct Answer: B. Implement a payment method using the supported payment interfaces, expose its configuration and availability rules, and initiate the provider redirect through the checkout flow.
Explanation:

A payment integration belongs in the payment method model and checkout integration, where configuration, availability, and payment placement behavior can be controlled. The availability logic can suppress the method for unsupported countries or currencies, while the hosted redirect avoids handling card data in Commerce. Replacing the global renderer is unnecessarily broad and does not properly model payment operations. Shipping carriers handle delivery rates, and exposing credentials in browser code is insecure.

Question 8

New Multiple answers

Topic: Adobe Commerce Cloud architecture

Skill tested: Diagnoses Cloud deployment failures using deployment logs and the correct configuration ownership boundary.

A Cloud environment's deployment fails while processing application configuration. The application log shows no corresponding runtime exception because the release has not reached the serving phase. A developer proposes editing a managed service setting directly on the host, but the project team must keep environment configuration reproducible and follow Cloud support boundaries. They can inspect the project repository and Cloud environment logs. Which two actions should they take first? Select TWO.

Correct Answer: C. Inspect the deployment logs for the failing build or deploy hook and identify the configuration step that returned an error.; E. Validate the committed .magento.app.yaml and .magento/services.yaml configuration against the intended application and service setup.
Explanation:

A deployment-stage failure should be diagnosed from deployment logs, which identify the failed build or deploy activity before the application serves requests. The repository's Cloud YAML files define application and service configuration, so validating the relevant committed configuration is the reproducible next step. Direct host edits are not a durable project configuration strategy and may be unsupported. A missing runtime exception does not implicate Fastly, and generated runtime configuration should not replace the project's supported deployment configuration.

Question 9

New Single answer

Topic: Adobe Commerce Cloud architecture

Skill tested: Uses ECE-Tools patching and upgrade practices to maintain Cloud deployment tooling.

A project's security review identifies that its installed ECE-Tools release is behind the version required for a recommended Cloud fix. The team wants to keep the Composer dependency graph reproducible and ensure the change is present in future builds. A developer suggests applying a one-off patch directly inside vendor/ and committing that directory. What is the best action?

Correct Answer: A. Update the ECE-Tools Composer dependency to an appropriate supported version, commit the dependency-file and lock-file changes, and rebuild the environment.
Explanation:

ECE-Tools is a Composer-managed dependency, so updating the dependency and lock file gives the project a reproducible build using the selected release. Changes made directly under vendor/ are overwritten by Composer and are not a reliable maintenance mechanism. Copying tooling into application code creates a fragile fork, while disabling deployment hooks removes deployment functionality instead of correcting the tool version. The project should use a compatible supported release and verify the deployment after rebuilding.

Question 10

New Multiple answers

Topic: Setup/Configuring Adobe Commerce Cloud

Skill tested: Manages Cloud environment variables and branching through supported environment controls.

A team operates a staging environment and needs to change a runtime feature flag without committing a secret or modifying application source. The same team must create a feature branch from staging, test it, and merge the change back through its normal Cloud workflow. They want the value to apply only to the intended environment and to use supported Cloud controls. Which two actions meet the requirements? Select TWO.

Correct Answer: B. Create the feature branch from the staging environment using the Cloud branch-management workflow, then merge it after validation.; C. Set the variable through the Cloud environment management interface for the staging environment, with the intended scope and visibility.
Explanation:

Cloud environment variables are managed at the environment level, allowing a runtime value to be scoped to staging without committing it to source. The Cloud branch workflow creates and manages environment branches for testing and subsequent integration. A committed config.php can propagate settings more broadly and is inappropriate for secrets or environment-specific runtime values. Generated env.php changes are not a reliable deployment mechanism, and production variables do not automatically provide the desired staging configuration.

Question 11

New Multiple answers

Topic: Commerce Cloud CLI tool (Managing part)

Skill tested: Uses Cloud CLI environment operations and service tunnels for safe troubleshooting.

An engineer must investigate a database-related issue in a non-production Cloud environment. The investigation requires a local SQL client to connect to the remote database, and a safe database snapshot is also needed before testing a remediation. The team uses the Cloud CLI and must avoid exposing database ports publicly or making changes directly on production. Which two actions are most appropriate? Select TWO.

Correct Answer: A. Use the Cloud CLI's database dump capability for the non-production environment before testing the remediation.; B. Use the Cloud CLI to open an SSH tunnel to the target environment's database service and connect the local client through that tunnel.
Explanation:

A service tunnel provides a controlled connection from a local client to a Cloud service without making the database publicly accessible. A CLI database dump provides a useful snapshot of the non-production database before a test changes data. Opening a public database port increases exposure, and testing first on production violates the stated safety constraint. A storefront URL is an HTTP endpoint, not a database host, and storefront credentials do not provide database access.

Question 12

New Single answer

Topic: Adobe Commerce Architecture and Customization Techniques

Skill tested: Designs an integration test that exercises a module through Commerce service contracts.

A custom module adds a service that applies a discount rule to a quote. A regression appeared after a dependency-injection change, although isolated unit tests still pass. The team needs a test that verifies the module's real object wiring and database-backed behavior without depending on an external payment gateway or a particular storefront theme. Which test approach is the best fit?

Correct Answer: B. Add an integration test that bootstraps Commerce, obtains the service through dependency injection, and verifies the rule against a controlled quote fixture.
Explanation:

An integration test boots the Commerce application and exercises the service through the configured dependency-injection system, which is essential when the regression concerns object wiring and database-backed behavior. A controlled fixture keeps the result deterministic without relying on external services. A JavaScript test does not cover the server-side service, direct construction bypasses the wiring under investigation, and a live gateway functional test adds unnecessary external dependency and risk.