Which configuration on the dispatcher allows the cache of the request with an authorization header?
Answer(s): B
In the dispatcher configuration, to allow the caching of requests with an authorization header, the property /cacheAuthorized "true" must be set. By default, the dispatcher does not cache responses to requests that include authorization headers to prevent private or user-specific data from being incorrectly cached and served to other users. Setting this property to true overrides the default behavior, enabling the cache to store and serve responses even for requests that contain an authorization header.
An author wants to define a blueprint configuration to identify an existing website that will be used as the source for one or more live copy pages.Which two structure rules must the content author follow? (Choose two.)
Answer(s): B,D
When defining a blueprint configuration in AEM, the content author must adhere to certain structure rules to ensure the proper functioning of the live copy mechanism. The rules include:B) The immediate child pages of the root are language branches of the website - This structure is commonly used in AEM to organize content according to language and regional variations, allowing for more manageable and scalable content management across different locales. D) The website should have a single page as the root - Having a single root page for a website is a standard practice in AEM as it simplifies the content hierarchy and provides a clear entry point for the site structure. This root page then serves as the source for live copies. Options A and C are not strict requirements for a blueprint configuration. AEM does not mandate that the root of each language branch has at least two child pages or that each language page must have a country child page. These decisions are usually based on the specific content structure and organizational needs of the website.
Which two configurations will be applied if an instance starts with the run modes author, dev, and emea7 (Choose two.)
When an AEM instance starts with specified run modes, it selects configurations from the repository that match those run modes. Run modes allow for flexible management of settings and configurations across different environments. For the instance started with 'author', 'dev', and 'emea' run modes, it would apply configurations from paths that match these run modes.Option B, /config/author.dev.emea.noldap, is correct. This path matches all three run modes specified and would, therefore, be included.Option D, /apps/mysite/config.author.emea.dev, is also correct. This path matches the run modes and would be applied to the instance as well.Options A and C do not match all three run modes and therefore would not be applied.
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(s): 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 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
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.
Post your Comments and Discuss Adobe AD0-E123 exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the AD0-E123 content, but please register or login to continue.