
AWS Certified DevOps Engineer - Professional
Get started today
Ultimate access to all questions.
A company utilizes AWS Storage Gateway in file gateway mode to interface with an Amazon S3 bucket that serves multiple resources. During the morning business hours, users report that they cannot access objects that were processed by a third-party service the previous evening. Despite the presence of these objects in the S3 bucket, they are not reflected in the Storage Gateway. What solution ensures that all third-party-updated files are accessible through Storage Gateway by the start of the business day?
A company utilizes AWS Storage Gateway in file gateway mode to interface with an Amazon S3 bucket that serves multiple resources. During the morning business hours, users report that they cannot access objects that were processed by a third-party service the previous evening. Despite the presence of these objects in the S3 bucket, they are not reflected in the Storage Gateway. What solution ensures that all third-party-updated files are accessible through Storage Gateway by the start of the business day?
Explanation:
The correct answer is A: 'Configure a nightly Amazon EventBridge event to invoke an AWS Lambda function to run the RefreshCache command for Storage Gateway.' AWS Storage Gateway in file gateway mode caches frequently accessed files to provide low-latency access. However, when third-party modifications are made directly in the S3 bucket, those updates do not automatically refresh in the file gateway cache. Configuring an Amazon EventBridge event to trigger a Lambda function that runs the RefreshCache command will ensure that the Storage Gateway cache is updated with the latest data changes. This will make all updated third-party files available to users the next morning.