Courseiva
Cloud Platform and Infrastructure SecuritymediumMultiple ChoiceObjective-mapped

CCSP Cloud Platform and Infrastructure Security Practice Question

An organization uses Azure Functions and needs to ensure that the function can securely access a database in a private VNet. What is the recommended approach?

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

Enable VNet integration for the function app and configure the function to use the private IP of the database

VNet integration allows Azure Functions to access resources in a virtual network without exposing them to the internet, using a private IP.

Answer analysis

Option-by-option breakdown

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

  • Place the function in the same VNet as the database without any additional configuration

    Why it's wrong here

    Incorrect; Azure Functions by default are not injected into a VNet; explicit VNet integration is required.

  • Use a VPN connection from the function to the database VNet

    Why it's wrong here

    Incorrect; VPN adds complexity and is not standard for Azure Functions.

  • Enable VNet integration for the function app and configure the function to use the private IP of the database

    Why this is correct

    Correct; VNet integration provides private connectivity.

  • Store database credentials in environment variables and use a public endpoint with IP whitelisting

    Why it's wrong here

    Incorrect; public endpoints are less secure; environment variables are not encrypted.

Quick reference

Cloud Service Model Comparison

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

About these practice questions

One of 964 original CCSP 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 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.