Question: It is AWS best practice to enable Lambda logging by which of these methods.

  1. `Use S3 metrics and CloudWatch alarms`
  2. `Create custom metrics within your Lambda code.`
  3. `Create custom metrics within your CloudWatch code.`
  4. `Use Lambda metrics and CloudWatch alarms.`

Answer: The correct answer of the above question is Option D:`Use Lambda metrics and CloudWatch alarms.`