AWS DevOps Engineer Professional Practice Test

Disable ads (and more) with a membership for a one time $2.99 payment

Question: 1 / 170

What is the method of creating custom AWS Config rules?

Create a Lambda function for each rule

Creating custom AWS Config rules involves defining the criteria for compliance to evaluate the configuration of AWS resources. The most effective way to create these rules is by developing a Lambda function that contains the logic for the specific compliance checks you want to enforce. When a resource's configuration changes or when a specified time interval elapses, AWS Config will trigger the Lambda function associated with the custom rule. This function executes the logic defined within, assessing whether the current configuration of the resource meets the expected compliance requirements. By using Lambda, you have the flexibility to write more complex checks involving multiple resources, integrate with other AWS services, and utilize your existing code libraries for performing validations. This approach offers centralized management of compliance logic and eliminates the need for modifying the AWS service configurations directly, ensuring ease of updates and maintenance. Other options, while they may serve roles in managing AWS resources, do not directly pertain to the creation of custom AWS Config rules. Scheduling CloudWatch Events can be part of an automation workflow but doesn’t constitute the rule creation itself. API Gateway is primarily used for creating APIs and doesn't directly relate to evaluating resource compliance within AWS Config. Implementing a CI/CD pipeline with Jenkins is not relevant for AWS Config rule creation as it focuses more on application deployment rather than resource

Schedule a CloudWatch Event

Use API Gateway to interact with AWS services

Implement a CI/CD pipeline in Jenkins

Next

Report this question