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 111–120 of 150

Q111

What happens when you delete a resource group in Azure?

  • A Only resources within it are deleted
  • B Resources are archived for recovery
  • C All resources within it are deleted
  • D Group is marked for deletion only
Explanation All resources within a resource group are permanently deleted when the group is deleted, while the other options suggest different outcomes.
Q112

Which service is best for automated deployment workflows in Azure?

  • A Azure DevOps
  • B Azure Logic Apps
  • C Azure Functions
  • D Azure Storage
Explanation Azure DevOps provides comprehensive CI/CD capabilities; the others lack dedicated deployment features.
Q113

A company needs to monitor their GitHub Actions workflow's performance. Which tool can they use?

  • A Azure Monitor
  • B Log Analytics
  • C GitHub Actions Insights
  • D Azure Application Insights
Explanation GitHub Actions Insights provides specific metrics for workflows; others monitor Azure resources.
Q114

What happens when a GitHub Actions workflow runs and encounters an error before reaching the last step?

  • A The entire workflow fails.
  • B Only the failing step is skipped.
  • C All previous steps are rolled back.
  • D The workflow continues with next steps.
Explanation The workflow fails immediately, preventing any further execution; the others imply undesired behavior.
Q115

Which service provides serverless compute for Azure Functions?

  • A Azure App Service
  • B Azure Kubernetes Service
  • C Azure Logic Apps
  • D Azure Functions Host
Explanation Azure Functions Host runs serverless functions; other options provide different capabilities.
Q116

A company needs to automatically deploy their web application to Azure after each pull request. What action should they configure in their GitHub Actions workflow?

  • A Run tests before the deployment
  • B Deploy on push to main branch
  • C Schedule deployments nightly
  • D Use manual deployment approval
Explanation Running tests ensures stability before deployment, while others may not achieve automatic deployment on pull requests.
Q117

What happens when you set a GitHub Actions workflow to trigger on 'pull_request' and 'push' events?

  • A Only push events trigger the workflow
  • B Only pull requests trigger it
  • C Both events trigger the same workflow
  • D Conflicts occur, workflow doesn't run
Explanation Both events trigger the workflow, allowing for comprehensive CI/CD.
Q118

Which Azure service is primarily used for building APIs?

  • A Azure API Management
  • B Azure Storage
  • C Azure SQL Database
  • D Azure Functions
Explanation Azure API Management enables creation and management of APIs, while others serve different purposes.
Q119

A company needs to orchestrate a multi-step workflow including approvals. Which Azure service should they use?

  • A Azure Logic Apps
  • B Azure Functions
  • C Azure DevOps
  • D Azure Event Grid
Explanation Azure Logic Apps is designed for creating workflows; other options do not specifically manage workflows.
Q120

What happens when you set 0% auto-scaling in Azure App Service?

  • A App scales down to zero instances
  • B App remains at existing instance count
  • C App will shut down entirely
  • D Auto-scaling is disabled permanently
Explanation Setting 0% auto-scaling allows the app to scale down to zero instances during low demand.