1Z0-1072-26 Compute Practice Question
You need to run an OCI Function that connects to an Oracle Autonomous Database secured within a private subnet. How should you configure the function to access the database securely without exposing it to the public internet?
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
✓
Attach the function application to a private subnet within your VCN using VCN configuration.
OCI Functions support VCN configuration, allowing you to attach a function application to a specific subnet within a VCN so that functions can access private resources like databases via private IP addresses.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Attach the function application to a private subnet within your VCN using VCN configuration.
Why this is correct
Configuring the function application with VCN details allows functions to run inside your private subnet and reach private resources.
- ✗
Use an API Gateway with a public endpoint and route database queries through HTTP headers.
Why it's wrong here
Routing database credentials and raw queries through HTTP headers is insecure and architecturally incorrect.
- ✗
Configure a public IP address on the function execution environment.
Why it's wrong here
Functions execute in managed serverless environments and do not support attaching public IP addresses directly.
- ✗
Functions cannot access private subnets; you must use an internet gateway.
Why it's wrong here
OCI Functions fully support VCN integration for private subnet access.
Visual reference
About these practice questions
This 1Z0-1072-26 question is part of Courseiva's 521-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 →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Oracle exam blueprint
This 1Z0-1072-26 practice question is part of Courseiva's free Oracle 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 1Z0-1072-26 exam.