Microsoft Azure

GitHub Actions

GH-200

Master GitHub Actions with the GH-200 exam focused on automation.

150 questions 0 views Free
Start Mock Test Timed · Full-length · Scored

Questions 61–70 of 150

Q61

Which service is primarily used for container orchestration in Azure?

  • A Azure Kubernetes Service
  • B Azure App Service
  • C Azure Functions
  • D Azure Blob Storage
Explanation Azure Kubernetes Service is designed for managing containerized applications, while the others serve different purposes.
Q62

A company needs to securely manage API keys in GitHub Actions. What should they use?

  • A Environment variables
  • B Secret keys in the code
  • C Public repositories
  • D Directly in workflows
Explanation Environment variables in GitHub Actions can securely store sensitive information, unlike the other options.
Q63

You are configuring a GitHub Actions workflow and want to limit execution to specific branches. What must you define in your YAML file?

  • A on.push.branches
  • B workflow_dispatch
  • C jobs.strategy
  • D env.variables
Explanation The 'on.push.branches' defines branch filters, whereas the other options do not achieve this purpose.
Q64

Which service helps manage secrets in Azure?

  • A Azure Key Vault
  • B Azure DevOps
  • C Azure Blob Storage
  • D Azure Monitor
Explanation Azure Key Vault is designed for managing secrets securely; the other options do not focus on secret management.
Q65

A company needs to automatically deploy its application when code is pushed to the main branch. Which GitHub Actions feature should they use?

  • A Workflows
  • B Secrets
  • C Issues
  • D Packages
Explanation Workflows automate deployment processes; the other options do not relate to deployment automation.
Q66

What happens when a GitHub Action runs and a job fails?

  • A Subsequent jobs still run
  • B Workflow stops immediately
  • C Previous jobs are rerun
  • D Only successful jobs run next
Explanation The workflow stops if any job fails; subsequent jobs do not execute unless specified to run regardless.
Q67

Which Azure service is designed for serverless computing?

  • A Azure Functions
  • B Azure Logic Apps
  • C Azure Virtual Machines
  • D Azure App Services
Explanation Azure Functions enables serverless execution, while others require infrastructure management.
Q68

A company needs to deploy a web app with high availability. Which Azure service is best?

  • A Azure App Service Plans
  • B Azure Virtual Machines
  • C Azure Kubernetes Service
  • D Azure Static Web Apps
Explanation Azure Kubernetes Service provides high availability and scaling capabilities.
Q69

What happens when a GitHub Action exceeds its time limit?

  • A Action continues running indefinitely
  • B Action is automatically canceled
  • C Log files are archived
  • D Repository is locked
Explanation Exceeded time limits result in automatic cancellation of the action.
Q70

Which service provides automated CI/CD pipelines in Azure?

  • A Azure DevOps
  • B Azure Functions
  • C Azure Storage
  • D Azure Cognitive Services
Explanation Azure DevOps offers CI/CD pipelines, while others do not.