AEM dispatcher Flashcards

1
Q

Which flag should you set when you configure the mod_rewrite rules of the Apache Web server when you are including the CQ Dispatcher module?
A. ‘R’ flag to force all the requests to be redirected to the location specified in the rewrite rule.
B. ‘T’ flag to set the MIME type for all the HTTP responses.
C. ‘G’ flag to force the server to return a 410 Gone status with the response.
D. ‘PT’ flag to send the original request through to processing pipeline for the Dispatcher to respond.]

A

D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

You have configured the cached property in the dispatcher module. What is the difference between: request 1 = /content/mypage/mypic.small.png?? and request 2 = /content/mypage/mypic.png?size=small
A. request 1 gets cached, request 2 does not get cached B. request 2 gets cached, request 1 does not get cached
C. No difference. Neither request 1 nor request 2 get cached
D. No difference. Request 1 and request 2 both get cached

A

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does the glob /invalidate {/0001 {/glob “*.html” /type “allow” }} in dispatcher.any file enforce the dispatcher to do when the Web page /content/mypage.html gets activated?
A. The complete cache is invalidated
B. Delete the cached file /mypage.html and create a new cached /mypage.html file
C. Only the cached .html files are invalidated
D. All cached .html files are physically deleted

A

D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Given the CQ Dispatcher configuration in the /filter section: /filter { /0001 { /glob “” /type “deny” } /0002 { /glob “ /content/geometrixx[./]” /type “allow” } /0003 { /glob “ /content/geometrixx/company[./]” /type “deny” } /0004 { /glob “” /type “allow” } } Which rule will be applied to the request: /content/geometrixx/company/news.html?
A. Request accepted, because of rule 0004. The last configuration that matches the request will be applied.
B. Request denied, because of rule 0001. The first rule that matches the request will be applied.
C. Request served, because of rule 0002. The configuration can only be applied to the second level path.
D. Request denied, because of rule 0003. The configuration with the closest match will be applied.

A

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Given the configuration in the Apache Web server httpd.conf: SetHandler dispatcher-handler Options FollowSymLinks AllowOverride None What is the purpose of the SetHandler option?
A. Enable the CQ Dispatcher for all requests to the server.
B. URL rewrite configuration directory for the CQ Dispatcher.
C. Define the name of the CQ Dispatcher configuration file.
D. Enable the CQ Dispatcher only for requests to the / page.

A

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly