Courseiva
ComputemediumMultiple ChoiceObjective-mapped

1Z0-1072-26 Compute Practice Question

You are deploying an application on OCI Functions. The function requires external Python packages that are not part of the standard library. How should you include these dependencies?

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

Include the dependencies in the requirements.txt file within the function directory before building and deploying.

When building OCI Functions, dependencies are included in the function's directory (e.g., in a `requirements.txt` file for Python) so that the `fn build` command packages them into the container image.

Answer analysis

Option-by-option breakdown

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

  • Install them manually via SSH on the function's underlying compute node after deployment.

    Why it's wrong here

    OCI Functions are serverless; you do not have direct SSH access to the execution environment.

  • Include the dependencies in the requirements.txt file within the function directory before building and deploying.

    Why this is correct

    Dependencies are packaged into the function container image during the build phase using dependency management files like requirements.txt.

  • Upload the packages as objects to Object Storage and configure the function to download them at runtime.

    Why it's wrong here

    Downloading dependencies at every function invocation adds significant latency and is an anti-pattern.

  • Store them in an OCI Vault and reference them as environment variables.

    Why it's wrong here

    Vault is for secrets, not software packages or libraries.

About these practice questions

This 1Z0-1072-26 question is part of Courseiva's 524-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 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.