0
0
Azurecloud~20 mins

Azure Pipelines overview - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Azure Pipelines Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
service_behavior
intermediate
2:00remaining
What happens when a pipeline triggers on a pull request?

In Azure Pipelines, what is the typical behavior when a pipeline is configured to trigger on a pull request?

AThe pipeline only runs after the pull request is merged.
BThe pipeline waits for manual approval before starting.
CThe pipeline sends an email but does not run any jobs.
DThe pipeline runs automatically to validate the changes before merging.
Attempts:
2 left
💡 Hint

Think about how pipelines help keep code quality before merging.

Architecture
intermediate
2:00remaining
Which component is responsible for running jobs in Azure Pipelines?

In Azure Pipelines architecture, which component actually executes the build or deployment jobs?

AAzure DevOps Server
BRepository
CAgent
DPipeline YAML file
Attempts:
2 left
💡 Hint

Consider what runs the commands defined in the pipeline.

security
advanced
2:00remaining
How to securely store secrets in Azure Pipelines?

Which method is the best practice to securely store and use secrets like passwords or tokens in Azure Pipelines?

AUse Azure Key Vault and link it to the pipeline.
BCommit secrets in the source code repository with encryption.
CStore secrets directly in the pipeline YAML file as plain text.
DSend secrets via email to the build agent before running.
Attempts:
2 left
💡 Hint

Think about centralized secret management services.

Best Practice
advanced
2:00remaining
What is a recommended practice for pipeline YAML files in large projects?

For large projects with multiple teams, what is a recommended practice regarding pipeline YAML files?

AUse templates to reuse common pipeline steps across multiple YAML files.
BKeep all pipeline YAML definitions in a single file at the root of the repo.
CWrite pipeline YAML files manually for each job without reuse.
DStore pipeline YAML files outside the source code repository.
Attempts:
2 left
💡 Hint

Think about avoiding repetition and managing complexity.

🧠 Conceptual
expert
2:00remaining
What is the effect of setting 'trigger: none' in a pipeline YAML?

In an Azure Pipeline YAML file, what happens if you set trigger: none?

Azure
trigger: none
AThe pipeline will run on every commit automatically.
BThe pipeline will not run automatically on any code changes.
CThe pipeline will only run on pull request creation.
DThe pipeline will fail to start due to invalid syntax.
Attempts:
2 left
💡 Hint

Consider what disabling triggers means for automation.