CPENT Cloud And Hybrid Infrastructure Security Practice Question
During an Azure penetration test, an attacker identifies an Azure Function with an HTTP trigger that uses function-level keys. However, the function key was leaked in a public GitHub repository. What level of access does this key provide?
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
✓
It allows unauthenticated invocation of the specific Azure Function endpoint associated with that key.
A leaked function key allows any external actor to invoke the specific Azure Function endpoint associated with that key, potentially triggering unauthorized backend logic or data access.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
It allows unauthenticated invocation of the specific Azure Function endpoint associated with that key.
Why this is correct
Function keys grant invocation rights to the specific function endpoint.
- ✗
It allows the attacker to decrypt all Azure Key Vault secrets in the tenant.
Why it's wrong here
Function keys do not grant Key Vault decryption rights unless specifically coded into the function.
- ✗
It provides direct SSH root access to the underlying Azure App Service worker nodes.
Why it's wrong here
Function keys do not provide worker node SSH access.
- ✗
It grants full Owner-level administrative access to the entire Azure subscription.
Why it's wrong here
Function keys are scoped to function invocation, not subscription ownership.
About these practice questions
Courseiva writes every CPENT question from scratch — 274 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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 EC-Council exam blueprint
This CPENT practice question is part of Courseiva's free EC-Council 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 CPENT exam.