exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

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

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 145 discussion

An international delivery company hosts a delivery management system on AWS. Drivers use the system to upload confirmation of delivery. Confirmation includes the recipient’s signature or a photo of the package with the recipient. The driver’s handheld device uploads signatures and photos through FTP to a single Amazon EC2 instance. Each handheld device saves a file in a directory based on the signed-in user, and the file name matches the delivery number. The EC2 instance then adds metadata to the file after querying a central database to pull delivery information. The file is then placed in Amazon S3 for archiving.

As the company expands, drivers report that the system is rejecting connections. The FTP server is having problems because of dropped connections and memory issues in response to these problems, a system engineer schedules a cron task to reboot the EC2 instance every 30 minutes. The billing team reports that files are not always in the archive and that the central system is not always updated.

A solutions architect needs to design a solution that maximizes scalability to ensure that the archive always receives the files and that systems are always updated. The handheld devices cannot be modified, so the company cannot deploy a new application.

Which solution will meet these requirements?

  • A. Create an AMI of the existing EC2 instance. Create an Auto Scaling group of EC2 instances behind an Application Load Balancer. Configure the Auto Scaling group to have a minimum of three instances.
  • B. Use AWS Transfer Family to create an FTP server that places the files in Amazon Elastic File System (Amazon EFS). Mount the EFS volume to the existing EC2 instance. Point the EC2 instance to the new path for file processing.
  • C. Use AWS Transfer Family to create an FTP server that places the files in Amazon S3. Use an S3 event notification through Amazon Simple Notification Service (Amazon SNS) to invoke an AWS Lambda function. Configure the Lambda function to add the metadata and update the delivery system.
  • D. Update the handheld devices to place the files directly in Amazon S3. Use an S3 event notification through Amazon Simple Queue Service (Amazon SQS) to invoke an AWS Lambda function. Configure the Lambda function to add the metadata and update the delivery system.
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
masetromain
Highly Voted 1 year, 9 months ago
Selected Answer: C
C is correct. Using AWS Transfer Family to create an FTP server that places the files in Amazon S3 and using S3 event notifications through Amazon Simple Notification Service (Amazon SNS) to invoke an AWS Lambda function will ensure that the archive always receives the files and that the central system is always updated. This solution maximizes scalability and eliminates the need for manual intervention, such as rebooting the EC2 instance. Option A and B still use EC2 instance, which is the source of the problem. Option D requires modification to the handheld devices which is not possible.
upvoted 14 times
...
venvig
Highly Voted 1 year, 1 month ago
Selected Answer: B
I agree that "C" is the ideal design. But here the question states that : Ec2 instance is running the SFTP server. File is uploaded from handheld devices to a file system in the Ec2 instance. The Ec2 instance then adds metadata to the file. The file is then placed in s3. The condition states that: The company cannot deploy a new application. Based on the condition, if I use lambda to add meta data, then its like deploying a new application. (We don't know if the application can be seamlessly rewritten in lambda. Will it finish under 15 mins ? etc.,) If we strictly interpret this as not being able to introduce any new logic or components (like a Lambda function for metadata processing), then Option (B) is the answer. Option B essentially replaces the FTP server with AWS Transfer Family and uses Amazon EFS as the file storage, which can scale and handle more connections. The existing EC2 instance, which already has the logic for metadata addition, would simply point to this new file path on EFS. This minimizes changes to the existing application logic.
upvoted 7 times
pk0619
4 months, 1 week ago
they had to reboot the ec2 because of memory, without scaling EC2 they will still have that problem and since B does nothing about adding more memory, it cannot be right choice.
upvoted 1 times
pk0619
4 months, 1 week ago
Actually offloading FTP from EC2 might eliminate memory issue, so it could very well be B as well
upvoted 1 times
...
...
gofavad926
7 months, 1 week ago
the text is: "The handheld devices cannot be modified, so the company cannot deploy a new application". Following your comment, you can't use neither the AWS Transfer Family. This is also new :D
upvoted 2 times
...
kgcain
1 year ago
From the app description, I am sure that it should work under 15min.
upvoted 1 times
...
...
EApeer
Most Recent 7 months ago
B is the best answer. The system is such that each handheld device saves a file in a directory based on the signed-in user, and the file name matches the delivery number. This means that we need a file storage that the data are stored hierarchically in a top-down network of folders. And a file system that has adaptive throughtput to resolve the dropped connections and memory issues. EFS will be the suitable solution component. S3 however has all the data stored on the same flat plane requiring more comprehensive metadata (labels) to make it manageable.
upvoted 1 times
...
kz407
7 months, 1 week ago
Selected Answer: C
It says "so the company cannot deploy a new application". This means that it's the handheld devices they can't deploy a new application into. While B works, It still relies on one EC2 instance, which is a part of the problem.
upvoted 1 times
...
gofavad926
7 months, 1 week ago
Selected Answer: C
C, transfer family + S3
upvoted 1 times
...
zanhsieh
8 months, 3 weeks ago
Selected Answer: C
C. A: No. FTP is not HTTP / HTTPS. FTP -> NLB. HTTP / HTTPS -> ALB. B: No. This needs extra steps (DataSync?) to move to S3, and the billing team would still complain about not always updated since it will be certain lag-behind time. C: Correct. D: No. S3 event notification can directly trigger Lambda.
upvoted 2 times
...
JMAN1
10 months ago
Selected Answer: C
C. does not require handheld device to be changed. And it solves EC2 dropped Conection by uisng S3.
upvoted 1 times
...
career360guru
10 months, 1 week ago
Selected Answer: C
Option C
upvoted 1 times
...
Chung234
1 year ago
Selected Answer: B
The answer is A. Q: Can I use FTP with an internet-facing endpoint? A: No, when you enable FTP, you will only be able to use VPC hosted endpoint‘s internal access option. If traffic needs to traverse the public network, secure protocols such as SFTP or FTPS should be used. Source: https://aws.amazon.com/aws-transfer-family/faqs/
upvoted 3 times
ele
7 months, 4 weeks ago
ALB is a load balancer that operates at Layer 7. Only HTTP and HTTPS can be used as ALB protocols. Therefore, it is not possible to set ALB at the front of the FTP server.
upvoted 1 times
...
...
rtguru
1 year, 3 months ago
This one of those tricky questions. I'm not sure if to go with A or C
upvoted 1 times
...
rrrrrrrrrr1
1 year, 3 months ago
IDK yall, it does say clearly "cannot deploy a new application" and the only instance of that is A. I Agree C is better but IDK the semantics here
upvoted 1 times
...
NikkyDicky
1 year, 3 months ago
Selected Answer: C
its a c
upvoted 1 times
...
Maria2023
1 year, 4 months ago
Selected Answer: C
Since AWS Transfer Family supports Amazon S3 Access Point then it's a standard scenario - FTP->S3->Event->Lambda. Scalable and serverless
upvoted 2 times
...
Jackhemo
1 year, 4 months ago
Selected Answer: C
olabiba.ai says C. 1. Scalability: By using AWS Transfer Family to create an FTP server that places the files directly in Amazon S3, you can leverage the scalability and durability of S3. S3 is designed to handle high volumes of data and can scale seamlessly as your company expands. 2. Reliability: With S3 as the destination for the files, you can ensure that the archive always receives the files. S3 provides high durability and availability, reducing the chances of data loss. 3. System updates: By using an S3 event notification through Amazon SNS, you can trigger an AWS Lambda function whenever a new file is uploaded to S3. This Lambda function can then add the necessary metadata and update the delivery system, ensuring that the central system is always updated. 4. No modification to handheld devices: Since the handheld devices cannot be modified, this solution allows the devices to continue uploading files through FTP. The only change is the destination, which is now the S3 bucket.
upvoted 1 times
...
mfsec
1 year, 7 months ago
Selected Answer: C
C is the most efficient
upvoted 3 times
...
zozza2023
1 year, 9 months ago
Selected Answer: C
C is correct
upvoted 3 times
...
zhangyu20000
1 year, 9 months ago
C is correct
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago