General Flashcards
Export all resource in a RG as a template
Export-AzResourceGroup cmdlet
Create a template from a deployment in the deployment history of a RG.
Save-AzResourceGroupDeploymentTemplate
Deployment history of RG
Get-AzResourceGroupDeployment
All operations performed during deployment
Get-AzResourceGroupDeploymentOperation
Register this provider namespace for Azure Log Analytics workspace.
Microsoft.OperationalInsights
Register this provider namespace for Azure Policy which is used for governance and guard rails within the Azure landing zone
Microsoft.PolicyInsights
Register this provider namespace forAzure Autmoation that automates different tasks within the environment (ex: patching servers)
Microsoft.Automation
Register this provider namespace for Azure Event Hubs, a big data streaming platform and event ingestion service that can be integrated with Azure native services.
Microsoft.NotificationHubs
- ArcPull
- ArcPush
- Owner
Authenticate with an ACR using Azure AD service principal.
What are the roles assigned to ACR to pull a non-quarantined image?
Pull.
Docker pull a non-quarantined image or pull another supported artifact, such as Helm chart, from a registry.
Requires authentication with the registry using authorized identity.
ArcPull
Pull and push
Docker push an image or push another supported artifact, such as Helm chart, to a registry.
Requires authentication with the registry using authorized identity.
ArcPush
Pull, push, and assign roles to others
Access resource manager
Create/delete registry
Push/pull image
Delete image data
Change policies
No - assign images
ACR role - Owner
Delete container images or other supported artifacts such as Helm chart, from a registry.
ArcDelete
Sign images, usually assigned to an automated process, which would use a service principal
ArcImageSigner
True/False
KEDA checks once every 30 seconds
True (KEDA polling interval)
True/False
If queue is > 0, KEDA scales the app by adding one new instance
True (KEDA scale up step)
Rate new instances are added: 1, 4, 8, 16, 32, …, maxReplicas
Scale up to 30 host instances
Enhanced compute capabilities
Web apps are hosted on dedicated VMs
Azure App Service plan: Premium V2
Virtual instances are shared with other customers.
Multi-tenant infrastructure.
Designed for development and testing
No autoscale
1 instance
Azure App Service plan: Shared
Expensive
Azure App Service plan: Isolated
Scale up to 10 host instances
Storage 5 GB
Web apps are hosted on dedicated VMs
Azure App Service plan: Standard
Deployment template file
Gets the resource group object that will be used to deploy the template.
resourceGroup().location = location parameter
resourceGroup()
Deploy scripts as continuous WebJobs
Create as linked to a web project
Supported in Basic App Service plan
WebJobs
3 instances
No autoscale
Azure App Service plan: Basic
Can be hosted on Windows or Linux
.NET Core 3.0
Can be hosted on Windows
ASP.NET 4.8
Networking feature
Configure access to App Services
Provide service endpoints or private endpoints
Load balancing between regional instances
Azure Application Gateway
Create scalable web applications with instances across multiple regions
Support for Web Application Firewall
Load balancing across multiple regions
Azure Front Door
Efficiently deliver web content to globally distributed users.
High-bandwidth physical delivery nodes placed at strategic locations across the globe.
Azure Content Delivery Network (CDN) endpoints
Centralize an organization’s file shares
Cache Azure file shares to on-premises Windows file servers
Azure File Sync
Can be hosted on Linux
PHP 7.3
Can be hosted on Linux
Ruby 2.6
Adds additional fieds during the creation/update of a resource
If field exists and values are different from policy, policy acts as a deny
Subscription Policy - Append effect
Create a warning event in the activity log for non-compliant resources
Subscription Policy - Audit effect
Evaluated if the request executed by Resource Provider resturns a success status code.
Triggered if the resource does NOT exist or the resource defined by ExistenceCondition is evaluated as false
Subscription Policy - DeployIfNotExists effect
Disabled
Append
Deny
Audit
Subscription Policy - order of effect evaluation
create new resource tag
New-AzTag
- Create Azure AD group; add users to group
- Enable SSPR with Selected option
- Select Azure AD group for which you want to allow SSPR
- Register authentication method for SSPR
Steps to configure SSPR
User Azure CLI
Ensures that the subscription logged into works with Azure Policies
Microsoft.PolicyInsights
Contributor & Owner roles
Azure Policy Insights
Create/configure policies
Create support tickets
Read resources
Resource Policy Contributor
Prevents deletion of resources in RG.
Allows changes to resources in RG.
CanNotDelete lock
Prevent addition of resources to RG
ReadOnly lock