When you create a role assignment in the Azure CLI, what 3 components do you need?
In Azure CLI, what’s the command to assign the “reader” scope to the “developer” security group?
(Create Role Assignment in CLI)
assign the role and specify a resource group scope.
az role assignment create –role “Reader” –assignee $developers_security_group –scope /subscriptions/xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx/resourceGroups/my-web-app
In Azure CLI, what’s the command to define your own role (eg “Custom Data”), and assign it to an app or group?
(Create Role Definitions in CLI)
az role definition create –role-definition ‘{
“Name”: “Custom Data”, […]
}
assign the new custom role to an app or group
az role assignment create –role “Custom Data” –assignee $developers_security_group
What’s Azure API Management?
Azure service to create consistent and modern API gateways for existing back-end services.
Provides secure, scalable API access for your app.
What are the 3 components in Azure API Management?
What’s the capabilities of Azure Portal?
What are the Access Restriction Policies in API Management?
What’s the policy name to secure an API by requiring a JWT Token?
<validate-jwt header-name=”Authorization” require-expiration-time=”false” require-scheme=”Bearer” output-token-variable-name=”jwt”>
Common use cases for Azure Cache for Redis?
How to remove items from Azure Redis Cache?
What are the Eviction policy options?
What are the best practices for Azure Cache for Redis configuration ?
What’s the command to configure Web Server Logging to the Filesystem?
az webapp log config –name sampleWebApp –resource-group sampleResourceGroup –web-server-logging filesystem
What’s the command to configure App Logging to Azure Blob Storage? (windows only)
az webapp log config –name sampleWebApp –resource-group sampleResourceGroup –application-logging azureblobstorage
What’s the command to configure Container Logging to File System? (Linux only)
az webapp log config –name sampleWebApp –resource-group sampleResourceGroup –docker-container-logging filesystem
What’s the command to look/tail logs from App Service app? and tail and filter?
az webapp log tail –name sampleWebApp –resource-group sampleResourceGroup
Tail and Filter logs
az webapp log tail –name sampleWebApp –resource-group sampleResourceGroup –filter Error
What’s transient fault?
any fault that is likely self-correcting and is caused by temporary loss of connection/availability of a service that an app is dependent upon.
How to deal with transient faults?
What is this Docker Environment Variable for App Service WEBSITES_CONTAINER_START_TIME_LIMIT?
Set the amount of time the platform will wait before it restarts your container
What is this Docker Environment Variable for App Service WEBSITES_ENABLE_APP_SERVICE_STORAGE?
If value not set or set to true, the /home directory will be shared across container instances and files will persist.
What is this Docker Environment Variable for App Service WEBSITES_WEBDEPOY_USE_SCM?
set to false if you want to deploy your container-based web application using WebDeploy/MSDeploy
What’s Azure AD App Manifest?
The definition of an application object within the Microsoft Identity platform which includes all configuration for allowed authentication and authorization integration.
When should you choose Azure Kubernetes Service (AKS) instead of Azure Container Instances (ACI)?
when you need service discovery across multiple containers, coordinated application upgrades and automatic scaling