Courseiva
Mlops InfrastructuremediumMultiple ChoiceObjective-mapped

AI-300 Mlops Infrastructure Practice Question

You need to ensure that a training script running on Azure ML has access to secrets (like API keys) without hardcoding them in the script. What should you use?

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

Azure Key Vault

Azure Key Vault is integrated with Azure ML to securely manage and inject secrets into training jobs.

Answer analysis

Option-by-option breakdown

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

  • Azure Key Vault

    Why this is correct

    Key Vault stores secrets securely and allows the workspace to retrieve them at runtime.

  • Environment variables in the Dockerfile

    Why it's wrong here

    This is insecure as it persists in the image.

  • Local configuration files

    Why it's wrong here

    Local files are not accessible in the cloud compute environment without explicit sync.

  • Hardcoding in the script

    Why it's wrong here

    Hardcoding secrets is a major security risk.

About these practice questions

Courseiva writes every AI-300 question from scratch — 204 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 →

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 Microsoft exam blueprint

This AI-300 practice question is part of Courseiva's free Microsoft 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 AI-300 exam.