nerdexam
Amazon

SOA-C03 · Question #148

A company is performing deployments of an application at regular intervals. Users report that the application sometimes does not work properly. The company discovers that some users' browsers are…

The correct answer is C. Add a final step in the deployment process to invalidate only the changed JavaScript files in the. Selective CloudFront invalidation ensures that only updated JavaScript files are refreshed across edge locations. AWS CloudOps documentation explains that invalidations remove cached objects so that CloudFront fetches the latest version from the origin on the next request…

Submitted by zhang_li· Mar 5, 2026Deployment, provisioning, and automation

Question

A company is performing deployments of an application at regular intervals. Users report that the application sometimes does not work properly. The company discovers that some users' browsers are fetching previous versions of the JavaScript files. The application runs on Amazon EC2 instances behind an Application Load Balancer (ALB). The ALB is the origin for an Amazon CloudFront distribution. A SysOps administrator must implement a solution to ensure that CloudFront serves the latest version of the JavaScript files. The solution must not affect application server performance. Which solution will meet these requirements?

Options

  • AReduce the maximum TTL and default TTL of the CloudFront distribution behavior to 0.
  • BAdd a final step in the deployment process to invalidate all files in the CloudFront distribution.
  • CAdd a final step in the deployment process to invalidate only the changed JavaScript files in the
  • DRemove CloudFront from the path of serving JavaScript files. Serve the JavaScript files directly

How the community answered

(42 responses)
  • A
    7% (3)
  • B
    5% (2)
  • C
    71% (30)
  • D
    17% (7)

Explanation

Selective CloudFront invalidation ensures that only updated JavaScript files are refreshed across edge locations. AWS CloudOps documentation explains that invalidations remove cached objects so that CloudFront fetches the latest version from the origin on the next request. Invalidating only changed files minimizes cost, reduces operational impact, and avoids unnecessary origin requests. This approach ensures users always receive the latest application assets without degrading backend performance.

Topics

#CloudFront#cache invalidation#TTL#deployment

Community Discussion

No community discussion yet for this question.

Full SOA-C03 Practice