Orchestrating Multi-Region EFS Data Processing with Step Functions

Answer Correct answer: C — Deploy Lambda functions to each Region to mount and process regional EFS data, then store outputs in a central S3 bucket.

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?

  1. Peer the VPCs that host the EFS file systems in each Region with the VPC that is in the data science team’s Region. Enable EFS file locking. Configure the Lambda functions in the data science team's Region to mount each of the Region specific file systems. Use the Lambda functions to process the data.
  2. Configure each of the Regional EFS file systems to replicate data to the data science team's Region. In the data science team’s Region, configure the Lambda functions to mount the replica file systems. Use the Lambda functions to process the data.
  3. Deploy the Lambda functions to each Region. Mount the Regional EFS file systems to the Lambda functions. Use the Lambda functions to process the data. Store the output in an Amazon S3 bucket in the data science team’s Region. Correct Answer
  4. Use AWS DataSync to transfer files from each of the Regional EFS files systems to the file system that is in the data science team's Region. Configure the Lambda functions in the data science team's Region to mount the file system that is in the same Region. Use the Lambda functions to process the data.

Community Votes

D
66%
A
17%
C
17%

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)

HagarTheHorrible 👍 1 Selected: C
Data Sync is for large scale migration, Lambdas would do just fine here... C
Vidhi212 👍 3 Selected: D
Using AWS DataSync in Option D achieves the desired data consolidation efficiently while keeping the workflow simple and cost-effective. It aligns with the data locality requirement and reduces engineering effort.
7a1d491 👍 1 Selected: D
Peer the VPC introduce complexity, D is a much better solution
emupsx1 👍 1 Selected: A
maybe A?

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

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.

More DEA-C01 FAQ →

Related Analysis

Practice All DEA-C01 Questions

Access 100 questions with complete answers and detailed explanations.

View Full DEA-C01 Practice Test →

← Back to DEA-C01 Study Guide