🃏 CI/CD Pipeline Flashcards

Review pipeline design and implementation concepts for AZ-400.

Card 1 of 5

Question

What is the difference between a trigger and a schedule in Azure Pipelines?

Click to reveal answer

Answer

Triggers react to events (push, PR). Schedules (cron) run at fixed times regardless of code changes. Both are defined in YAML.

Click to flip back

All CI/CD Pipeline Flashcards

1

Q: What is the difference between a trigger and a schedule in Azure Pipelines?

A: Triggers react to events (push, PR). Schedules (cron) run at fixed times regardless of code changes. Both are defined in YAML.

2

Q: What are pipeline templates used for?

A: Reusable pipeline definitions that can be extended or included. They promote consistency and reduce duplication across multiple pipelines.

3

Q: What is a deployment gate?

A: An automated check between pipeline stages. Gates query external services (Azure Monitor, ServiceNow) and only proceed when conditions are met.

4

Q: How do environments work in GitHub Actions?

A: Environments define deployment targets with protection rules: required reviewers, wait timers, and branch restrictions. Secrets can be scoped to environments.

5

Q: What is a service connection in Azure Pipelines?

A: An authenticated connection to an external service (Azure subscription, Docker registry, npm). Uses service principals or managed identities.

More AZ-400 Flashcard Decks