Question 1
Topic: Configurations
Skill tested: Selects Dispatcher filters that securely expose only required AEM publishing endpoints.
A commerce site uses AEM Publish behind Dispatcher. The application must allow anonymous visitors to view pages and submit requests to a dedicated form endpoint. The security review found that the current filter rules allow broad access to repository paths, including authoring-oriented endpoints. The team must preserve normal page delivery and the required form submission while denying access to internal paths and unnecessary query-based operations. Which approach is most appropriate?
A restrictive Dispatcher filter policy uses deny-by-default behavior and adds narrowly scoped allows for the public content and required form request. This reduces exposure of repository and internal endpoints while preserving the stated functionality. Broadly allowing /apps or all POST requests creates unnecessary attack surface; Publish authentication is not a substitute for Dispatcher filtering. Selectors alone do not define a complete security boundary, and cache rules govern caching rather than request authorization.