Courseiva
mediumMultiple ChoiceObjective-mapped

MLA-C01 SageMaker Endpoint VPC Configuration Practice Question

Exhibit

[ERROR] 2024-03-15 10:23:45,234 - botocore.exception.ConnectTimeoutError: Connect timeout on endpoint URL: "https://database.example.com:5432"

A SageMaker endpoint is logging an error when processing inference requests that require database access. What is the most likely cause?

⚠ Common exam trap

Some candidates might think that database connectivity issues are due to endpoint instance size or missing data capture configuration. However, the key for accessing external resources from SageMaker is VPC configuration.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

The endpoint lacks a VPC configuration with proper security groups

When a SageMaker endpoint needs to access an external database (e.g., Amazon RDS) during inference, it must be launched within a VPC that has proper security group and subnet configurations. If the endpoint is not in a VPC or the security groups do not allow outbound traffic to the database, the endpoint will be unable to connect, resulting in errors. The other options are less likely: data capture is for logging requests (A), instance size affects performance not connectivity (B), model compatibility affects deployment but not specifically database access (C).

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Data capture is not enabled

    Why it's wrong here

    Data capture is for storing inference requests and responses, not for enabling database access.

  • The endpoint instance type is too small

    Why it's wrong here

    Instance size may affect performance but not network connectivity to a database.

  • The model is not compatible with the instance

    Why it's wrong here

    Compatibility issues would prevent deployment, not cause database-specific errors.

  • The endpoint lacks a VPC configuration with proper security groups

    Why this is correct

    Correct. Without VPC and security groups, the endpoint cannot reach the database.

Visual reference

192.168.1.0 /24 256 addresses (254 usable) 192.168.1.0 /25 Subnet A 128 addr (126 usable) 192.168.1.128 /25 Subnet B 128 addr (126 usable) Borrowing 1 bit from host portion creates 2 subnets (/25)

About these practice questions

One of 835 original MLA-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This MLA-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the MLA-C01 exam.