SOA-C02 · Question #433
SOA-C02 Question #433: Real Exam Question with Answer & Explanation
This task requires configuring Amazon EventBridge to manage EC2 events, including setting up event replayability, scheduling a Lambda function invocation, and creating a rule to send notifications to a new Amazon SNS topic for EC2 Spot Instance interruptions.
Question
Lab Simulation 4 Instructions If the copy-paste functionality is not working in your environment, refer to the instructions file on the VM desktop and use Ctrl+C, Ctrl+V or Command-C, Command-V. Configure Amazon EventBridge to meet the following requirements. 1. Use the us-east-2 Region for all resources. 2. Unless specified below, use the default configuration settings. 3. Use your own resource naming unless a resource name is specified below. 4. Ensure all Amazon EC2 events in the default event bus are replayable for the past 45 days. 5. Create a rule named RunFunction to send the exact message {"name":"example") every 15 minutes to an existing AWS Lambda function named LogEventFunction 6. Create a rule named SpotWarning to send a notification to a new standard Amazon SNS topic named TopicEvents whenever an Amazon EC2 Spot Instance is interrupted. Do NOT create any topic subscriptions. The notification must match the following structure: Input path: {`instance`:`detail.instance-id} Input template: `The EC2 Spot Instance <instance> has been interrupted.` Important: Click the Next button to complete this lab and continue to the next lab. Once you click the Next button, you will NOT be able to return to this lab. Answer: Solution as given below.
Options
- taskConfigure Amazon EventBridge to manage EC2 events, including setting up event replayability, creating a scheduled rule to invoke an existing Lambda function, and creating a rule to send notifications to a new Amazon SNS topic upon EC2 Spot Instance interruptions, ensuring all resources are in the `us-east-2` Region.
- prerequisitesAWS console access; An existing AWS Lambda function named SpotHuntFunction
Explanation
This task requires configuring Amazon EventBridge to manage EC2 events, including setting up event replayability, scheduling a Lambda function invocation, and creating a rule to send notifications to a new Amazon SNS topic for EC2 Spot Instance interruptions.
Concept tested. Amazon SNS topic creation for EventBridge notifications
Reference. https://docs.aws.amazon.com/sns/latest/dg/sns-create-topic.html
Community Discussion
No community discussion yet for this question.