AWS Certified Machine Learning – Specialty — Question 235
A healthcare company wants to create a machine learning (ML) model to predict patient outcomes. A data science team developed an ML model by using a custom ML library. The company wants to use Amazon SageMaker to train this model. The data science team creates a custom SageMaker image to train the model. When the team tries to launch the custom image in SageMaker Studio, the data scientists encounter an error within the application.
Which service can the data scientists use to access the logs for this error?
Answer options
- A. Amazon S3
- B. Amazon Elastic Block Store (Amazon EBS)
- C. AWS CloudTrail
- D. Amazon CloudWatch
Correct answer: D
Explanation
The correct answer is D, Amazon CloudWatch, as it is specifically designed for monitoring and logging AWS resources, including SageMaker. The other options do not provide logging capabilities for application errors: Amazon S3 is for storage, Amazon EBS is for block storage, and AWS CloudTrail is for tracking API calls rather than application logs.