AWS - VPC FundamentalsWhich of the following is the correct way to associate a route table with a subnet in AWS CLI?Aaws ec2 create-route-table --subnet-id subnet-12345 --route-table-id rtb-67890Baws ec2 associate-route-table --subnet-id subnet-12345 --route-table-id rtb-67890Caws ec2 attach-route-table --subnet subnet-12345 --table rtb-67890Daws ec2 link-route-table --subnet subnet-12345 --route-table rtb-67890Check Answer
Step-by-Step SolutionSolution:Step 1: Identify the correct AWS CLI command for associationThe command to associate a route table with a subnet is 'associate-route-table'.Step 2: Check the correct syntax and parametersThe correct syntax uses '--subnet-id' and '--route-table-id' flags with IDs.Final Answer:aws ec2 associate-route-table --subnet-id subnet-12345 --route-table-id rtb-67890 -> Option BQuick Check:Associate route table = associate-route-table command [OK]Quick Trick: Use 'associate-route-table' with subnet and route table IDs [OK]Common Mistakes:Using 'create-route-table' instead of 'associate-route-table'Wrong parameter names like '--subnet' instead of '--subnet-id'Using non-existent commands like 'attach-route-table'
Master "VPC Fundamentals" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes AWS Account and Billing - Root user vs IAM user - Quiz 2easy AWS Account and Billing - AWS Cost Explorer basics - Quiz 4medium EC2 Fundamentals - Amazon Machine Images (AMIs) - Quiz 8hard Identity and Access Management - Least privilege principle - Quiz 8hard Identity and Access Management - Least privilege principle - Quiz 5medium S3 Fundamentals - Creating S3 buckets - Quiz 7medium S3 Fundamentals - S3 storage classes (Standard, IA, Glacier) - Quiz 5medium S3 Fundamentals - Why S3 matters for object storage - Quiz 14medium VPC Fundamentals - CIDR blocks and IP addressing - Quiz 15hard VPC Fundamentals - NAT Gateway for private subnet internet - Quiz 1easy