DOP-C02 · Question #89
A company uses AWS Storage Gateway in file gateway mode in front of an Amazon S3 bucket that is used by multiple resources. In the morning when business begins, users do not see the objects…
The correct answer is A. Configure a nightly Amazon EventBridge event to invoke an AWS Lambda function to run the. AWS Storage Gateway's file gateway mode provides a bridge between your on-premises servers and Amazon S3. File gateway caches frequently accessed files in your on-premises environment to provide low-latency access. However, if the S3 bucket's data is modified by another…
Question
A company uses AWS Storage Gateway in file gateway mode in front of an Amazon S3 bucket that is used by multiple resources. In the morning when business begins, users do not see the objects processed by a third party the previous evening. When a DevOps engineer looks directly at the S3 bucket, the data is there, but it is missing in Storage Gateway. Which solution ensures that all the updated third-party files are available in the morning?
Options
- AConfigure a nightly Amazon EventBridge event to invoke an AWS Lambda function to run the
- BInstruct the third party to put data into the S3 bucket using AWS Transfer for SFTP.
- CModify Storage Gateway to run in volume gateway mode.
- DUse S3 Same-Region Replication to replicate any changes made directly in the S3 bucket to
How the community answered
(27 responses)- A74% (20)
- B4% (1)
- C15% (4)
- D7% (2)
Explanation
AWS Storage Gateway's file gateway mode provides a bridge between your on-premises servers and Amazon S3. File gateway caches frequently accessed files in your on-premises environment to provide low-latency access. However, if the S3 bucket's data is modified by another service, the cache does not automatically refresh. Thus, to ensure all the updated third-party files are available in the morning, you can use an AWS Lambda function triggered by Amazon EventBridge to run the RefreshCache command for Storage Gateway. This will ensure the cache is updated with the latest changes.
Topics
Community Discussion
No community discussion yet for this question.