AWS - EC2 FundamentalsWhich AWS CLI command correctly allocates a new Elastic IP address in the VPC scope?Aaws ec2 allocate-address --domain vpcBaws ec2 create-elastic-ipCaws ec2 allocate-address --domain standardDaws ec2 assign-address --domain vpcCheck Answer
Step-by-Step SolutionSolution:Step 1: Recall correct CLI command for Elastic IP allocationThe correct command is 'allocate-address' with the domain set to 'vpc' for VPC scope.Step 2: Verify optionsOnly aws ec2 allocate-address --domain vpc uses the correct command and domain. Others use invalid commands or wrong domain.Final Answer:aws ec2 allocate-address --domain vpc -> Option AQuick Check:Allocate Elastic IP with 'allocate-address --domain vpc' [OK]Quick Trick: Use 'allocate-address --domain vpc' to get Elastic IP in VPC [OK]Common Mistakes:Using 'create-elastic-ip' which is invalidUsing 'assign-address' instead of 'allocate-address'Setting domain to 'standard' for VPC Elastic IP
Master "EC2 Fundamentals" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes AWS CLI - Basic CLI commands (s3, ec2) - Quiz 8hard AWS CLI - Basic CLI commands (s3, ec2) - Quiz 15hard EC2 Fundamentals - Amazon Machine Images (AMIs) - Quiz 2easy EC2 Fundamentals - EC2 pricing models (on-demand, reserved, spot) - Quiz 3easy Identity and Access Management - Assuming roles for temporary access - Quiz 6medium Identity and Access Management - Assuming roles for temporary access - Quiz 11easy S3 Fundamentals - Static website hosting on S3 - Quiz 7medium S3 Fundamentals - S3 versioning - Quiz 2easy Security Groups and Network ACLs - Default security group behavior - Quiz 8hard VPC Fundamentals - Why VPC provides network isolation - Quiz 14medium