MLS-C01 • Practice Test 28
Free MLS-C01 practice test — 15 questions with explanations. Set 28. No signup required.
Refer to the exhibit. An ML engineer creates a CloudFormation stack with this template. The stack creation succeeds, but when the engineer tries to invoke the endpoint, it returns a ModelError. The CloudWatch logs show that the container exited with error. What is the MOST likely cause?
AWSTemplateFormatVersion: '2010-09-09'
Resources:
MyEndpoint:
Type: AWS::SageMaker::Endpoint
Properties:
EndpointName: my-endpoint
EndpointConfigName: !Ref MyEndpointConfig
MyEndpointConfig:
Type: AWS::SageMaker::EndpointConfig
Properties:
ProductionVariants:
- InitialInstanceCount: 2
InstanceType: ml.m5.large
ModelName: !Ref MyModel
VariantName: variant-1
MyModel:
Type: AWS::SageMaker::Model
Properties:
PrimaryContainer:
Image: 123456789012.dkr.ecr.us-east-1.amazonaws.com/my-image:latest
ModelDataUrl: s3://my-bucket/model.tar.gz
ExecutionRoleArn: arn:aws:iam::123456789012:role/SageMakerRole