An enterprise is deploying a web application behind an Azure CDN Standard from Microsoft endpoint. The application has three categories of assets with distinct caching requirements:
* `/reports/*`: Serves sensitive, user-specific PDF reports generated on-demand with query parameters (e.g., `/reports/download?user=123&token=abc`). These must never be cached on the CDN edge servers.
* `/images/*`: Contains product photos that are updated using a version query parameter (e.g., `/images/keyboard.jpg?ver=2.4`). To ensure immediate updates, the CDN must cache these based on the `ver` parameter only, while ignoring all tracking parameters (e.g., `utm_source`) to prevent cache pollution.
* `/styles/*`: Contains static CSS files where the origin server does not set any `Cache-Control` headers. These files must be cached for exactly 14 days, regardless of any future caching headers added to the origin server.
The endpoint's global Query String Caching behavior is set to 'Ignore query strings'.
Which configuration of caching rules and rules engine rules should you implement to meet these requirements?
- ACreate a Rules Engine rule matching `/reports/*` with the Cache expiration action set to Bypass cache. Create a Rules Engine rule matching `/images/*` with the Cache-key query string action set to Include all. Create a Rules Engine rule matching `/styles/*` with the Cache expiration action set to Set if missing with a duration of 14 days.
- BCreate a Custom Caching Rule matching `/reports/*` with the caching behavior set to Bypass cache. Create a Custom Caching Rule matching `/images/*` with the caching behavior set to Cache every unique URL and a duration of 30 days. Create a Custom Caching Rule matching `/styles/*` with the caching behavior set to Set if missing with a duration of 14 days.
- Create a Rules Engine rule matching `/reports/*` with the Cache expiration action set to Bypass cache. Create a Rules Engine rule matching `/images/*` with the Cache-key query string action set to Include with the parameter value `ver`. Create a Rules Engine rule matching `/styles/*` with the Cache expiration action set to Override with a duration of 14 days.Answer
- DCreate a Rules Engine rule matching `/reports/*` with the Cache expiration action set to Bypass cache. Create a Rules Engine rule matching `/images/*` with the Query-string caching behavior action set to Cache every unique URL. Create a Rules Engine rule matching `/styles/*` with the Cache expiration action set to Override with a duration of 14 days.