A developer needs to create a runmode-specific OSGi configuration for an AEM as a Cloud Service implementation.
In which location should the OSGi configuration be created?
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
Which method should be used to represent this model in HTL?
A
B
C
D
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]
A developer has to create a Logger and Writer pair for the company's application logging.
Which OSGi configurations should the developer use?
AApache Sling Logging Logger Configuration and Apache Sling Logging Configuration
BApache Sling Request Logger and Apache Sling Logging Writer Configuration
Become a Supporter and enjoy a completely ad-free experience, plus unlock Learn Mode, Exam Mode, AstroTutor AI, and more.
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
An AEM server is overloaded with too many concurrently running workflows. The developer decides to reduce the number of concurrent workflows.
What should be configured to reduce the number of concurrent workflows?
AThe number of threads in Scheduler
BThe number of threads in Apache Felix Jetty Http Service
CLaunchers for each workflow
DMaximum Parallel Jobs in OSGI console
A client is having issues with some query results:
Many of the client's industry terms have the same meaning, and users do not always search the exact wording
Many users search by typing in short phrases instead of exact keywords, ex:// “cats and dogs”
What index analyzers should the AEM developer recommend?
A
Add a Mapping filter to the current indexes2. Add a Stop filter to the current indexes
B
Tokenize the current indexes with a Keyword tokenizer2. Add a Mapping filter to the current indexes
C
Add a Synonym filter to the current indexes2. Add a Stop filter to the current indexes
D
Add a Synonym filter to the current indexes2. Add a LowerCase filter to the current indexes
Which tool should a developer use to look up Adobe Identity Management System (IMS) users by email and return their IMS IDs?
ADeveloper Console
BUser Mapping Tool
CIMS Lookup Tool
DCloud Acceleration
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?
An AEM application has a Header and Footer authored on every page.
The customer asks for the following:
A centralized Header and Footer
The ability to create a variation for both the Header and Footer
Change the Header and Footer for specific time periods
The ability to restore a previous version for both the Header and Footer
What should the developer use to meet the requirements?
ACustom component
BContent fragment
CStatic template
DExperience fragment
A snippet throws an exception at runtime:
What should the developer add to fix it?
AdefaultInjectionStrategy = DefaultInjectionStrategy property to @Model Class annotation
B@Optional annotation to page field
Cthrows Exception at the end of the init method declaration
DSlingHttpServletRequest.class to adaptables property of @Model Class annotation
A developer needs to create a new Title component. The requirements are:
The layout must be the same as the Title core component
The text property must have the page title as prefix (e.g., Page Title - <component text>)
The component must be reusable
Which approach is recommended?
A
Create a Proxy Component of Title core component2. Create a Custom Sling Model that overrides the default behavior3. Customize the component template
B
Create a custom component from scratch2. Create a Custom Sling Model for the component that follows the requirement3. Create a Model Exporter
C
Create a Proxy Component from Title core component2. Create a Custom Sling Model that overrides the default behavior
A developer is on an AEM application that is being used to calculate an employee's salary. The calculation is done in an OSGi service called CalculationService. This service class has a dependency on one other service, called the EmployeeService.
How should the developer make sure that the critical code in the CalculationService has a high unit test coverage?
AUse a mock framework in the unit test to inject the CalculationService
BInstantiate the EmployeeService in the unit test and pass it to the constructor of the CalculationService
CUse a mock framework in the unit test to inject the EmployeeService
DUse the feature flag in the unit test to disable the calls to the EmployeeService
A developer needs to create a workflow custom process step in AEM. In a custom process step, an OSGi component needs to implement the WorkflowProcess interface.
Which method should the developer implement?
Acall
Bapply
Cexecute
Dsubmit
An AEM Developer receives requirements for Sling Models in a human-readable yaml format. A custom application needs to be built. The dependency is as shown:
After implementing ModelExporter, which method should be used to meet this requirement?
A
Create OSGI models to export as yaml2. Configure mime type in Apache Sling MIME Type Service
B
Create OSGI models to export as yaml2. Configure mime type in Apache Sling Servlet/Script Resolver and Error Handler
C
Create Sling models to export as yaml2. Configure mime type in Apache Sling MIME Type Service
D
Create Sling models to export as yaml2. Configure mime type in Apache Sling Referrer Filter
A customer adds third-party client libraries to add some features in an existing AEM application, which will significantly reduce performance.
How should the developer optimize the site?
AEmbed client libraries to consolidate them into fewer files.
BDebug third-party client lib and fix the code.
CRebuild Client libraries.
Which two unit testing dependencies are generated by AEM archetype? (Choose two.)
AJUnit
BSelenium
CPowerMock
DMockito
EHobbes
An application development team needs to create a multi-channel application that uses AEM as a headless CMS.
Which feature should be used to maintain structured data for this application?
AStatic template
BContent fragment
CExperience fragment
DCustom component
The following anchor tag is not resolving:
<a href =“item.path”>;{item.name}</a>;
Upon further inspection the developer notices that the link has no .html appended to the end of the URL.
What could be a potential fix for the issue?