Microsoft Azure

GitHub Copilot

GH-300

Prepare for the GH-300 exam to demonstrate your skills in GitHub Copilot.

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

Questions 51–60 of 144

Q51

You are configuring an Azure Key Vault. What happens if you disable a key?

  • A It cannot be used for encryption.
  • B It is permanently deleted.
  • C It can still be used for decryption.
  • D It loses all access permissions.
Explanation Disabling a key prevents it from being used for encryption, but it can still decrypt data that was encrypted when it was enabled.
Q52

Which service would you use to automate the deployment of your Azure infrastructure?

  • A Azure Resource Manager
  • B Azure DevOps
  • C Azure Functions
  • D Azure Storage
Explanation Azure Resource Manager provides infrastructure deployment automation, while others serve different roles.
Q53

A company needs to analyze user behavior in real-time on their web application deployed in Azure. Which service should they use?

  • A Azure Synapse Analytics
  • B Azure Stream Analytics
  • C Azure Data Lake Storage
  • D Azure SQL Database
Explanation Azure Stream Analytics is designed for real-time data analysis, unlike others which focus on storage or batch processing.
Q54

You are configuring Azure Key Vault and want to limit access to only specific users. What should you use to achieve this?

  • A Azure Identity Protection
  • B Access Policies
  • C Resource Locks
  • D RBAC Role Assignments
Explanation Access Policies directly control user access to resources within Azure Key Vault, while others do not offer such specificity.
Q55

Which service provides a serverless solution for running code?

  • A Azure Functions
  • B Azure Virtual Machines
  • C Azure Blob Storage
  • D Azure Kubernetes Service
Explanation Azure Functions is the only serverless option listed, while the others are not serverless compute services.
Q56

A company needs to manage access to sensitive data in Azure. Which service should they use?

  • A Azure Disk Encryption
  • B Azure Active Directory
  • C Azure Backup
  • D Azure Traffic Manager
Explanation Azure Active Directory is crucial for managing user access, unlike the other options which focus on encryption or data availability.
Q57

What happens when a VM's OS disk is set to 'ReadOnly'?

  • A No changes can be made to the VM
  • B The VM is automatically deleted
  • C Operational logs cannot be written
  • D Applications inside can still write data
Explanation Setting the OS disk to 'ReadOnly' prevents any changes to the operating system, unlike the other options which mischaracterize the VM's functionality.
Q58

Which service allows for automated security assessments of Azure resources?

  • A Azure Security Center
  • B Azure Monitor
  • C Azure Active Directory
  • D Azure DevOps
Explanation Azure Security Center provides automated assessments while others serve different functions.
Q59

A company needs to deploy a VM with strict compliance standards. What should they use to maintain compliance policies?

  • A Azure Policy
  • B Azure Functions
  • C Azure Logic Apps
  • D Azure Resource Manager
Explanation Azure Policy is designed for compliance management, while others do not focus on policy enforcement.
Q60

You are configuring an Azure Function. What happens when a function execution exceeds the timeout setting in a consumption plan?

  • A Function automatically restarts
  • B Function fails and is not retried
  • C Function logs an error but continues
  • D Function is queued for later execution
Explanation The function will fail and not retry if the execution exceeds the timeout; others suggest behaviors that don't apply in this case.