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 71–80 of 150

Q71

A company needs to deploy 10 identical resources quickly. What would be the best approach?

  • A Use ARM templates
  • B Manual deployment
  • C Use Azure Portal only
  • D Use PowerShell for each resource
Explanation ARM templates allow deploying multiple resources efficiently, unlike manual efforts.
Q72

What happens when you increase the instance count in an Azure VM scale set?

  • A Reduce overall cost
  • B Enhance load balancing
  • C Stop all VMs temporarily
  • D Delete existing instances
Explanation Increasing instance count enhances load balancing while the cost increases.
Q73

Which service provides integrated CI/CD in Azure?

  • A Azure DevOps
  • B Azure Logic Apps
  • C Azure Functions
  • D Azure Storage
Explanation Azure DevOps offers comprehensive CI/CD capabilities, while the others serve different purposes.
Q74

A company needs to deploy code changes automatically when a pull request is created. Which GitHub Actions feature should they use?

  • A Workflow dispatch
  • B Scheduled triggers
  • C Pull request triggers
  • D Manual triggers
Explanation Pull request triggers activate workflows on PR events, enabling auto-deployment.
Q75

What happens when a GitHub Action exceeds its time limit?

  • A Workflow stops immediately
  • B Workflow continues until completion
  • C Action retries automatically
  • D Action sends warning notification
Explanation The workflow stops immediately upon exceeding the time limit, unlike others which don't accurately describe this behavior.
Q76

Which Azure service is primarily used for container orchestration?

  • A Azure Kubernetes Service
  • B Azure Functions
  • C Azure Blob Storage
  • D Azure Virtual Machines
Explanation Azure Kubernetes Service is designed for managing containers, while the others serve different purposes.
Q77

A company needs to deploy code automatically to multiple Azure environments based on branch changes. What should they use?

  • A Azure DevOps Services
  • B GitHub Actions
  • C Azure Automation
  • D Azure Logic Apps
Explanation GitHub Actions allows automation of deployment tied to git changes, while the others serve mainly different purposes.
Q78

You are configuring GitHub Actions for a repository. What happens when a job fails?

  • A Subsequent jobs always run
  • B Entire workflow stops by default
  • C Only the failed job restarts
  • D Error logs are not generated
Explanation By default, when a job fails, the workflow stops executing subsequent jobs to prevent further errors.
Q79

Which Azure service provides a managed Kubernetes environment?

  • A Azure Kubernetes Service
  • B Azure VM
  • C Azure App Service
  • D Azure Functions
Explanation Azure Kubernetes Service is specifically designed for managing Kubernetes clusters, unlike the other options which serve different purposes.
Q80

A company needs to deploy a web application with zero downtime. What should they use?

  • A Azure Functions
  • B Blue/Green Deployment
  • C Azure Batch
  • D Recreate Deployment
Explanation Blue/Green Deployment allows for seamless transitions with zero downtime, while the other options do not suit this requirement.