ข้อ 1
Which AWS service can query data directly in Amazon S3 for ML analysis without loading it into a database?
Athena is a serverless query service for data in S3. EC2 provides compute, Route 53 is DNS, and IAM manages access.
ข้อ 2
Which AWS service can prepare, transform, and catalog data for ML pipelines?
AWS Glue is an ETL service that prepares and catalogs data. S3 stores data, Route 53 resolves DNS, and CloudFront delivers content.
ข้อ 3
What is a feature store in machine learning?
Feature stores centralize features for reuse across training and inference. Transaction databases, DNS, and CDNs are different.
ข้อ 4
Which AWS storage service is commonly used to store raw datasets for SageMaker training jobs?
S3 is object storage commonly used for datasets and model artifacts. DynamoDB and RDS are databases, and Route 53 is DNS.
ข้อ 5
What is data leakage in machine learning?
Data leakage occurs when test information reaches training, causing overoptimistic evaluation. Storage, deployment, and compression are not leakage.
ข้อ 6
What is normalization in ML data preparation?
Normalization scales features to comparable ranges. Removing rows, encryption, and DNS are different operations.
ข้อ 7
What is a categorical variable?
Categorical variables represent categories such as color or country. Numeric measurements, indexes, and metrics are different.
ข้อ 8
Why split data into training, validation, and test sets?
A separate test set evaluates generalization on unseen data. Splitting is not about storage cost, security, or avoiding S3.
ข้อ 9
What is Amazon SageMaker Data Wrangler?
Data Wrangler provides a visual interface for data preparation. DNS, firewalls, and load balancers are different.
ข้อ 10
Match each data engineering concept to its purpose.
S3 stores raw data, Glue prepares and catalogs, feature stores share features, and Data Wrangler provides visual preparation.
ข้อ 11
Which SageMaker built-in algorithm is commonly used for regression problems?
Linear Learner supports regression and classification. K-Means clusters, PCA reduces dimensions, and Object Detection works on images.
ข้อ 12
Which SageMaker built-in algorithm is commonly used for classification with tabular data?
XGBoost is widely used for tabular classification and regression. K-Means clusters, PCA reduces dimensions, and BlazingText handles text.
ข้อ 13
What is a hyperparameter?
Hyperparameters are set before training, while model parameters are learned from data. Test records and artifacts are different.
ข้อ 14
What is an epoch in training?
An epoch is one full pass over the training dataset. Tables, deployments, and security groups are different.
ข้อ 15
What is overfitting?
Overfitting means high training accuracy but poor performance on new data. Simple models, deployment, and encryption are different.
ข้อ 16
What is early stopping?
Early stopping ends training when validation metrics no longer improve, reducing overfitting. It is not deletion, encryption, or restart.
ข้อ 17
What is transfer learning?
Transfer learning reuses knowledge from a pretrained model. Copying, moving endpoints, and changing instances are different.
ข้อ 18
What does a confusion matrix show?
A confusion matrix summarizes classification results. Loss, cost, and latency are different metrics.
ข้อ 19
What is a loss function?
Loss functions measure how far predictions are from targets. Buckets, firewall rules, and DNS records are not metrics.
ข้อ 20
Match each model concept to its purpose.
Linear Learner supports regression, XGBoost handles classification, an epoch is a training pass, and overfitting means poor generalization.
ข้อ 21
Which AWS service provides identity and access management for SageMaker users and roles?
IAM controls users, roles, and permissions. S3 stores data, CloudFront delivers content, and Glue prepares data.
ข้อ 22
Which AWS service manages encryption keys for data at rest?
KMS manages encryption keys. Route 53 is DNS, WAF protects web traffic, and CloudWatch monitors metrics.
ข้อ 23
What is a VPC?
A VPC is an isolated virtual network. Databases, models, and load balancers run inside or alongside it.
ข้อ 24
Why use VPC endpoints with SageMaker?
VPC endpoints provide private connectivity to AWS services. They do not improve accuracy, store data, or create reports.
ข้อ 25
How is data protected in transit?
TLS encrypts data while it travels. Buckets, DNS records, and alarms do not encrypt traffic.
ข้อ 26
What grants a SageMaker notebook instance permission to access AWS resources?
Notebook instances assume IAM roles to access resources. DNS records, endpoints, and alarms do not grant permissions.
ข้อ 27
Which AWS service records API calls for security auditing?
CloudTrail logs API activity for auditing. Athena queries, Glue prepares data, and SageMaker builds models.
ข้อ 28
What is least privilege?
Least privilege limits permissions to what is necessary. Full access, encryption, and VPC creation are not least privilege.
ข้อ 29
What is a private SageMaker endpoint?
Private endpoints are reachable only within a VPC. Public websites, model artifacts, and alarms are different.
ข้อ 30
Match each security concept to its purpose.
IAM grants permissions, KMS manages keys, VPC provides network isolation, and CloudTrail audits API calls.
ข้อ 31
What is a SageMaker endpoint?
SageMaker endpoints host models and serve real-time predictions. Datasets, DNS records, and security groups are different.
ข้อ 32
What is batch transform?
Batch transform processes a dataset and writes predictions. It is not real-time serving, training, or encryption.
ข้อ 33
What is an inference pipeline?
Inference pipelines chain preprocessing and prediction containers. Buckets, training jobs, and DNS zones are different.
ข้อ 34
What is endpoint autoscaling?
Autoscaling changes endpoint capacity to match traffic. It does not improve accuracy, encrypt data, or create reports.
ข้อ 35
What does an endpoint configuration define?
Endpoint configurations define model, instance type, and capacity. Training data, DNS, and subnets are configured elsewhere.
ข้อ 36
Which hosting options can SageMaker provide?
SageMaker supports real-time, serverless, and batch inference. It does not resolve DNS or store data instead of S3.
ข้อ 37
What is a model artifact?
Model artifacts are trained model files. Hyperparameters are settings, test data is input, and alarms are monitoring tools.
ข้อ 38
What is a production variant?
Production variants group model and instance settings for routing traffic. They are not datasets, VPC endpoints, or DNS records.
ข้อ 39
How can A/B testing be done with SageMaker endpoints?
SageMaker routes traffic percentages to variants for A/B testing. Deleting models, single instances, or disabling monitoring are not A/B testing.
ข้อ 40
Match each deployment concept to its purpose.
Real-time endpoints serve live requests, batch transform processes batches, pipelines chain containers, and autoscaling adjusts capacity.
ข้อ 41
Which AWS service monitors SageMaker endpoint metrics such as latency and invocation errors?
CloudWatch collects metrics and alarms. Athena queries, Glue prepares data, and Route 53 resolves DNS.
ข้อ 42
What does SageMaker Model Monitor detect?
Model Monitor detects drift and quality issues in inputs and predictions. DNS, cost, and latency are other concerns.
ข้อ 43
What is data drift?
Data drift occurs when production data distribution changes from training data. Deleting models, stopping endpoints, and VPC changes are different.
ข้อ 44
What is SageMaker Experiments?
SageMaker Experiments tracks runs, parameters, and metrics. Data warehouses, DNS, and load balancers are different.
ข้อ 45
What is SageMaker Pipelines?
SageMaker Pipelines automates ML workflow steps. Storage, alarms, and security groups are different.
ข้อ 46
What is model lineage?
Lineage records how artifacts and models relate. Encryption, deletion, and VPC creation are not lineage.
ข้อ 47
Which tool can detect bias in training data and models?
Clarify detects bias and explains predictions. Route 53, Glue, and CloudFront are not bias detection tools.
ข้อ 48
What is a CloudWatch alarm?
Alarms monitor metrics and trigger actions. Buckets, training jobs, and DNS records are different.
ข้อ 49
What should a team do when model drift is detected?
Retraining with current data addresses drift. Deleting endpoints, disabling monitoring, or removing roles would not fix the model.
ข้อ 50
Match each monitoring concept to its purpose.
CloudWatch provides metrics, Model Monitor detects drift, Experiments track runs, and Pipelines automate workflows.
ข้อ 51
What is managed Spot Training?
Managed Spot Training uses Spot instances for lower-cost training. On-demand only, latency increases, or disabled encryption are not Spot training.
ข้อ 52
What is distributed training?
Distributed training spreads workload across instances for faster training. One CPU, deleting data, or one model are not distributed training.
ข้อ 53
What is SageMaker Autopilot?
Autopilot automates model building and tuning. DNS, firewalls, and load balancers are different.
ข้อ 54
What is automatic model tuning?
Automatic model tuning explores hyperparameters to improve metrics. Deletion, encryption, and reports are different.
ข้อ 55
What is an instance type?
Instance types define compute capacity. Models, datasets, and DNS records are not instance types.
ข้อ 56
How can inference cost be reduced?
Right-sizing, serverless, and batch inference reduce cost. Excess instances, disabled monitoring, or more storage increase cost.
ข้อ 57
What is a quota in AWS?
Quotas limit resource usage. Metrics, datasets, and DNS records are different.
ข้อ 58
What is cost optimization?
Cost optimization balances spend and performance. Buying everything, disabling security, or deleting models are not optimization.
ข้อ 59
What is model compression?
Compression reduces model size for faster, cheaper inference. Encryption, increasing size, or adding instances are not compression.
ข้อ 60
Match each optimization concept to its purpose.
Spot training lowers cost, distributed training speeds up, Autopilot builds models, and auto tuning searches hyperparameters.