AWS Certified Sysops Administrator Associate · Free Practice Question Medium
Question 34
As a SysOps Administrator, you have been tasked to optimize the costs for an AWS Storage Gateway. The development team has reported that the cache disk space of the Gateway is not even utilized to 50 percent of its actual capacity.
Which of the following would you recommend for this use case?
-
A
Shut down the gateway before removing the disk. After the gateway is shut down, you can remove the cache disk and attach a different one
-
B
Remove the disk(s) that are allocated as cache disks for the existing gateway and resize the disk to the capacity needed
-
C
Create a new gateway with the cache space that you need
-
D
Reduce the extra storage on the cache disk by decreasing the upload buffer size from Storage Gateway console
Reveal correct answer
Correct answer: C
Explanation
Correct option:
Create a new gateway with the cache space that you need
Don't remove disks that are allocated as cache disks for an existing gateway—doing this can break your gateway's functionality. You can't decrease the size of a cache disk after it's allocated to an existing gateway. Instead, you must create a new gateway with the cache space that you need. Then, you can migrate your data to the new gateway.
Incorrect options:
Remove the disk(s) that are allocated as cache disks for the existing gateway and resize the disk to the capacity needed - As discussed above, removing cache disks can break the gateway's functionality and hence is not the right option.
Shut down the gateway before removing the disk. After the gateway is shut down, you can remove the cache disk and attach a different one - For disks that are allocated as upload buffer for an existing gateway, you need to first shut down the gateway before removing the disk. After the gateway is shut down, you can remove the upload buffer disk. Then, you can allocate a new disk with the reduced upload buffer size. This works for only disks allocated as upload buffers and not for cache disks.
Reduce the extra storage on the cache disk by decreasing the upload buffer size from Storage Gateway console - This is a made-up option, given only as a distractor.
References:
https://docs.aws.amazon.com/storagegateway/latest/userguide/ManagingLocalStorage-common.html
https://docs.aws.amazon.com/storagegateway/latest/userguide/migrate-data.html
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
