Courseiva
Cloud Platform and Infrastructure SecurityhardMultiple ChoiceObjective-mapped

CCSP Cloud Platform and Infrastructure Security Practice Question

A company uses AWS and needs to allow a Lambda function in a VPC to access an S3 bucket without traversing the internet. Which solution meets this requirement securely?

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

Create a VPC endpoint for S3 and attach it to the Lambda's VPC

VPC endpoints (Gateway or Interface) allow private access to AWS services without internet traversal. For S3, a Gateway endpoint is commonly used.

Answer analysis

Option-by-option breakdown

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

  • Configure a NAT gateway in the VPC and route traffic through it

    Why it's wrong here

    Incorrect; NAT gateway still uses internet for S3 access.

  • Create a VPC endpoint for S3 and attach it to the Lambda's VPC

    Why this is correct

    Correct; a VPC endpoint enables private connectivity.

  • Use VPC peering to connect to the S3 bucket's VPC

    Why it's wrong here

    Incorrect; S3 is a service, not in a VPC; VPC peering is not applicable.

  • Assign a public IP to the Lambda and use an internet gateway

    Why it's wrong here

    Incorrect; public IP exposes the Lambda to the internet.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

This CCSP question is part of Courseiva's 964-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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 CCSP practice question is part of Courseiva's free ISC2 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 CCSP exam.