Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

AEM Query

Avatar

Level 4

Can you please answer below questions 

 

1

arunk85184451_13-1595872733107.png

 

2

arunk85184451_14-1595872733112.png

 

 

3

arunk85184451_16-1595872733117.png

 

 

4

arunk85184451_17-1595872733120.png

 

 

5

arunk85184451_18-1595872733129.png

 

 

6

arunk85184451_19-1595872733134.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @sonuk85184451 

 

1. B

As it is mentioned in the question itself to use sling API. Option 1 is appropriate as it is applying all required null checks and using sling API valueMap and Resource

 

2. A

Refer https://docs.adobe.com/content/help/en/experience-manager-64/administering/security/encryption-suppo...

 

3. A and D

The bundle providing service must export as well as bundle using service must import

 

4. A

As the functionality is resuable and belong to component B, option A seems approriate.

 

5. C 

Refer https://helpx.adobe.com/experience-manager/using/osgi_config63.html

 

6. A
com.sample.package.b was never exported and com.sample.package.c was available with version 3.0 and requested version should lie between 2.0 included to 3.0 excluded.

 

Thanks,

Nupur

View solution in original post

2 Replies

Avatar

Community Advisor

Hi @sonuk85184451 , 

 

Answering 51 questions  is almost like writing the certification exam I would suggest you to go through the adobe documents and tutorials to get the clear understanding and attempt the question later. 

If you have any doubts , please post it in forum. Many helpful hands are happy to help you. 

Avatar

Correct answer by
Community Advisor

Hi @sonuk85184451 

 

1. B

As it is mentioned in the question itself to use sling API. Option 1 is appropriate as it is applying all required null checks and using sling API valueMap and Resource

 

2. A

Refer https://docs.adobe.com/content/help/en/experience-manager-64/administering/security/encryption-suppo...

 

3. A and D

The bundle providing service must export as well as bundle using service must import

 

4. A

As the functionality is resuable and belong to component B, option A seems approriate.

 

5. C 

Refer https://helpx.adobe.com/experience-manager/using/osgi_config63.html

 

6. A
com.sample.package.b was never exported and com.sample.package.c was available with version 3.0 and requested version should lie between 2.0 included to 3.0 excluded.

 

Thanks,

Nupur