What happens when you delete a resource group in Azure?
AOnly the resources are deleted.
BAll resources and the group are deleted.
CIt becomes unavailable but not deleted.
DOther resource groups become inaccessible.
Explanation
Deleting a resource group will delete all resources contained within it, impacting all services.
Q22
Which service is primarily used for deploying containerized applications on Azure?
AAzure Kubernetes Service
BAzure Blob Storage
CAzure DevOps
DAzure Functions
Explanation
Azure Kubernetes Service orchestrates container deployment, while others serve different purposes.
Q23
A company needs to automate deployments from GitHub to Azure Web Apps. Which tool should they use?
AAzure CLI
BGitHub Actions
CAzure Pipelines
DAzure Functions
Explanation
GitHub Actions directly integrates with GitHub for CI/CD, unlike the other options.
Q24
What happens if you set the GitHub Actions job to run on an 'ubuntu-latest' runner but specify a Windows command?
AJob fails due to OS mismatch
BJob runs successfully on Linux
CJob prompts for OS selection
DJob uses Windows compatibility layer
Explanation
The job will fail because the command is not compatible with Linux.
Q25
A company needs to deploy a web app using Azure Static Web Apps. Which repository requirement is mandatory?
AGitHub or Azure DevOps repository
BLocal file system
CGitLab repository
DFTP server access
Explanation
Azure Static Web Apps requires a GitHub or Azure DevOps repository for deployment, while local storage, GitLab, and FTP do not meet this requirement.
Q26
What happens when a GitHub Actions workflow is triggered on a pull request?
AOnly the base branch gets built
BBoth base and head branches are built
CNo actions occur
DMerged changes are deployed automatically
Explanation
When a pull request is opened, GitHub Actions builds both the base and head branches to check for changes.
Q27
You are configuring an Azure Function that needs to scale to handle high request rates. Which plan should you choose?
AConsumption Plan
BApp Service Plan
CPremium Plan
DDedicated Plan
Explanation
The Premium Plan allows for better scaling capabilities and VNET integration compared to the other plans.
Q28
Which service should you use for serverless compute in Azure?
AAzure Functions
BAzure VMs
CAzure App Service
DAzure Kubernetes Service
Explanation
Azure Functions is designed for serverless compute, while the others provide different hosting solutions.
Q29
A company needs to ensure compliance by restricting data residency in the UK. Which Azure service would help?
AAzure Blob Storage
BAzure Policy
CAzure Regions
DAzure Monitor
Explanation
Azure Regions allow you to select the geographical location for data storage.
Q30
What happens when you assign a role without required permissions in Azure RBAC?
AAccess is granted as usual
BAccess is denied completely
CAccess is granted to some resources
DAccess depends on the user level
Explanation
If required permissions are missing, access is denied entirely.