following is best and recommended option for capturing data from the APP?
1. You will be using PutObject API and save this data in the S3 bucket to put any anonymous object from mobile app.
2. You will be using Oracle RDS to store data. And you will be using SQL insert query in your mobile app.
3. You will create an IAM user and keep access keys of that user in the mobile app. While writing data into the AWS Kinesis Firehose it will be authorized using this access keys and FireHose will have
final destination as an S3 bucket.
4. Using REST call you will be saving app data in the AWS EBS volume. You will be having 3 EC2 instances across three Availability zone.
5. You will be using AWS Cognito Identity to authorize, for writing data in Kinesis FireHose. Which will finally write data to an S3 bucket.
Correct Answer : 5 Exp : : In this question following are the core requirement
- Mobile application should be able to send data to AWS for saving.
- Saved data should be available across availability zone.
- Mobile application should have permission or authorization to save the data using AWS Services.
If you see option-1, it is using PutObject which can be place any Anonymous object in S3 bucket. Without authorization. Hence cannot be a correct option.
EBS volumes are not available across availability zones. Hence, cannot be a correct option. So discard option-5 as well.
Saving credentials on the mobile app is not at all recommended. Hence, discard option-3 as well.
Option-2 it is not talking how it will be authorized. So we can discard option-2 as well.
Only remaining option is 5th one which is using AWS Cognito for authentication. And Final Destination as an S3. Which is a perfect fit for all above three core requirements.
5