ExamQuestions.com

Register
Login
AWS Certified DevOps Engineer Professional Exam Questions

Amazon

AWS Certified DevOps Engineer Professional

10 / 500

Question 10:

You have an on-premise virtual machine and you create a replication job in AWS Server Migration Service (SMS) to migrate the VM to AWS. Whenever an AMI is created from the SMS job, you need to launch an EC2 instance with the AMI and trigger a Jenkins job to perform the automation testing. The instance will be terminated after the testing is finished. Which method would you use to create the EC2 instance automatically for the testing?

Answer options:

A.Configure the Server Migration Service replication job to automatically launch an EC2 instance with a launch template when the job finishes.
B.Configure the Server Migration Service to send a message to an SNS notification with the AMI ID. Set up a Lambda function as the subscriber to launch an EC2 instance.
C.Configure a CloudWatch Event to monitor newly generated AMIs with the tag AWS:SMS. Use a Lambda function to create an EC2 instance and pass the instance ID to the Jenkins job.
D.Create a CloudWatch Event rule to monitor the AWS SMS job state changes. Use a Lambda function to get the new AMI ID and launch an EC2 instance.