AEM LEAD DEVELOPER EXAM - PART2
COMPLIED WITH CORRECT ANSWERS
You rwant rto rcheck rthe rresponse rtime rof ra rrequest rfor ra rpage. rWhich rlog rfile rshould
ryou rchoose?
A. r/crx- rquickstart/logs/server.log.
B. r/crx-quickstart/logs/request.log.
C. r/crx- rquickstart/logs/access.log.
D. r/crx- rquickstart/logs/stdout.log. r- rCORRECT✅✅B. r/crx-quickstart/logs/request.log.
During ra rworkflow rstep ra rcomment ris radded rrequiring ran rupdate rof ra rparagraph ron
ra rWeb rpage.Where rdoes rthe rworkflow rauthor rmake rthe rchange?
A. rIn rthe rcontent rpage rwithin rthe rworkflow rstep. r
B. rIn rthe rWorkflow rModel.
C. rIn rthe rWorkflow rInstance.
D. rIn rthe rdesign rpage. r- rCORRECT✅✅A. rIn rthe rcontent rpage rwithin rthe rworkflow
rstep.
You rwant rto rrun ra rscript ras ra rworkflow rstep. rWhich rworkflow rstep rshould ryou
rselect?
A. rParticipant rstep.
B. rProcess rstep.
C. rContainer rstep.
D. rSplit rstep. r- rCORRECT✅✅B. rProcess rstep.
How rare rthe rresources rcalled rthat rare rpassed rthrough ra rworkflow?
A. rWorkItem.
B. rTransaction.
C. rLifecycle.
D. rPayload. r- rCORRECT✅✅D. rPayload.
You rcreate ra rcustom rworkflow rprocess rusing rthe rCQ rAPI. rWhich rmethod ror
rmethods rneeds rto rbe rimplemented rwhen ryour rclass rimplements rthe
rWorkflowProcess rInterface?
A. rstart(), rexecute(), rend().
B. rstart(), rprocess(), rend().
C. rexecute().
D. rprocess() r- rCORRECT✅✅C. rexecute().
What ris rthe rpurpose rof rsending rvalues ras rselectors rin rthe rURL rinstead rof rsending
rthem ras rquery rparameters?
A. rTo ravoid rcaching rthe rresponse rin rthe rWeb rserver.
B. rTo renable rthe rresponse rto rbe rcached rin rthe rWeb rserver.
C. rTo ravoid rcreating ra rsession robject rin rthe rapplication rserver.
, D. rTo rimprove rsecurity. r- rCORRECT✅✅B. rTo renable rthe rresponse rto rbe rcached
rin rthe rWeb rserver.
Which rtype rof rReplication rAgent rdo ryou rcreate rto rflush rthe rWeb rserver rcache rfor ra
rnewly ractivated rpage?
A. rCreate ra rReverse rReplication rAgent ron rthe rauthor rinstance.
B. rSet rthe rSerialization rType rproperty rof rthe rDefault rAgent rto rDispatcher rFlush.
C. rCreate ra rnew rreplication ragent rand rset rTransport rURI rto rpoint rto rthe rWeb rserver.
D. rCreate ra rDispatcher rFlush rAgent. r- rCORRECT✅✅D. rCreate ra rDispatcher rFlush
rAgent.
How rdo ryou rdelete ra rproperty rinside ra rNode robject?
A r- rnode.removeProperty("propertyName");
B r- rString rpropertyA r= r""; rnode.setProperty("propertyName", rpropertyA); r
C r- rnode.delete("propertyName");
D r- rString rpropertyA r= rnull; rnode.setProperty("propertyName", rpropertyA); r-
rCORRECT✅✅D r- rString rpropertyA r= rnull; rnode.setProperty("propertyName",
rpropertyA);
Given rthe rconfiguration rin rthe rApache rWeb rserver rhttpd.conf: r
SetHandler rdispatcher-handlerOptions rFollowSymLinks rAllowOverride rNone
What ris rthe rpurpose rof rthe rSetHandler roption?
A. rEnable rthe rCQ rDispatcher ronly rfor rrequests rto rthe r/ rpage.
B. rURL rrewrite rconfiguration rdirectory rfor rthe rCQ rDispatcher.
C. rEnable rthe rCQ rDispatcher rfor rall rrequests rto rthe rserver.
D. rDefine rthe rname rof rthe rCQ rDispatcher rconfiguration rfile. r- rCORRECT✅✅C.
rEnable rthe rCQ rDispatcher rfor rall rrequests rto rthe rserver.
You rare rconfiguring rthe rdispatcher rconfiguration rfile rdispatcher.any. rWhat rdoes rthe
rglob r/invalidate r{/0001 r{/glob r"*.html" r/type r"allow" r}} renforce rthe rdispatcher rto rdo
rwhen rthe rWeb rpage r/content/mypage.html rgets ractivated?
A. rThe rcomplete rcache ris rinvalidated
B. rAll rcached r.html rfiles rare rphysically rdeleted
C. rOnly rthe rcached r.html rfiles rare rinvalidated
D. rDelete rthe rcached rfile r/mypage.html rand rcreate ra rnew rcached r/mypage.html rfile r-
rCORRECT✅✅C. rOnly rthe rcached r.html rfiles rare rinvalidated
Which rflag rshould ryou rset rwhen ryou rconfigure rthe rmod_rewrite rrules rof rthe rApache
rWeb rserver rwhen ryou rare rincluding rthe rCQ rDispatcher rmodule?
A. r'G' rflag rto rforce rthe rserver rto rreturn ra r410 rGone rstatus rwith rthe rresponse.
B. r'PT' rflag rto rsend rthe roriginal rrequest rthrough rto rprocessing rpipeline rfor rthe
rDispatcher rto rrespond.
C. r'R' rflag rto rforce rall rthe rrequests rto rbe rredirected rto rthe rlocation rspecified rin rthe
rrewrite rrule.
COMPLIED WITH CORRECT ANSWERS
You rwant rto rcheck rthe rresponse rtime rof ra rrequest rfor ra rpage. rWhich rlog rfile rshould
ryou rchoose?
A. r/crx- rquickstart/logs/server.log.
B. r/crx-quickstart/logs/request.log.
C. r/crx- rquickstart/logs/access.log.
D. r/crx- rquickstart/logs/stdout.log. r- rCORRECT✅✅B. r/crx-quickstart/logs/request.log.
During ra rworkflow rstep ra rcomment ris radded rrequiring ran rupdate rof ra rparagraph ron
ra rWeb rpage.Where rdoes rthe rworkflow rauthor rmake rthe rchange?
A. rIn rthe rcontent rpage rwithin rthe rworkflow rstep. r
B. rIn rthe rWorkflow rModel.
C. rIn rthe rWorkflow rInstance.
D. rIn rthe rdesign rpage. r- rCORRECT✅✅A. rIn rthe rcontent rpage rwithin rthe rworkflow
rstep.
You rwant rto rrun ra rscript ras ra rworkflow rstep. rWhich rworkflow rstep rshould ryou
rselect?
A. rParticipant rstep.
B. rProcess rstep.
C. rContainer rstep.
D. rSplit rstep. r- rCORRECT✅✅B. rProcess rstep.
How rare rthe rresources rcalled rthat rare rpassed rthrough ra rworkflow?
A. rWorkItem.
B. rTransaction.
C. rLifecycle.
D. rPayload. r- rCORRECT✅✅D. rPayload.
You rcreate ra rcustom rworkflow rprocess rusing rthe rCQ rAPI. rWhich rmethod ror
rmethods rneeds rto rbe rimplemented rwhen ryour rclass rimplements rthe
rWorkflowProcess rInterface?
A. rstart(), rexecute(), rend().
B. rstart(), rprocess(), rend().
C. rexecute().
D. rprocess() r- rCORRECT✅✅C. rexecute().
What ris rthe rpurpose rof rsending rvalues ras rselectors rin rthe rURL rinstead rof rsending
rthem ras rquery rparameters?
A. rTo ravoid rcaching rthe rresponse rin rthe rWeb rserver.
B. rTo renable rthe rresponse rto rbe rcached rin rthe rWeb rserver.
C. rTo ravoid rcreating ra rsession robject rin rthe rapplication rserver.
, D. rTo rimprove rsecurity. r- rCORRECT✅✅B. rTo renable rthe rresponse rto rbe rcached
rin rthe rWeb rserver.
Which rtype rof rReplication rAgent rdo ryou rcreate rto rflush rthe rWeb rserver rcache rfor ra
rnewly ractivated rpage?
A. rCreate ra rReverse rReplication rAgent ron rthe rauthor rinstance.
B. rSet rthe rSerialization rType rproperty rof rthe rDefault rAgent rto rDispatcher rFlush.
C. rCreate ra rnew rreplication ragent rand rset rTransport rURI rto rpoint rto rthe rWeb rserver.
D. rCreate ra rDispatcher rFlush rAgent. r- rCORRECT✅✅D. rCreate ra rDispatcher rFlush
rAgent.
How rdo ryou rdelete ra rproperty rinside ra rNode robject?
A r- rnode.removeProperty("propertyName");
B r- rString rpropertyA r= r""; rnode.setProperty("propertyName", rpropertyA); r
C r- rnode.delete("propertyName");
D r- rString rpropertyA r= rnull; rnode.setProperty("propertyName", rpropertyA); r-
rCORRECT✅✅D r- rString rpropertyA r= rnull; rnode.setProperty("propertyName",
rpropertyA);
Given rthe rconfiguration rin rthe rApache rWeb rserver rhttpd.conf: r
SetHandler rdispatcher-handlerOptions rFollowSymLinks rAllowOverride rNone
What ris rthe rpurpose rof rthe rSetHandler roption?
A. rEnable rthe rCQ rDispatcher ronly rfor rrequests rto rthe r/ rpage.
B. rURL rrewrite rconfiguration rdirectory rfor rthe rCQ rDispatcher.
C. rEnable rthe rCQ rDispatcher rfor rall rrequests rto rthe rserver.
D. rDefine rthe rname rof rthe rCQ rDispatcher rconfiguration rfile. r- rCORRECT✅✅C.
rEnable rthe rCQ rDispatcher rfor rall rrequests rto rthe rserver.
You rare rconfiguring rthe rdispatcher rconfiguration rfile rdispatcher.any. rWhat rdoes rthe
rglob r/invalidate r{/0001 r{/glob r"*.html" r/type r"allow" r}} renforce rthe rdispatcher rto rdo
rwhen rthe rWeb rpage r/content/mypage.html rgets ractivated?
A. rThe rcomplete rcache ris rinvalidated
B. rAll rcached r.html rfiles rare rphysically rdeleted
C. rOnly rthe rcached r.html rfiles rare rinvalidated
D. rDelete rthe rcached rfile r/mypage.html rand rcreate ra rnew rcached r/mypage.html rfile r-
rCORRECT✅✅C. rOnly rthe rcached r.html rfiles rare rinvalidated
Which rflag rshould ryou rset rwhen ryou rconfigure rthe rmod_rewrite rrules rof rthe rApache
rWeb rserver rwhen ryou rare rincluding rthe rCQ rDispatcher rmodule?
A. r'G' rflag rto rforce rthe rserver rto rreturn ra r410 rGone rstatus rwith rthe rresponse.
B. r'PT' rflag rto rsend rthe roriginal rrequest rthrough rto rprocessing rpipeline rfor rthe
rDispatcher rto rrespond.
C. r'R' rflag rto rforce rall rthe rrequests rto rbe rredirected rto rthe rlocation rspecified rin rthe
rrewrite rrule.