Orchestrating Multi-Region EFS Data Processing with Step Functions
A company has AWS resources in multiple AWS Regions. The company has an Amazon EFS file system in each Region where the company operates. The company’s data science team operates within only a single Region. The data that the data science team works with must remain within the team's Region. A data engineer needs to create a single dataset by processing files that are in each of the company's Regional EFS file systems. The data engineer wants to use an AWS Step Functions state machine to orchestrate AWS Lambda functions to process the data. Which solution will meet these requirements with the LEAST effort?
Community Votes
66% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
The core challenge is minimizing engineering effort while respecting data residency constraints, leading to a decision between centralized consolidation versus distributed processing.
This question explores orchestrating AWS Lambda functions via Step Functions to process data from Amazon EFS file systems located in multiple regions while maintaining strict data locality for the processing team.
Many candidates choose Option D (AWS DataSync) assuming centralized processing is simpler, overlooking that transferring data across regions adds latency, cost, and complexity compared to moving compute to the data.
Community Discussion (4 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Option C is the correct answer because it aligns with the principle of 'moving compute to data' rather than moving data to compute, which minimizes network transfer costs and latency. By deploying Lambda functions to each region, the engineer avoids cross-region data movement entirely. The output is then stored in a central S3 bucket, which is a standard, low-effort aggregation pattern. This approach respects the requirement that the data science team's environment remains in a single region while allowing the processing to happen locally where the EFS files reside.Why the Other Options Are Wrong
Option A involves VPC peering across multiple regions and mounting remote EFS file systems into Lambda. While technically possible with some configuration, it introduces significant networking complexity and potential latency issues, violating the 'least effort' constraint. Option B suggests replicating EFS data, but EFS does not natively support active-active replication to another region in a simple manner without additional services like DataSync or third-party tools, making it high effort. Option D uses AWS DataSync to consolidate all data into one region. This violates the spirit of efficiency by moving large volumes of data across regions just for processing, whereas Option C processes locally and moves only small output files to S3.Community Comment Notes
The community split between C and D, with many favoring D due to a misunderstanding of 'effort'. As user HagarTheHorrible noted, 'Data Sync is for large scale migration, Lambdas would do just fine here... C', highlighting that DataSync is often overkill for this specific orchestration scenario. Another comment simply stated 'Peer the VPC introduce complexity, D is a much better solution', reflecting the common trap of preferring centralized data over distributed compute.Exam Strategy
When asked for 'least effort' in multi-region scenarios, evaluate if moving data or moving compute is cheaper and simpler. Usually, aggregating results in S3 after local processing is less complex than consolidating raw data centrally.
Frequently Asked Questions
Why is AWS DataSync considered higher effort here?
DataSync requires configuring tasks, schedules, and monitoring for large data transfers. It adds latency and cost compared to running lightweight Lambda functions locally.
Can Lambda access EFS in other regions via VPC Peering?
Yes, but it requires complex VPC peering setup, security group rules, and DNS configuration across regions, increasing operational overhead significantly.
Related Analysis
Practice All DEA-C01 Questions
Access 100 questions with complete answers and detailed explanations.
View Full DEA-C01 Practice Test →