exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 438 discussion

A company has an existing on-premises three-tier web application. The Linux web servers serve content from a centralized file share on a NAS server because the content is refreshed several times a day from various sources. The existing infrastructure is not optimized and the company would like to move to AWS in order to gain the ability to scale resources up and down in response to load. On-premises and AWS resources are connected using AWS Direct Connect.
How can the company migrate the web infrastructure to AWS without delaying the content refresh process?

  • A. Create a cluster of web server Amazon EC2 instances behind a Classic Load Balancer on AWS. Share an Amazon EBS volume among all instances for the content. Schedule a periodic synchronization of this volume and the NAS server.
  • B. Create an on-premises file gateway using AWS Storage Gateway to replace the NAS server and replicate content to AWS. On the AWS side, mount the same Storage Gateway bucket to each web server Amazon EC2 instance to serve the content.
  • C. Expose an Amazon EFS share to on-premises users to serve as the NAS serve. Mount the same EFS share to the web server Amazon EC2 instances to serve the content.
  • D. Create web server Amazon EC2 instances on AWS in an Auto Scaling group. Configure a nightly process where the web server instances are updated from the NAS server.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Moon
Highly Voted 3 years, 10 months ago
I do support Answer "C". File gateway is limited by performance its gateway instance, whether EC2 or On-premises, Cache will get filled up fast if not properly configured, For large number of EC2 instances EFS scales better. So, bottom line is File Storage gateway is for legacy applications and you have to add cost of large gateway instances before comparing it to same quantity of EFS storage. https://www.reddit.com/r/aws/comments/82pyop/storage_gateway_vs_efs/
upvoted 28 times
...
donathon
Highly Voted 3 years, 10 months ago
B This ensures the content stays on-premise but of cause sacrifice the fact that the EC2 will be accessing slight stale data via the S3 bucket because there is a replication time lag. Key is “without delaying the content refresh process”. I assume the content is on premise and the important fact is EFS is private only, it cannot be exposed to public and hence how would EFS be able to update from those “sources”? A\C\D: This will delay the content refresh process. Because of the propagation delay tied to data traveling over long distances, the network latency of an AWS Direct Connect connection between your on-premises data center and your Amazon VPC can be tens of milliseconds. If your file operations are serialized, the latency of the AWS Direct Connect connection directly impacts your read and write throughput. In essence, the volume of data you can read or write during a period of time is bounded by the amount of time it takes for each read and write operation to complete. https://docs.aws.amazon.com/efs/latest/ug/performance-onpremises.html
upvoted 8 times
cmm103
3 years, 10 months ago
Yes, B. https://docs.aws.amazon.com/storagegateway/latest/userguide/GettingStartedAccessFileShare.html
upvoted 1 times
...
leeo
3 years, 10 months ago
Since direct connect already available we can expose EFS to on-premise. From EFS FAQ's Q: How do I access an EFS file system from servers in my on-premises datacenter? To access EFS file systems from on-premises, you must have an AWS Direct Connect or AWS VPN connection between your on-premises datacenter and your Amazon VPC.
upvoted 19 times
...
Frank1
3 years, 10 months ago
I am not sure how to "mount the same Storage Gateway bucket to each web server Amazon EC2 instance". AWS never officially support mounting S3 bucket in EC2
upvoted 10 times
shammous
3 years, 9 months ago
"... mount the same Storage Gateway bucket to each web server Amazon EC2" should ring bells as there is no such thing as "Storage Gateway bucket" but "S3 bucket". B is not valid, C is.
upvoted 4 times
Hasitha99
3 years, 3 months ago
Storage gateway can store data in S3 , Glacier or EBS. So the answer is B. Ref: https://aws.amazon.com/blogs/storage/cloud-storage-in-minutes-with-aws-storage-gateway/
upvoted 2 times
...
...
...
Moon
3 years, 10 months ago
C: I believe answer "B" would be good if there is no "frequent updates" from various sources. Also, File Storage Gateway requires physical device to be placed on premises, while the source of updates are from various locations. Therefore, the physical mounting of File Storage Gateway shall be placed on different places "various Sources" - as said in the question.
upvoted 14 times
Kopa
3 years, 8 months ago
It says "refreshed several times a day from various sources" not "frequent updates". Makes a lot difference.
upvoted 1 times
...
...
...
SkyZeroZx
Most Recent 2 years, 1 month ago
Selected Answer: B
The correct answer is B. This solution meets all of the requirements: It allows the company to scale the web infrastructure up and down in response to load. It keeps the content refresh process running without delay. It is secure and reliable. The other solutions are not as effective. Solution A would require the company to synchronize the content between the NAS server and the Amazon EBS volume on a regular basis. This could delay the content refresh process. Solution C would require the company to expose an Amazon EFS share to on-premises users. This could pose a security risk. Solution D would require the company to update the web server instances from the NAS server on a nightly basis. This could delay the content refresh process.
upvoted 1 times
vn_thanhtung
1 year, 11 months ago
Should be C
upvoted 1 times
...
...
JohnPi
2 years, 10 months ago
Selected Answer: C
https://docs.aws.amazon.com/efs/latest/ug/efs-onpremises.html
upvoted 3 times
...
aandc
3 years ago
Selected Answer: B
vote for B
upvoted 1 times
...
Hasitha99
3 years, 3 months ago
Selected Answer: B
Storage gateway can store data in S3 , Glacier or EBS. So the answer is B. Ref: https://aws.amazon.com/blogs/storage/cloud-storage-in-minutes-with-aws-storage-gateway/
upvoted 1 times
...
RVD
3 years, 4 months ago
Selected Answer: C
Ans: C
upvoted 3 times
...
sTeVe86
3 years, 5 months ago
C's problem is without mentioning how the data transition/migration. B does mention "replicate content to AWS". Question asked "transition its online infrastructure to AWS without causing a delay in the process of content refreshment". So Storage Gateway is way to go as my understanding.
upvoted 3 times
...
AzureDP900
3 years, 7 months ago
Answer is C
upvoted 1 times
...
cldy
3 years, 7 months ago
C. Expose an Amazon EFS share to on-premises users to serve as the NAS serve. Mount the same EFS share to the web server Amazon EC2 instances to serve the content.
upvoted 1 times
...
AzureDP900
3 years, 8 months ago
C is right
upvoted 1 times
...
backfringe
3 years, 8 months ago
I'd go with C. with DX EFS can be accessed from on premises
upvoted 1 times
...
andylogan
3 years, 8 months ago
It's C
upvoted 1 times
...
student22
3 years, 8 months ago
Answer is C Why not B? EFS will reflect the changes to files immediately during the day as opposed to File Gateway which could be slower. EFS will also scale up/down nicely. There no cost restriction in the question.
upvoted 2 times
...
AWS_Noob
3 years, 9 months ago
Looking at the question , it says a Centralized File share to multiple web servers. EFS does this
upvoted 2 times
...
Akhil254
3 years, 9 months ago
C Correct
upvoted 1 times
...
Radhaghosh
3 years, 9 months ago
Important phrase in the question "without delaying the content refresh process". But the phrase "scale resources up and down in response to load" kind of tricks to forcefully think for ELB & Auto scaling. The actual point is to refresh the content without delay you need a shared file server mount point for both On-prem and AWS. which EFS can prove. Correct Answer is C
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...