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 1 Question 13 Discussion

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

A developer needs to produce various content fragments depending on some dynamic names and decides to use JAVA code.

Which code snippet should be used to create a new content fragment?

Show Suggested Answer Hide Answer
Suggested Answer: C

In Maven for AEM, application is the packageType that is typically used for immutable code packages. These are packages that contain code that is not expected to change between deployments, such as OSGi bundles and certain content packages that do not contain user-editable content. This type of package is intended to be deployed to an AEM instance as part of the application's codebase, and the application packageType signifies this use case.

container is not a standard package type in AEM Maven project structures.

content is typically used for packages that contain mutable content, such as pages and configurations that can be edited by authors.


Contribute your Thoughts:

Dona
3 days ago
I'm just gonna go with the first option. Anything that involves 'FragrnentTemplate' sounds like it was made up on the spot.
upvoted 0 times
...
Felton
9 days ago
FragrnentTemplate.createFragment()? Really? That sounds more like a typo than a real method. Let's go with option A.
upvoted 0 times
...
Crista
12 days ago
Option B looks interesting, but I'm not sure if 'adapt To(Fragment class)' is a valid method. I'll have to double-check the documentation.
upvoted 0 times
...
Florinda
19 days ago
But I think A makes more sense because it directly creates a new content fragment
upvoted 0 times
...
Sherman
20 days ago
I think option A is the correct answer. The 'resource.createFragment()' method seems like the most straightforward way to create a new content fragment.
upvoted 0 times
Chauncey
3 days ago
I agree, option A seems like the best choice.
upvoted 0 times
...
...
Rosamond
21 days ago
I disagree, I believe the correct answer is C) FragmentTemplate.createFragment()
upvoted 0 times
...
Florinda
25 days ago
I think the answer is A) resource.createFragment()
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