Limited-Time Offer: Enjoy 60% Savings! - Ends In 0d 00h 00m 00s Coupon code: 60OFF
Welcome to QA4Exam
Logo

- Trusted Worldwide Questions & Answers

Most Recent Adobe AD0-E123 Exam Questions & Answers


Prepare for the Adobe Experience Manager Sites Developer Professional exam with our extensive collection of questions and answers. These practice Q&A are updated according to the latest syllabus, providing you with the tools needed to review and test your knowledge.

QA4Exam focus on the latest syllabus and exam objectives, our practice Q&A are designed to help you identify key topics and solidify your understanding. By focusing on the core curriculum, These Questions & Answers helps you cover all the essential topics, ensuring you're well-prepared for every section of the exam. Each question comes with a detailed explanation, offering valuable insights and helping you to learn from your mistakes. Whether you're looking to assess your progress or dive deeper into complex topics, our updated Q&A will provide the support you need to confidently approach the Adobe AD0-E123 exam and achieve success.

The questions for AD0-E123 were last updated on Jan 21, 2025.
  • Viewing page 1 out of 10 pages.
  • Viewing questions 1-5 out of 50 questions
Get All 50 Questions & Answers
Question No. 1

A developer wants to write a Java service that will serve some data to the custom component.

Which one of the Maven modules is the place to create this service?

Show Answer Hide Answer
Correct Answer: C

A Java service, which is a backend Java class that encapsulates some business logic or functionality, should be placed in the core Maven module of an AEM project. This module is intended for the Java code that contains OSGi services, servlets, and other Java backend code. By creating the service in the core module, it can be properly compiled, packaged, and deployed as an OSGi bundle within AEM.


Question No. 2

The SAML Authentication Handler is disabled by default, and the developer wants to enable this handler

Which two properties must be at least one of the configured properties? (Choose two.)

Show Answer Hide Answer
Correct Answer: A, D

To enable the SAML (Security Assertion Markup Language) Authentication Handler in Adobe Experience Manager (AEM), certain critical properties need to be configured to establish the necessary trust and communication between the Identity Provider (IdP) and the Service Provider (SP, which in this case is AEM).

A) IDPURL (Identity Provider URL) - This property is essential for configuring the SAML Authentication Handler as it specifies the URL of the Identity Provider. This URL is used by AEM to redirect authentication requests to the IdP. It is crucial for initiating the SAML SSO (Single Sign-On) process.

D) Service Provider Entity ID - This is a unique identifier for the Service Provider (AEM in this context). It is used by the Identity Provider to recognize the Service Provider. The Entity ID is a key component of the SAML assertions and is used to ensure that the SAML responses are directed to the correct entity.

B) Password of Key Store is important for securing the communication between IdP and SP by encrypting the SAML assertions, but it is not mandatory for the basic enablement of the SAML Authentication Handler.

C) Identity Provider POST URL is used in scenarios where the SAML response from the IdP is sent via HTTP POST. While it's important for the SAML configuration, the initial enablement and basic functionality of the SAML Authentication Handler primarily depend on the IdP URL and the SP Entity ID.


Question No. 3

A developer wants to be able to execute the following query:

SELECT

*

FROM [ntbase] AS s

WHERE

s.status ='STARTED'

Which two options are mandatory additions to the Index? (Choose two.)

Show Answer Hide Answer
Correct Answer: A, D

When creating a custom query in AEM's JCR (Java Content Repository), the query's performance is highly dependent on the indexing configuration. For the given query that selects all nodes with a 'status' property equal to 'STARTED' from the 'nt:base' node type, the index must be set up correctly:

Option A, 'nt:base index rule', is correct. The index rule for 'nt:base' must be added to define which properties of nodes of this type are indexed.

Option D, 'status property with propertyIndex = true', is also correct. This index ensures that queries filtering on the 'status' property are executed efficiently. The property index should be set to true, which means that this property is indexed and the query will use this index to filter the results.

Option B is incorrect because setting the property index to false would mean that the property is not indexed, making the query less efficient since the repository would need to scan each node to find matches.

Option C, 'nt:base aggregate', is not mandatory. Aggregates are used to include properties of related nodes in the index, but they are not required for a simple property match like the one in the given query.


Question No. 4

Review the following HTL code snippet:

use.testComponent='${com.adobe.core.models.TestComponent'@

testParam='testValue'}'>

Which two approaches correctly read the value of testParam in Sling model? (Choose two.)

Show Answer Hide Answer
Correct Answer: B, C

In Sling Models, annotations are used to map request parameters, attributes, and properties to fields in Java classes. When an HTL script passes parameters to a Sling Model, the Sling Model can use annotations to access these parameters.

Option B uses the @RequestAttribute annotation which allows the Sling Model to retrieve an attribute that has been set on the Sling HTTP request object. This is a valid approach to read the 'testParam' if it has been set as a request attribute.

Option C uses the @Inject annotation with the name attribute specifying the name of the parameter to inject. This is another valid approach to read the 'testParam' from the request.

Option A is incorrect because @Named is not the correct annotation for retrieving request attributes or parameters.

Option D is incorrect because there is no @Prop annotation in Sling Models; it's likely confused with the @Property annotation which is not the correct one for this context either.


Question No. 5

Given this configuration property:

Which page will be cached on the dispatcher?

Show Answer Hide Answer
Correct Answer: C

Given the dispatcher configuration snippet provided in the image, we can understand the URL patterns that will be ignored (not cached) by the dispatcher. The configuration under /ignoreUrlParams shows patterns to match query parameters in the URLs:

/0001 { /glob '*' /type 'deny' } means that by default, all query parameters are ignored (not cached).

/0002 { /glob 'search' /type 'allow' } specifically allows caching for URLs with the 'search' parameter.

/0003 { /glob 'order' /type 'allow' } specifically allows caching for URLs with the 'order' parameter.

Based on this, let's evaluate the options:

A) /myproduct/myrecipe.html?search=searchparam --- This URL will not be cached because the 'search' parameter is allowed, but the actual value 'searchparam' does not match any allow pattern. B) /myproduct/myrecipe.html?search=s&order=asc&brand=ad --- This URL will not be cached because although 'search' and 'order' parameters are allowed, the 'brand' parameter is not allowed according to the configuration. C. /myproduct/myrecipe.html?brand=mybrand --- This URL will be cached because there are no allowed parameters, so the default deny does not apply, and the page can be cached without considering the 'brand' parameter.

Therefore, the page that will be cached on the dispatcher is the one in option C, as it does not contain any of the explicitly allowed query parameters ('search' or 'order'), and all other parameters are ignored by default.


Unlock All Questions for Adobe AD0-E123 Exam

Full Exam Access, Actual Exam Questions, Validated Answers, Anytime Anywhere, No Download Limits, No Practice Limits

Get All 50 Questions & Answers