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

Free Adobe Experience Manager Sites Developer Expert AD0-E137 Exam Questions

Last updated: · 15 practice questions with answers and explanations

Page: 1 / 9 Total 50 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Configurations

Skill tested: Selects Dispatcher filters that securely expose only required AEM publishing endpoints.

A commerce site uses AEM Publish behind Dispatcher. The application must allow anonymous visitors to view pages and submit requests to a dedicated form endpoint. The security review found that the current filter rules allow broad access to repository paths, including authoring-oriented endpoints. The team must preserve normal page delivery and the required form submission while denying access to internal paths and unnecessary query-based operations. Which approach is most appropriate?

Correct Answer: B. Start with a deny-all Dispatcher filter policy, allow only the required public content paths and exact form endpoint/method, and deny sensitive paths and unused operations.
Explanation:

A restrictive Dispatcher filter policy uses deny-by-default behavior and adds narrowly scoped allows for the public content and required form request. This reduces exposure of repository and internal endpoints while preserving the stated functionality. Broadly allowing /apps or all POST requests creates unnecessary attack surface; Publish authentication is not a substitute for Dispatcher filtering. Selectors alone do not define a complete security boundary, and cache rules govern caching rather than request authorization.

Question 2

New Multiple answers

Topic: Configurations

Skill tested: Chooses replication agent types and settings for secure, controlled content delivery.

A publisher operates two independent delivery paths. Public website activations must reach a production Publish tier through an approved outbound transport, while a separate partner endpoint must receive only explicitly published assets and metadata using a custom integration. The partner connection must not become the default replication path for ordinary page activations. Which two design decisions best meet these requirements? Select TWO.

Correct Answer: B. Configure the partner integration as a custom replication agent/transport and target it explicitly for the content that requires partner delivery.; E. Configure a standard publish replication agent for the production Publish tier and enable it only for the intended public activation path.
Explanation:

The standard publish agent is the appropriate mechanism for ordinary Author-to-Publish activation, while a custom agent or transport can implement the partner-specific delivery protocol. Explicit targeting keeps that integration separate from normal publishing. Reverse replication is for content flowing back from Publish to Author, not outbound activation. Making the partner destination the default agent would broaden delivery beyond the stated asset subset. Dispatcher flush agents invalidate caches; they do not transfer content payloads.

Question 3

New Single answer

Topic: Configurations

Skill tested: Maps AEM SAML authentication setup to the correct trust, user, and service-provider configuration.

An enterprise wants employees to sign in to AEM Author through its existing SAML identity provider. AEM must validate signed assertions, create or update users using a stable identity attribute, and retain the existing local emergency administrator account. The team has completed the identity-provider metadata exchange but has not configured AEM. Which next configuration plan is best?

Correct Answer: D. Configure the SAML authentication handler for the applicable Author paths, import or trust the IdP signing certificate, map the stable assertion attribute to the user ID, and verify service-provider settings and account synchronization.
Explanation:

AEM SAML integration requires appropriate authentication-handler configuration, trust of the IdP signing certificate, service-provider settings, and a reliable mapping from assertion attributes to AEM user identity. Path scope and user synchronization must also be planned. LDAP is a separate directory-authentication integration and does not automatically convert SAML assertions. Dispatcher does not perform AEM SAML validation. Removing all local accounts would undermine the required emergency access, while asynchronous user creation is not the authentication configuration.

Question 4

New Single answer

Topic: Configurations

Skill tested: Configures LDAP authentication while preserving secure directory access and authorization boundaries.

A company is connecting an AEM Author environment to its corporate directory for employee authentication. Only members of a designated directory subtree should be eligible to log in, and AEM groups must continue to determine repository permissions. The directory team requires encrypted transport and will provide a service-account bind credential. Which approach best satisfies the requirements?

Correct Answer: B. Create an LDAP identity provider and synchronization handler, use the supplied bind account over TLS, constrain the search base and user filter, and map directory groups without replacing AEM ACL design.
Explanation:

AEM LDAP integration separates authentication through the LDAP identity provider from user and group synchronization. TLS protects the directory connection, and search base/filter settings restrict which accounts are eligible. Directory group mapping can support authorization, but repository ACLs remain the mechanism for AEM permissions. Granting all users administrator privileges is unsafe and Dispatcher is not an authorization layer for repository access. Credentials should not be stored in content or queried from rendering models. Synchronization alone does not provide the authentication provider.

Question 5

New Multiple answers

Topic: Configurations

Skill tested: Plans tenant-specific editable templates and content fragment models with controlled configuration scope.

A multi-tenant AEM Sites deployment serves three brands from one Author instance. Each brand needs its own editable page templates and Content Fragment models, while a shared platform team owns common policy and naming standards. Authors must not accidentally use another brand's templates or models. The tenants share the same AEM runtime, so separate installations are not an option. Which TWO configuration choices best support this design? Select TWO.

Correct Answer: B. Place tenant-specific template structures and policies in appropriately scoped /conf tenant configurations, and associate each site with its intended configuration.; E. Define Content Fragment models under the relevant tenant configuration and expose only the required models through that tenant's configuration and permissions.
Explanation:

AEM configuration scopes under /conf support tenant-specific editable-template structures and Content Fragment Models. Linking each site to its intended configuration, together with repository permissions and controlled model exposure, helps prevent cross-tenant authoring. Putting tenant content definitions in /apps does not provide the required author-facing configuration separation. Per-author trees and "most recently edited" inheritance are not sound configuration models. Template policies belong to editable-template configuration, not page titles in /content.

Question 6

New Single answer

Topic: Configurations

Skill tested: Selects the correct replication agent for Dispatcher cache invalidation after activation.

After a content activation, a site's Dispatcher cache continues to serve an outdated page until its cache lifetime expires. The production architecture already has a functioning Author-to-Publish replication agent, and the Dispatcher is reachable from the replication network. The requirement is to invalidate affected cached files when content is activated; no content payload should be sent to a new destination. What should the team configure?

Correct Answer: A. A Dispatcher flush agent configured for the applicable Dispatcher endpoint and activation events.
Explanation:

A Dispatcher flush agent sends cache invalidation requests so Dispatcher can remove or invalidate cached content affected by activation. It complements, rather than replaces, the existing Author-to-Publish content replication. Reverse replication carries eligible content from Publish back to Author. Dispatcher is not a replication target for page payloads, so configuring a publish agent to write into its cache or using a static agent would confuse content delivery with cache invalidation.

Question 7

New Single answer

Topic: AEM development

Skill tested: Designs Sling Models and HTL rendering with safe adaptation and context-aware output.

A reusable teaser component reads a page reference, obtains the referenced page title and description, and renders an optional link. Authors can leave the reference unset, and some referenced pages have no description. The component must not throw during rendering or expose unescaped author-entered text. The implementation uses HTL and a Sling Model adapted from the request. Which design is best?

Correct Answer: A. Use a request-adaptable Sling Model with optional injected values, derive safe defaults when the page or properties are absent, and render values through HTL context-aware expressions.
Explanation:

Optional references and properties should be modeled defensively, using optional injection or explicit null-safe lookup and suitable defaults. HTL's context-aware escaping helps prevent untrusted author text from becoming executable markup. Required injection would make the component fragile when authors omit optional data. Disabling escaping or concatenating repository values into raw HTML creates injection risk. Repository access belongs in an appropriately designed model or service, not directly in HTL, and a Resource-only assumption does not match the stated request adaptation.

Question 8

New Multiple answers

Topic: AEM development

Skill tested: Exposes Sling Model data through a correctly registered Sling Model Exporter for JSON consumers.

A headless consumer needs JSON for a page component model, including a title, a list of child items, and a stable exported type identifier. The existing Sling Model renders correctly through HTL, but requesting the component resource with the JSON exporter selector does not expose the model. The project uses Sling Models and the standard Jackson exporter. Which TWO implementation changes are required? Select TWO.

Correct Answer: D. Annotate the model with the appropriate Sling Model adapter and resource type metadata, and declare the Jackson exporter with its JSON extension.; E. Expose intended properties through public model getters or exporter-compatible methods, excluding internal implementation state.
Explanation:

The Sling Model Exporter requires the model to be registered with the appropriate adapter and resource type and to declare the exporter and extension, such as the Jackson JSON exporter. Exportable data must be exposed through supported getters or methods; this also lets the implementation deliberately control its API surface. Java native serialization is not the Sling Model Exporter contract. Changing the resource type breaks component identity and does not provide automatic child discovery. Model classes are code, not content to store under /content.

Question 9

New Single answer

Topic: AEM development

Skill tested: Structures an AEM SPA component model and mapping for predictable client-side rendering.

A team is converting an AEM Sites experience to a single-page application while retaining authoring through the Page Editor. Authors need to configure a card list, and the client must receive the component's data in the page model with a stable component mapping. The design must continue to use AEM component resource types rather than embedding authoring logic in the client. Which approach is most appropriate?

Correct Answer: C. Create an AEM component and Sling Model that exposes the card data through the page model, then register the matching resource-type-to-client-component mapping in the SPA.
Explanation:

AEM's SPA Editor integration relies on AEM components and their resource types, with model data made available through the page model and mapped to corresponding client-side components. This preserves authoring and a stable contract between content and rendering. Hard-coded client content bypasses author configuration. Arbitrary repository access from the client is unsafe and does not provide a controlled component model. Workflows are not a mechanism for generating per-page client JavaScript or replacing component rendering.

Question 10

New Single answer

Topic: AEM development

Skill tested: Builds isolated Sling Model unit tests using AEM mocks and explicit test data.

A developer needs a repeatable unit test for a Sling Model that adapts a component resource, reads a dialog property, and resolves a referenced page. The test must run without starting an AEM instance or depending on a shared test repository. Which approach provides the most reliable coverage of the model's behavior?

Correct Answer: A. Use an AEM/Sling mock context to register the model, create the component and referenced page in the mock resource tree, set properties, adapt the resource, and assert the model output.
Explanation:

AEM/Sling mock contexts provide an isolated in-memory repository and support model registration and adaptation, allowing a test to exercise the real model against controlled content. Creating the component resource, referenced page, and properties makes the test deterministic and verifies lookup behavior as well as output. Production deployment is slow and risky for unit testing. Mocking the model itself does not test its implementation, while relying on a local repository makes results non-repeatable and environment-dependent.

Question 11

New Multiple answers

Topic: AEM development

Skill tested: Designs third-party API integration behind OSGi services with resilient, controlled dependencies.

A Sites component must display availability data from a third-party API. The endpoint and credentials vary by environment, the vendor can respond slowly or intermittently, and repeated component rendering must not create uncontrolled outbound requests. The team wants to keep external-system concerns out of HTL and make the integration testable. Which TWO design decisions best satisfy these constraints? Select TWO.

Correct Answer: D. Introduce bounded timeouts and an appropriate cache or request-coalescing strategy, and test the service with a mocked HTTP dependency.; E. Implement an OSGi service that owns the HTTP integration and reads endpoint and credential settings from environment-appropriate OSGi configuration.
Explanation:

An OSGi service provides a testable boundary for the external API, while environment-specific configuration keeps endpoints and credentials out of component content and code. Timeouts prevent slow vendor calls from consuming rendering resources indefinitely; caching or request coalescing limits duplicate calls. A mocked HTTP dependency supports deterministic service tests. HTL should not perform integration logic, client-side configuration exposes secrets, and per-render clients with unbounded retries increase load and failure risk.

Question 12

New Single answer

Topic: AEM development

Skill tested: Separates component dialog structure, Sling Model behavior, and HTL presentation responsibilities.

A new article component needs author-editable heading and display options, a Sling Model that derives a reading-time value from the article body, and server-rendered markup that remains accessible. The team wants the implementation to follow standard AEM component conventions and keep content, business logic, and presentation separately maintainable. Which file and responsibility arrangement is best?

Correct Answer: A. Define authoring fields in the component dialog, implement derived values in a Sling Model, and render semantic markup in the component HTL script.
Explanation:

A conventional AEM component separates authoring configuration, server-side model logic, and rendering: the dialog defines editable properties, the Sling Model derives values, and HTL produces accessible markup. Component policies configure template-level behavior rather than replacing a component dialog or storing markup. Workflows are asynchronous process mechanisms, not per-render business logic. Dispatcher filters and content nodes are not appropriate locations for component calculations or dialog definitions.

Question 13

New Single answer

Topic: Build and Deployment

Skill tested: Generates an AEM project with the Maven archetype and selects appropriate project modules.

A delivery team is starting a new AEM Sites implementation and must create a maintainable Maven project containing deployable application code, content package structure, and automated tests. The repository should follow the standard AEM project layout rather than a manually assembled bundle. Which approach is the best starting point?

Correct Answer: D. Use the supported AEM Project Archetype through Maven with the project's group, artifact, application, and package parameters, then build and validate the generated modules.
Explanation:

The AEM Project Archetype generates a conventional multi-module Maven project whose modules separate application code, content structures, bundles, and tests as applicable to the selected archetype options. Project parameters should reflect the implementation, and the generated build should be validated before deployment. A single manually assembled package mixes concerns and omits a reliable build structure. Copying runtime repository data is not project scaffolding. Installing Java bundles manually bypasses reproducible source-controlled builds.

Question 14

New Multiple answers

Topic: Build and Deployment

Skill tested: Scopes OSGi configurations to AEM run modes for environment-specific deployment behavior.

A service must use a sandbox API endpoint in development and a production endpoint in production. Credentials are provided separately by each environment's deployment process, and the same application package must be promotable without rebuilding. The team also wants to prevent a development configuration from taking precedence on production. Which TWO practices are appropriate? Select TWO.

Correct Answer: A. Use environment-specific configuration injection for secrets and keep credentials out of source-controlled content packages.; B. Provide OSGi configurations with run-mode-specific names for the intended environments and verify the active run modes at deployment.
Explanation:

Run-mode-specific OSGi configuration lets the same code package resolve different settings in development and production, provided the runtime is launched with the intended modes and configuration precedence is verified. Secret values should be supplied through the deployment environment rather than committed in ordinary packages or Java source. Hard-coding values defeats promotion. Package installation order is not a safe environment-selection mechanism, and an Author UI preference does not replace runtime run-mode configuration.

Question 15

New Single answer

Topic: Build and Deployment

Skill tested: Uses Oak index definitions and controlled reindexing to improve query performance safely.

A production search query scans a large portion of the repository and causes elevated response times. Query analysis shows that the query filters and sorts on properties for which no suitable index exists. The repository contains substantial content, so any reindex operation must be planned to avoid an unreviewed production load. What is the best next implementation plan?

Correct Answer: B. Define a targeted Oak index under the project's index-definition location, validate it against the query and data shape, then deploy and schedule any required reindexing with production impact assessed.
Explanation:

A targeted Oak index should match the query's predicates and ordering, and its definition should be validated before deployment. Indexing large existing content may trigger significant work, so reindexing behavior and timing require operational assessment. Dispatcher caching can reduce repeated requests but does not supply an Oak index or correct an expensive uncached query. A broad index can consume resources and immediate peak-time reindexing is risky. Fetching all nodes and sorting in memory worsens scalability.