Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Adobe Exam AD0-E123 Topic 3 Question 32 Discussion

Actual exam question for Adobe's AD0-E123 exam
Question #: 32
Topic #: 3
[All AD0-E123 Questions]

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 Suggested Answer Hide Answer
Suggested Answer: C

To start an AEM instance in debug mode automatically, without manually providing JVM parameters each time, a developer can add the required JVM parameters to the AEM instance's start script. This script is executed every time the AEM instance is started, and by including the debug parameters there, the instance will automatically start in debug mode each time. The start script is typically named start.bat (for Windows) or start.sh (for Unix-based systems) and is located in the AEM installation directory.

Adding JVM parameters to a properties file under a run mode-specific directory (Option A) or setting an OSGi configuration (Option B) are not standard methods for configuring JVM debug parameters for AEM startup.


Contribute your Thoughts:

Virgina
5 days ago
B and C look like they might work, but I'm not sure if they're the best approach for this specific scenario. I'll have to double-check the documentation to be sure.
upvoted 0 times
...
Belen
12 days ago
I think A and D are the correct approaches to read the value of testParam in the Sling model. The @Inject and @Source annotations are used to inject request-level data, while @Prop is used to inject component-level properties.
upvoted 0 times
...
Jolene
16 days ago
Actually, I think it's A and C because they use the correct annotations for reading the value.
upvoted 0 times
...
Valentine
23 days ago
I believe it's B and C that read the value of testParam.
upvoted 0 times
...
Jolene
27 days ago
I think the correct approaches are A and D.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77