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 101–110 of 150

Q101

A company needs to automatically deploy applications to Azure upon merging pull requests. What GitHub Action should they use?

  • A Build Action
  • B Deploy Action
  • C Scheduled Action
  • D Workflow Action
Explanation Deploy Action specifically handles application deployment, whereas the others do not focus on deployment.
Q102

You are configuring a GitHub Action YAML file. What happens when a specified condition in "if" fails?

  • A Job fails immediately
  • B Action skips the job
  • C Triggers an alert
  • D Runs in a separate environment
Explanation If the condition fails, the action skips that job, while the other options do not apply to this behavior.
Q103

Which service manages CI/CD for Azure resources?

  • A Azure DevOps
  • B Azure Front Door
  • C Azure Blob Storage
  • D Azure Function Apps
Explanation Azure DevOps is specifically designed for CI/CD, while others serve different functions.
Q104

A company needs to scale services automatically based on load. What Azure feature should they use?

  • A Load Balancer
  • B Auto Scaling
  • C Azure Monitor
  • D Azure Traffic Manager
Explanation Auto Scaling automatically adjusts resources, while others manage traffic or monitoring.
Q105

You are configuring a static web app on Azure. What happens when you push changes to the main branch?

  • A Nothing, manual deploy required
  • B Automatic deployment triggers
  • C Site crashes temporarily
  • D Increased loading speed initially
Explanation Automatic deployment is a core feature of Azure Static Web Apps upon pushing to the main branch.
Q106

Which service is used for serverless execution in Azure?

  • A Azure Functions
  • B Azure Blob Storage
  • C Azure Virtual Machines
  • D Azure Kubernetes Service
Explanation Azure Functions enables serverless environments, while the others provide different types of cloud computing services.
Q107

A company needs to integrate its CI/CD pipeline with GitHub. Which Azure service is recommended?

  • A Azure DevOps
  • B Azure App Service
  • C Azure Logic Apps
  • D Azure Functions
Explanation Azure DevOps natively supports GitHub integration for CI/CD, while others focus on application hosting or automation.
Q108

What happens when you try to deploy to an Azure App Service with an unsupported runtime?

  • A The deployment succeeds without issues
  • B Deployment fails with a clear error
  • C App Service auto-updates runtime
  • D Application logs are published automatically
Explanation Deployment will fail due to runtime incompatibility, as Azure App Services only support specified runtimes.
Q109

Which service allows for automated scaling in Azure?

  • A Azure Functions
  • B Azure Blob Storage
  • C Azure SQL Database
  • D Azure Cognitive Services
Explanation Azure Functions automatically scales based on demand, while the other services do not provide automatic scaling mechanisms.
Q110

You are configuring a GitHub Action workflow. What is required to run Docker commands?

  • A A runner with Docker support
  • B Node.js installed on the runner
  • C GitHub Package Registry
  • D Secrets configuration
Explanation A runner with Docker support is essential to execute Docker commands, while the other options are not strictly necessary.