Topic 1 Question 35
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?
Configure a nightly Amazon EventBridge event to invoke an AWS Lambda function to run the RefreshCache command for Storage Gateway.
Instruct the third party to put data into the S3 bucket using AWS Transfer for SFTP.
Modify Storage Gateway to run in volume gateway mode.
Use S3 Same-Region Replication to replicate any changes made directly in the S3 bucket to Storage Gateway.
ユーザの投票
コメント(4)
- 正解だと思う選択肢: A👍 3ele2023/04/15
- 正解だと思う選択肢: A
The issue appears to be related to the Storage Gateway cache not being updated. To ensure that all the updated third-party files are available in the morning, you can use the RefreshCache API to manually refresh the cache or configure automatic cache refresh.
Option A is a possible solution to configure automatic cache refresh, but it is not necessary to run the RefreshCache command every night if you can ensure that cache refresh occurs frequently enough to meet your requirements.
👍 2haazybanj2023/05/01 - 正解だと思う選択肢: B
Option B appears to be the correct choice. Configuring the third party to put data into the S3 bucket using AWS Transfer for SFTP would ensure that the data is immediately available in both the S3 bucket and Storage Gateway, avoiding any potential caching issues. Option A of configuring a nightly event to refresh the cache may not be an optimal solution as it could result in stale data being served during the day.
👍 1jqso2342023/04/14
シャッフルモード