In an AEM as a Cloud Service environment, a client needs a feature to be able to explicitly clear a dispatcher cache of required resources.
Which approach is preferred to create this feature?
Answer : B
In an AEM as a Cloud Service environment, the preferred approach to clear dispatcher cache of required resources is to use the Replication API along with a replication flush agent. This method allows for programmatic clearing of the cache and is the standard way of invalidating cached content so that the dispatcher can retrieve fresh content from the publish instance.
Option A, 'Enable the explicit cache invalidation feature in cloud manager,' is not a standard feature available in Cloud Manager.
Option C, 'Create a servlet, which will make an HTTP request to the dispatcher,' is not advisable as it bypasses the recommended AEM replication and flushing mechanisms and could lead to inconsistencies.
A developer needs to use AEM Core Components in production mode (without sample content). The developer would like to do this without needing to download and install the core components before using them.
Which AEM version would the developer use?
Answer : C
AEM as a Cloud Service includes the latest AEM features out-of-the-box, including AEM Core Components, which are production-ready without the need for additional downloads or installations of sample content. This version of AEM has a continuous delivery model, ensuring that the most up-to-date features and components are readily available.
Option A, Version 6.3, is incorrect because this version would require the manual download and installation of core components.
Option B, Adobe Managed Services, is not a version of AEM, but rather a hosting option that could include various versions of AEM.
While configuring a Content Fragment Component, the author has selected 'Display Mode' as 'Single Text Element'. This enables the selection of one multiline text element and enables paragraph control options.
Which two properties will now determine the resulting action? (Choose two.)
Answer : C, D
When the 'Display Mode' is set to 'Single Text Element' in the configuration of a Content Fragment Component in AEM, the properties that will determine the resulting action are related to how the text is displayed and managed in terms of paragraphs.
C) Paragraph Range --- This property would determine the range of paragraphs to display from the multiline text element.
D) Paragraph Scope --- This property would define the scope of the paragraph, such as whether all paragraphs are included or just a specific subset.
Options A (Paragraph Description) and B (Paragraph Heading) are not directly related to the action of displaying a single text element with paragraph control.
A developer has created a custom workflow model which includes a JAVA-based custom process step. During the creation of this custom process step, some data has been saved in metadata programmatically for subsequent workflow steps.
Which code snippet can be used to save this metadata in JAVA code7
Answer : C
When working with custom workflow steps in AEM, metadata associated with the workflow session can be programmatically accessed and manipulated. The MetaDataMap object serves as a container for this data. The correct way to access and modify this metadata in Java would be:
Option C, MetaDataMap wfd = WorkItem.getWorkflow().getWorkflowData().getMetaDataMap(); wfd.put('mykey', 'My Step Value'); This snippet correctly retrieves the MetaDataMap from the WorkflowData of the current Workflow session. It then uses the put method to store a new key-value pair, where 'mykey' is the key and 'My Step Value' is the value to be saved.
Options A and B do not properly chain the method calls to access the MetaDataMap associated with the current workflow session and are therefore incorrect.
A developer needs to extend a complete dialog from the core component, except for one tab.
Which property can be used to achieve this goal?
Answer : C
In AEM, when you need to extend a dialog from a core component but want to hide or exclude one tab or part of the dialog, you can use the sling:hideResource property. This property allows you to selectively hide resources (like a tab in a dialog) inherited from a super type (the core component) in your overlay or custom component.
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.)
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.
A content author will be using live copies on AEM.
Which two factors must the content author now consider? (Choose two.)
Answer : A, D
In Adobe Experience Manager (AEM), when dealing with live copies, a content author must be aware of various factors related to the synchronization of content between the source (blueprint) and the live copies. Option A is correct because when inheritance is re-enabled on a live copy page, synchronization with the blueprint page occurs, which may include automatic updates to the live copy page's content. Option D is also correct because local changes made to a component marked as a container are protected during rollouts, meaning that these local changes will not be overwritten by content from the blueprint. The container concept in AEM allows for more granular control over which parts of the page are updated during synchronization.
For Option B, the term 'paragraph system' seems incorrect. It should likely refer to 'paragraph systems' as in the ParSys (Paragraph System), a component that allows authors to add components to a page. There is no automatic restoration of the order of components from the blueprint upon re-enabling canceled inheritance; instead, components are managed according to the rules set in the rollout configurations.
Option C is incorrect because the cancel and suspend actions can be applied to individual child components within a container. When inheritance is canceled for a container, the inheritance status of child components within that container can be controlled individually.