tag:blogger.com,1999:blog-4419564480834914366.post918432896097103654..comments2023-08-02T05:56:17.872-07:00Comments on Allinthemiddle: My attempt to the AWS DevOps Engineer professional exam sample questions.Unknownnoreply@blogger.comBlogger2125tag:blogger.com,1999:blog-4419564480834914366.post-30071972798147908152016-09-20T14:22:26.014-07:002016-09-20T14:22:26.014-07:00There is actually an option to generate SNS notifi...There is actually an option to generate SNS notification when an object is uploaded to S3 (can you explain why you say there isn't?). If you go to the S3 console and go to your bucket you can click 'properties' and then expand 'Events'. There you can configure these. The console text says: "Event Notifications enable you to send alerts or trigger workflows. Notifications can be sent via Amazon Simple Notification Service (SNS) or Amazon Simple Queue Service (SQS) or to a Lambda function (depending on the bucket location)." For type of event you could select 'ObjectCreated(ALL)'. So you don't need any separate instance nor do you need to use lambda in this case. It would be possible to trigger Lambda however you could equally send the SNS notification to your application. However one would need to make sure the application is high available such that SNS notifications are not missed. Or go for SNS-> SQS and to poll an SQS queue to have less coupling. Since these are cheap services I am not to concerned about the price tag as a separate instance is not needed with this approach. I would need more detailed information on the application to be more certain on my answer. Because it is starting to sound like over engineering ;-). If all the files in the bucket are actually placed by the application then all this is not needed and B is a valid option. In that case it would be the best candidate as it follows the KISS principle.Peterhttps://www.blogger.com/profile/07126679958356909863noreply@blogger.comtag:blogger.com,1999:blog-4419564480834914366.post-28128265311940455832016-09-18T20:55:51.712-07:002016-09-18T20:55:51.712-07:00Question 7:
I would go with option B.
Your choice ...Question 7:<br />I would go with option B.<br />Your choice with option C, to my opinion,is cost more since there is no option to generate SNS notification from object be uploaded to S3 and SNS does not have ability to update DynamoDB data, you will need separate instance to that task or leverage the use of Lambda + CloudTrail + CloudWatch event which are not mentioned in question.Anonymoushttps://www.blogger.com/profile/04709892949022918390noreply@blogger.com