ExamQuestions.com

Register
Login
AWS Certified DevOps Engineer Professional Exam Questions

Amazon

AWS Certified DevOps Engineer Professional

220 / 500

Question 220:

You are working in a large corporation, and your team is in charge of the new CI/CD pipeline for a migration project from on-premises to AWS. The product used a license that limited the number of vCPUs, and it is decided that the same license will be used on the AWS platform. The software is baked on Amazon AMI and several teams including QA, DEV and Production frequently launch new EC2 instances using the Jenkins pipeline. Your team manager is worried that the number of servers used is getting too large and asked you to add a step in Jenkins to get the current license consumption status. What is the best way for you to implement that?

Answer options:

A.Use a shell script to count the total number of EC2 instances in all teams and compare the number with the limit that the license allows. 
B.Create a Lambda to keep counting the number of servers and compare with the license limit.
C.Use a DynamoDB table to record the usage status of vCPU. Add a Jenkins step to read and write the table to manage the license consumption status.
D.Create a License Configuration for this license in AWS License Manager. Call the CLI list-usage-for-license-configuration to get the license consumption status.