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 850 discussion

A company is migrating an application to the AWS Cloud. The application runs in an on-premises data center and writes thousands of images into a mounted NFS file system each night. After the company migrates the application, the company will host the application on an Amazon EC2 instance with a mounted Amazon
Elastic File System (Amazon EFS) file system.
The company has established an AWS Direct Connect connection to AWS. Before the migration cutover, a solutions architect must build a process that will replicate the newly created on-premises images to the EFS file system.
What is the MOST operationally efficient way to replicate the images?

  • A. Configure a periodic process to run the aws s3 sync command from the on-premises file system to Amazon S3. Configure an AWS Lambda function to process event notifications from Amazon S3 and copy the images from Amazon S3 to the EFS file system.
  • B. Deploy an AWS Storage Gateway file gateway with an NFS mount point. Mount the file gateway file system on the on-premises server. Configure a process to periodically copy the images to the mount point.
  • C. Deploy an AWS DataSync agent to an on-premises server that has access to the NFS file system. Send data over the Direct Connect connection to an S3 bucket by using public VIF. Configure an AWS Lambda function to process event notifications from Amazon S3 and copy the images from Amazon S3 to the EFS file system.
  • D. Deploy an AWS DataSync agent to an on-premises server that has access to the NFS file system. Send data over the Direct Connect connection to an AWS PrivateLink interface VPC endpoint for Amazon EFS by using a private VIF. Configure a DataSync scheduled task to send the images to the EFS file system every 24 hours.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
shailurtm2001
Highly Voted 2 years, 7 months ago
D https://aws.amazon.com/datasync/faqs/
upvoted 15 times
bobsmith2000
2 years, 6 months ago
Search for "VPC endpoints" or "AWS PrivateLink"
upvoted 2 times
...
vn_thanhtung
1 year, 3 months ago
https://repost.aws/knowledge-center/datasync-cross-activate-agent Answer is D
upvoted 1 times
vn_thanhtung
1 year, 3 months ago
https://docs.aws.amazon.com/datasync/latest/userguide/datasync-in-vpc.html
upvoted 1 times
...
...
Byrney
2 years ago
https://docs.aws.amazon.com/efs/latest/ug/efs-vpc-endpoints.html VPC endpoints for EFS are only for the control plane APIs, not data transfer.
upvoted 2 times
Byrney
2 years ago
Q: How does AWS DataSync access my Amazon EFS file system? A: AWS DataSync accesses your Amazon EFS file system using the NFS protocol. The DataSync service mounts your file system from within your VPC from Elastic Network Interfaces (ENIs) managed by the DataSync service. DataSync fully manages the creation, use, and deletion of these ENIs on your behalf. You can choose to mount your EFS file system using a mount target or an EFS Access Point.
upvoted 2 times
...
...
kzqc
2 years, 1 month ago
D would have been the best solution if it were using VPC endpoint for "DataSync". But it is using VPC endpoint for EFS, which won't work. C is the answer.
upvoted 1 times
Arunava1
1 year, 10 months ago
I agree, but I think it meant for that only, wording could have been better
upvoted 1 times
...
...
...
velikivelicu
Most Recent 1 year, 8 months ago
Selected Answer: D
A private VIF to directly sent data to EFS using DataSync is the most efficient solution, so D is the correct answer Sending data through a public VIF to S3 and then copying it to EFS is inefficient, so C is incorrect
upvoted 1 times
...
Heer
1 year, 10 months ago
OPTION C: One way to replicate the images from the on-premises NFS file system to the Amazon EFS file system after the migration cutover is to use an AWS Lambda function to process event notifications from Amazon S3. The Lambda function can be triggered when new images are added to an S3 bucket, and it can then copy the images from S3 to the EFS file system. This will be an operationally efficient way to replicate the images as it is an event-driven, serverless architecture that can automatically scale to handle the number of images being written each night. And also S3 bucket can automatically trigger the lambda function when any new image is added to the bucket. This will be efficient and cost effective as well and will not require any manual intervention
upvoted 1 times
...
Arunava1
1 year, 10 months ago
D : "What is the MOST operationally efficient way to replicate the images?" C works but we dont need to go roundabout way and involve S3 here. we are actually connecting datasync service through the privatelink not the EFS. the phrase " vpc endpoint for EFS" is just to create confusion, actaully it does mean we are connecting datasync service through it and then datasync service can run on EFS
upvoted 2 times
...
ggrodskiy
1 year, 11 months ago
Correct C.
upvoted 1 times
...
evargasbrz
1 year, 11 months ago
Selected Answer: C
I'll go with C
upvoted 1 times
...
SureNot
2 years ago
Selected Answer: C
C - event notifications is the most operationally efficient way
upvoted 1 times
...
mrgreatness
2 years ago
D for me
upvoted 1 times
...
mrgreatness
2 years ago
https://www.youtube.com/watch?v=_snUm9g5jG0
upvoted 1 times
...
Byrney
2 years ago
Selected Answer: C
Answer is C. D won't work as VPC Endpoints for EFS are to the control/management APIs, not for data transfer
upvoted 1 times
...
kzqc
2 years, 1 month ago
Selected Answer: C
D is WRONG! DataSync agent can ONLY use VPC endpoint for "DataSync", not VPC endpoint for "EFS".
upvoted 2 times
...
JohnPi
2 years, 1 month ago
Selected Answer: D
https://aws.amazon.com/blogs/storage/transferring-files-from-on-premises-to-aws-and-back-without-leaving-your-vpc-using-aws-datasync/
upvoted 1 times
...
joancarles
2 years, 2 months ago
Selected Answer: D
The only option that comments the need of a task schedule it's the option D, also if you have a DX, you can use a vpc endpoint for the transmission, so it's correct: https://aws.amazon.com/datasync/faqs/?nc1=h_ls
upvoted 2 times
...
AWSProfessionalPractioner
2 years, 3 months ago
Option is D. Using the AWS direct, you can only connect over private VIF. https://docs.aws.amazon.com/whitepapers/latest/aws-vpc-connectivity-options/aws-direct-connect.html Once you are connected to the VPC, then accessing EFS is only possible by private LINK and EFS.
upvoted 1 times
...
Ni_yot
2 years, 4 months ago
I agree - D. How do I use datasync to migrate data to AWS? Configure DataSync to make an initial copy of your entire dataset, and schedule subsequent incremental transfers of changing data until the final cut-over from on-premises to AWS
upvoted 1 times
...
cen007
2 years, 4 months ago
Selected Answer: D
D. https://docs.aws.amazon.com/efs/latest/ug/gs-step-four-sync-files.html Now that you have created a functioning Amazon EFS file system, you can use AWS DataSync to transfer files from an existing file system to Amazon EFS. AWS DataSync is a data transfer service that simplifies, automates, and accelerates moving and replicating data between on-premises storage systems and AWS storage services over the internet or AWS Direct Connect. AWS DataSync can transfer your file data, and also file system metadata such as ownership, timestamps, and access permissions. Can option C work? Yes, but that's a lot of unnecessary action. Remember, the question says "What is the MOST OPTIMAL method for replicating the images?"
upvoted 3 times
...
aandc
2 years, 5 months ago
vote for D
upvoted 1 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 ...