SOA-C02 exam dumps

SOA-C02 practice question 283 of 341

AWS Certified SysOps Administrator - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

SOA-C02 Question 283

Select 3

A company is using Amazon CloudFront to distribute content for their web application. Users are reporting that they are receiving outdated content despite updates being made to the origin server. As a SysOps Administrator, what actions should you take to resolve the caching issue?

  1. A

    Invalidate the specific cached objects using the CloudFront invalidation feature.

  2. B

    Update the origin server to include Cache-Control headers with a shorter max-age value.

  3. C

    Enable CloudFront logging to identify the source of outdated content.

  4. D

    Create a new CloudFront distribution to force cache updates for all objects.

  5. E

    Use versioned object names or include query string parameters to bypass the CloudFront cache.

Show answer and explanation

Correct answers: A, B, E

Explanation

CloudFront caching issues often occur when cached content becomes outdated and users are not served the latest version. The best approach is to invalidate specific cached objects, adjust Cache-Control headers to influence cache behavior, or use object versioning to differentiate between updated and outdated content. These strategies minimize disruption while ensuring that users receive the most up-to-date content.

  • A. Correct.

    Invalidating specific cached objects is an effective way to remove outdated content from the CloudFront cache without affecting other content. This ensures that the most recent version of the object is retrieved from the origin.

  • B. Correct.

    Setting Cache-Control headers with a shorter max-age value on the origin server tells downstream caches, including CloudFront, to store content for a shorter period, reducing the likelihood of serving stale content.

  • C. Incorrect.

    While enabling CloudFront logging can provide visibility into access patterns, it does not directly resolve caching issues. It is more of a diagnostic tool than a remediation step.

  • D. Incorrect.

    Creating a new CloudFront distribution is unnecessary and inefficient for resolving caching issues. It disrupts the current setup and causes downtime or reconfiguration effort.

  • E. Correct.

    Using versioned object names or query string parameters ensures that CloudFront treats each version of the object differently, effectively bypassing the cache for outdated versions.

Timed practice exam

Take a SOA-C02 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam