AWS Certified Generative AI – Professional (AIP-C01) — Question 64

An insurance company uses existing Amazon SageMaker AI infrastructure to support a web-based application that allows customers to predict what their insurance premiums will be. The company stores customer data that is used to train the SageMaker AI model in an Amazon S3 bucket. The dataset is growing rapidly. The company wants a solution to continuously re-train the model. The solution must automatically re-train and re-deploy the model to the application when an employee uploads a new customer data file to the S3 bucket.
Which solution will meet these requirements?

Answer options

Correct answer: B

Explanation

Option B is correct as it utilizes AWS Lambda to generate an event upon file upload, which triggers SageMaker Pipelines for re-training and re-deployment. The other options either do not automate the process adequately or do not directly integrate with SageMaker Pipelines, making them less suitable for the requirements.