Create a Custom Sling Model that overrides the default behavior

Create a Custom Sling Model that overrides the default behaviorView AnswerAnswer: C

August 29, 2023 No Comments READ MORE +

Which property under /cache on dispatcher.any file identifies the directory where cached files are stored?

Which property under /cache on dispatcher.any file identifies the directory where cached files are stored?A . /invalidate B. /statfile C. /docroot D. /cacherootView AnswerAnswer: C

August 28, 2023 No Comments READ MORE +

Which two implementations will support this HTL snippet?

A custom component has one dialog field: The developer needs to implement a Sling Model to perform a business logic on the authored value. The developer writes the following HTL snippet. Which two implementations will support this HTL snippet? (Choose two.) A) B) C) D) A . Option A B....

August 27, 2023 No Comments READ MORE +

Which two OSGi configuration are required for LDAP integration in AEM?

An AEM application requires LDAP Service integration to synchronize users/groups. Which two OSGi configuration are required for LDAP integration in AEM? (Select Two.)A . Apache Jackrabbit Oak AuthorizableActionProvider B. Apache Jackrabbit Oak Solr server provider C. Apache Jackrabbit Oak CUG Configuration D. Apache Jackrabbit Oak External Login Module E. Apache...

August 26, 2023 No Comments READ MORE +

A developer needs to create sling models for two fields name and occupations. The dialog has two fields, name - a single value field, and occupations - a multi value field.

A developer needs to create sling models for two fields name and occupations. The dialog has two fields, name - a single value field, and occupations - a multi value field. The following code is included in sling models inherited from interface com.adobe.aem.guides.wknd.core.models.Byline A) B) C) D) A . Option...

August 26, 2023 No Comments READ MORE +

Which environment-specific configuration is used in AEM as a Cloud Service to store private API keys?

Which environment-specific configuration is used in AEM as a Cloud Service to store private API keys?A . $[env:ENV_VAR_NAME] B. $[env:SECRET_VAR_NAME] C. $[secret:SECRET_VAR_NAME] D. $[secret:ENV_VAR_NAME]View AnswerAnswer: C Explanation: This syntax allows the developer to reference a secret variable that is stored in the Cloud Manager UI under Environment Details > Variables....

August 26, 2023 No Comments READ MORE +

Which of the following options is recommended?

An AEM application wants to set up multi-tenancy using Adobe-recommended best practices and bind multiple configurations to it. Which of the following options is recommended?A . import org.apache.felix.scr.annotations.Component; @Component(label = "My configuration", metatype = true, factory= true) B. import org.osgi.service.component.annotations.Component; @Component(service = ConfigurationFactory.class) C. import org.osgi.service.metatype.annotations.AttributeDefinition; import org.osgi.service.metatype.annotations.ObjectClassDefinition; @ObjectClassDefinition(name =...

August 25, 2023 No Comments READ MORE +

Which two OSGi configuration are required for LDAP integration in AEM?

An AEM application requires LDAP Service integration to synchronize users/groups. Which two OSGi configuration are required for LDAP integration in AEM? (Select Two.)A . Apache Jackrabbit Oak AuthorizableActionProvider B. Apache Jackrabbit Oak Solr server provider C. Apache Jackrabbit Oak CUG Configuration D. Apache Jackrabbit Oak External Login Module E. Apache...

August 25, 2023 No Comments READ MORE +

Which two implementations will support this HTL snippet?

A custom component has one dialog field: The developer needs to implement a Sling Model to perform a business logic on the authored value. The developer writes the following HTL snippet. Which two implementations will support this HTL snippet? (Choose two.) A) B) C) D) A . Option A B....

August 24, 2023 No Comments READ MORE +

Which two implementations will support this HTL snippet?

A custom component has one dialog field: The developer needs to implement a Sling Model to perform a business logic on the authored value. The developer writes the following HTL snippet. Which two implementations will support this HTL snippet? (Choose two.) A) B) C) D) A . Option A B....

August 24, 2023 No Comments READ MORE +