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 31–40 of 150

Q31

Which service does Azure provide for managing API gateways?

  • A Azure API Management
  • B Azure Data Lake
  • C Azure Functions
  • D Azure Kubernetes Service
Explanation Azure API Management specifically handles API gateway functions, while the other options focus on different functionalities.
Q32

A company needs to restrict access to their Azure resources based on user attributes. Which Azure solution should they implement?

  • A Azure Policy
  • B Azure Role-Based Access Control
  • C Azure Key Vault
  • D Azure Resource Locks
Explanation Role-Based Access Control (RBAC) allows restrictions based on attributes, while the other options focus on different access or management controls.
Q33

What happens when an Azure Function's timeout is reached?

  • A Function completes any active execution
  • B Function is forcibly terminated
  • C Function retries automatically
  • D Function triggers an alert
Explanation When the timeout is reached, the function execution is forcibly terminated rather than completing or retrying.
Q34

Which Azure service provides scalable, managed database solutions?

  • A Azure SQL Database
  • B Azure Blob Storage
  • C Azure Functions
  • D Azure Logic Apps
Explanation Azure SQL Database offers scalable, managed database services; others serve different functions.
Q35

A company needs to automate deployment from GitHub to Azure. Which service should they use?

  • A Azure DevOps
  • B GitHub Actions
  • C Azure Automation
  • D Azure Monitor
Explanation GitHub Actions is specifically designed for automation in GitHub; others do not focus on this integration.
Q36

What happens when you run a YAML workflow with a syntax error in GitHub Actions?

  • A Workflow runs successfully
  • B Workflow fails to run
  • C Warnings are logged
  • D Auto-corrections are applied
Explanation A syntax error prevents the workflow from running; successful runs and automatic corrections do not occur.
Q37

Which Azure service helps in automating container deployment?

  • A Azure DevOps
  • B Azure Functions
  • C Azure Kubernetes Service
  • D Azure Storage
Explanation Azure Kubernetes Service is purpose-built for managing containers, while others do not specialize in container deployment.
Q38

A company needs to ensure its GitHub actions don't expose secrets. What should it do?

  • A Use environment variables only
  • B Store secrets in a database
  • C Use GitHub Secrets
  • D Make the repository private
Explanation GitHub Secrets is specifically designed to safely store sensitive information, whereas the other options do not guarantee security.
Q39

What happens when a push occurs to the main branch in GitHub Actions?

  • A Actions do not trigger
  • B Only sends notifications
  • C Build and deployment begin
  • D Deletes the main branch
Explanation A push to the main branch normally triggers build and deployment workflows, while the other options are not standard behavior.
Q40

Which Azure service allows for serverless computing?

  • A Azure Functions
  • B Azure SQL Database
  • C Azure App Service
  • D Azure Virtual Machines
Explanation Azure Functions enables event-driven serverless execution, while others are not inherently serverless.