Podcast
Questions and Answers
Does creating an Azure storage account and configuring shared access signatures (SASs) meet the goal to alert when more than two error events are logged to the System event log on VM1?
Does creating an Azure storage account and configuring shared access signatures (SASs) meet the goal to alert when more than two error events are logged to the System event log on VM1?
What should you do to move a custom application installed on VM1 to VNet2?
What should you do to move a custom application installed on VM1 to VNet2?
Identify the disk used by the VM, delete the VM while retaining the disk, and recreate the VM in the target virtual network, attaching the original disk.
What should you create to store an administrative password without storing it in plain text?
What should you create to store an administrative password without storing it in plain text?
What platforms can ASP1 and ASP3 App Service plans host?
What platforms can ASP1 and ASP3 App Service plans host?
Signup and view all the answers
What command should you run to install the kubectl client on your computer?
What command should you run to install the kubectl client on your computer?
Signup and view all the answers
What should be the first step to manage virtual machine configurations with Azure Automation State Configuration?
What should be the first step to manage virtual machine configurations with Azure Automation State Configuration?
Signup and view all the answers
How can you deploy a virtual machine to the West US location using Template1?
How can you deploy a virtual machine to the West US location using Template1?
Signup and view all the answers
What must you do first to create a staging slot for Plan1?
What must you do first to create a staging slot for Plan1?
Signup and view all the answers
What is required to ensure that App1 always runs on at least eight virtual machines during planned Azure maintenance?
What is required to ensure that App1 always runs on at least eight virtual machines during planned Azure maintenance?
Signup and view all the answers
Does creating an event subscription on VM1 and an alert in Azure Monitor meet the goal of alerting when more than two error events are logged within an hour?
Does creating an event subscription on VM1 and an alert in Azure Monitor meet the goal of alerting when more than two error events are logged within an hour?
Signup and view all the answers
Does moving the virtual machine to a different subscription meet the goal of moving VM1 to a different host immediately?
Does moving the virtual machine to a different subscription meet the goal of moving VM1 to a different host immediately?
Signup and view all the answers
Does clicking Redeploy from the Redeploy blade meet the goal of moving VM1 to a different host immediately?
Does clicking Redeploy from the Redeploy blade meet the goal of moving VM1 to a different host immediately?
Signup and view all the answers
Does clicking Enable from the Update management blade meet the goal of moving VM1 to a different host immediately?
Does clicking Enable from the Update management blade meet the goal of moving VM1 to a different host immediately?
Signup and view all the answers
What should you do first to add the custom domain www.contoso.com to webapp1?
What should you do first to add the custom domain www.contoso.com to webapp1?
Signup and view all the answers
Does moving VM1 to RG2 and adding a new network interface allow you to connect VM1 to VNET2?
Does moving VM1 to RG2 and adding a new network interface allow you to connect VM1 to VNET2?
Signup and view all the answers
Does deleting VM1 and recreating it with a new network interface allow you to connect VM1 to VNET2?
Does deleting VM1 and recreating it with a new network interface allow you to connect VM1 to VNET2?
Signup and view all the answers
Does turning off VM1 and adding a new network interface allow you to connect VM1 to VNET2?
Does turning off VM1 and adding a new network interface allow you to connect VM1 to VNET2?
Signup and view all the answers
What is the maximum total of vCPUs allowed for the deployed virtual machines?
What is the maximum total of vCPUs allowed for the deployed virtual machines?
Signup and view all the answers
Which IP address should you include in the DNS record for Cluster1?
Which IP address should you include in the DNS record for Cluster1?
Signup and view all the answers
What should you identify to minimize Azure costs before deploying Template1 for 10 Azure web apps?
What should you identify to minimize Azure costs before deploying Template1 for 10 Azure web apps?
Signup and view all the answers
Which type of storage and host caching should you configure for the new data disk?
Which type of storage and host caching should you configure for the new data disk?
Signup and view all the answers
Which two actions should you perform on Vault1 to prepare for Azure Disk Encryption?
Which two actions should you perform on Vault1 to prepare for Azure Disk Encryption?
Signup and view all the answers
Which encryption method should you use for VM1?
Which encryption method should you use for VM1?
Signup and view all the answers
Which two settings should you configure for a shared access signature (SAS)?
Which two settings should you configure for a shared access signature (SAS)?
Signup and view all the answers
What should you use to allow read access to container1 while allowing both HTTP and HTTPS protocols?
What should you use to allow read access to container1 while allowing both HTTP and HTTPS protocols?
Signup and view all the answers
Which three options should you configure for the Azure Storage account to support Data Lake Storage?
Which three options should you configure for the Azure Storage account to support Data Lake Storage?
Signup and view all the answers
Which storage account can be converted to zone-redundant storage (ZRS) replication?
Which storage account can be converted to zone-redundant storage (ZRS) replication?
Signup and view all the answers
On which devices can you install Azure Storage Explorer?
On which devices can you install Azure Storage Explorer?
Signup and view all the answers
From where can you deploy a YAML file to the AKS cluster AKS1?
From where can you deploy a YAML file to the AKS cluster AKS1?
Signup and view all the answers
What can you configure during the deployment of VM2 from Template1?
What can you configure during the deployment of VM2 from Template1?
Signup and view all the answers
What task should you include in the scheduled runbook to increase the processor performance of VM1 at the end of each month?
What task should you include in the scheduled runbook to increase the processor performance of VM1 at the end of each month?
Signup and view all the answers
What should you use to ensure that NGINX is available on all the virtual machines after they are deployed?
What should you use to ensure that NGINX is available on all the virtual machines after they are deployed?
Signup and view all the answers
Availability zones protect from datacenter level failures.
Availability zones protect from datacenter level failures.
Signup and view all the answers
What is the function of the Azure Performance Diagnostics agent?
What is the function of the Azure Performance Diagnostics agent?
Signup and view all the answers
Which change will cause downtime for VM1?
Which change will cause downtime for VM1?
Signup and view all the answers
Which two actions should you perform to ensure that the App1 update is tested before it is made available to users?
Which two actions should you perform to ensure that the App1 update is tested before it is made available to users?
Signup and view all the answers
Which three actions should you perform to record all successful and failed connection attempts to VM1?
Which three actions should you perform to record all successful and failed connection attempts to VM1?
Signup and view all the answers
What should you do to deploy an Azure virtual machine scale set that contains five instances as quickly as possible?
What should you do to deploy an Azure virtual machine scale set that contains five instances as quickly as possible?
Signup and view all the answers
What is the minimum number of App Service plans you should create for the web apps?
What is the minimum number of App Service plans you should create for the web apps?
Signup and view all the answers
When the budget thresholds you've created are exceeded, resources are affected and your consumption is stopped.
When the budget thresholds you've created are exceeded, resources are affected and your consumption is stopped.
Signup and view all the answers
Does the solution to view the date and time when the resources were created in RG1 meet the goal?
Does the solution to view the date and time when the resources were created in RG1 meet the goal?
Signup and view all the answers
Does the solution to connect VM1 to VNET2 by creating a new network interface and adding it to VM1 meet the goal?
Does the solution to connect VM1 to VNET2 by creating a new network interface and adding it to VM1 meet the goal?
Signup and view all the answers
Which users are members of the local Administrators group on Computer1 after User1 joins it to adatum.com?
Which users are members of the local Administrators group on Computer1 after User1 joins it to adatum.com?
Signup and view all the answers
Which tags are assigned to the storage account after Policy1 is applied?
Which tags are assigned to the storage account after Policy1 is applied?
Signup and view all the answers
How many alerts will be triggered in an hour if Alert1 is configured to trigger every minute?
How many alerts will be triggered in an hour if Alert1 is configured to trigger every minute?
Signup and view all the answers
Which virtual machines can be backed up to Vault1?
Which virtual machines can be backed up to Vault1?
Signup and view all the answers
Which tools can be used to configure the cluster autoscaler for AKS1?
Which tools can be used to configure the cluster autoscaler for AKS1?
Signup and view all the answers
What should you do first after creating a container image named App1?
What should you do first after creating a container image named App1?
Signup and view all the answers
Which proximity placement groups should you use for VMSS1?
Which proximity placement groups should you use for VMSS1?
Signup and view all the answers
Does selecting the subscription and then clicking Resource Providers meet the goal of viewing the creation date and time of resources in RG1?
Does selecting the subscription and then clicking Resource Providers meet the goal of viewing the creation date and time of resources in RG1?
Signup and view all the answers
Does clicking Automation Script from the RG1 blade meet the goal of viewing creation times of resources in RG1?
Does clicking Automation Script from the RG1 blade meet the goal of viewing creation times of resources in RG1?
Signup and view all the answers
Does clicking Deployments from the RG1 blade meet the goal of viewing when resources were created in RG1?
Does clicking Deployments from the RG1 blade meet the goal of viewing when resources were created in RG1?
Signup and view all the answers
What should you use to monitor the metrics and logs of a Linux virtual machine named VM1?
What should you use to monitor the metrics and logs of a Linux virtual machine named VM1?
Signup and view all the answers
What is the DNS port number that is blocked by the effective network security rules shown?
What is the DNS port number that is blocked by the effective network security rules shown?
Signup and view all the answers
To ensure at least two virtual machines are available if one Azure datacenter becomes unavailable, what should you deploy?
To ensure at least two virtual machines are available if one Azure datacenter becomes unavailable, what should you deploy?
Signup and view all the answers
Study Notes
Azure Virtual Machine Storage Recommendations
- Adding a 1-TB data disk to VM1 requires a storage type ensuring data resiliency, low latency, and data protection from host failures.
Azure Key Vault and Disk Encryption
- For configuring Azure Disk Encryption, two necessary actions for Vault1 are selecting Azure Virtual Machines for deployment and creating a new key.
VM Encryption Methods
- To encrypt VM1 while meeting specific requirements, Azure Disk Encryption is the most effective method as it can store and use the encryption key in KV1, maintain encryption during VM downloads, and encrypt both the OS and data disks.
Shared Access Signature (SAS) Configuration
- To enable secure downloads of blobs in a storage account, configure a shared access signature (SAS) that restricts actions to downloading only by blob name.
Container Access Configuration
- To configure access for container1, a shared access signature (SAS) is required to allow read access, permit both HTTP and HTTPS protocols, and apply permissions to all container content.
Azure Storage Account Creation for Data Lake
- When creating an Azure Storage account (storage1) for Azure Data Lake, include zone-redundant storage (ZRS), the Cool access tier, and geo-redundant storage (GRS) to minimize costs for infrequently accessed data and enable automatic data replication.
Blob Versioning and Lifecycle Management
- Blob versioning allows snapshots of critical blobs within containers, alongside lifecycle management policies that can affect data retention and accessibility.
Storage Account Replication Options
- A storage account can be converted to zone-redundant storage (ZRS) replication under specific conditions, while other types of accounts may have limitations.
Azure Storage Explorer Installation
- Azure Storage Explorer can be installed on multiple devices, allowing users various options for accessing and managing Azure storage resources.
Deploying to Azure Kubernetes Service (AKS)
- To deploy a YAML file to an AKS cluster, the correct method is using the kubectl client through Azure CLI; other methods like az aks and azcopy do not meet the deployment requirements.
Azure Monitor Alerts Configuration
- For monitoring error events on VM1, utilize Azure Log Analytics workspace, not a storage account; this allows for alert creation based on error event thresholds within a designated timeframe.### Azure Virtual Machines Management
- Moving a virtual machine (VM) across virtual networks requires deleting the VM while retaining the disk, then recreating it in the target VNet.
- Admins can create and manage multiple virtual machines using the Azure Resource Manager templates.
Custom Applications in Azure
- To migrate an application between VNets, identify the disk used, delete the VM, and recreate it in the target network to minimize administrative effort.
Securing Administrative Passwords
- Use Azure Key Vault with an access policy to securely store administrative passwords, preventing their exposure in plain text within templates.
Azure App Service Plans
- ASP.NET Core apps can be hosted on both Windows and Linux platforms, while the ASP.NET apps are limited to Windows only.
- Current App Service plan tiers (Basic, Standard, Premium, Isolated) determine features like deployment slots.
Autoscale Configuration for Virtual Machine Scale Sets
- Autoscale rules allow automatic scaling of VMs; for example, scaling up from 4 to 6 VMs when CPU usage exceeds 80%.
- Scaling in can reduce VMs down to a minimum set, ensuring resource efficiency while maintaining performance.
Automating Virtual Machine Deployment
- To include web server components in scale set VMs, modify the extensionProfile section of the Resource Manager template and use Azure Desired State Configuration (DSC).
Installing Clients in Azure Kubernetes Service
- Use the command
az aks install-cli
to install the kubectl client on local machines for managing AKS clusters.
Azure Automation State Configuration
- Steps to manage VM configurations include uploading a configuration, compiling it into a node configuration, and assigning the configuration to ensure compliance.
Resource Manager Template Modifications
- To change the deployment location of a VM, modify the location in the resources section of the ARM template directly.
Deployment Slots in Azure Web Apps
- Creating a staging slot for an Azure web app requires the app to be in the Standard, Premium, or Isolated tier; scaling up the plan is necessary.
High Availability Strategies in Azure
- An Availability Set with multiple update domains is crucial for ensuring that a distributed application remains operational during planned maintenance, maximizing uptime.
Alerting in Azure
- To set alerts for error events on a VM, utilize Azure Log Analytics with the Microsoft Monitoring Agent, ensuring events are logged and monitored effectively.
VM Redeployment
- Moving a VM to a different host following a maintenance notification requires redeployment rather than a simple move within the Azure interface.### Redeploying Azure Virtual Machines
- To move an Azure VM to a different host and retain all configurations, use the Redeploy option from the Redeploy blade.
- Redeploying a VM involves moving it to a new node within the Azure infrastructure and powering it back on.
Network and Virtual Machines
- Azure VM connection to VNet: You cannot change the VNet associated with a VM after its creation. To connect a VM to a new VNet, delete and recreate the VM with the new network interface.
- Azure VNet: You can change the subnet of a VM but not the VNet itself.
Custom Domains for Azure Web Apps
- To add a custom domain (e.g., www.contoso.com) to an Azure Web App, start by creating the appropriate DNS record (CNAME or A record) to map the custom name.
Azure Resource Management
- When deploying multiple Azure Web Apps, only one App Service plan is required to minimize Azure costs, rather than creating separate plans for each app.
Azure Availability Sets
- When using an Availability Set, virtual machines shared across update domains can lead to only a specific number of VMs being offline during maintenance, controlled by the update domain count.
- Fault domains prevent total VM outage; in case of failure in one fault domain, not all VMs would be affected.
Azure Kubernetes Service (AKS)
- To allow internet users access to applications running in an Azure Kubernetes Service cluster, the appropriate public IP address should be configured in the DNS record.
Resource Quotas in Azure
- Azure regions have limits on regional vCPUs. Deallocated VMs count toward the total limit. For instance, if the regional quota is 20 vCPUs, and existing VMs are using 18, only 2 vCPUs remain available.
VM Changes and Downtime
- Resizing a VM (e.g., changing from D4s v3 to D8s v3) requires the VM to be stopped, resulting in downtime.
- Adding disks or extensions generally does not cause downtime.
Testing Application Updates
- To test updates of an application running on an Azure Web App, deploy the update to a testing slot, test it, and only then swap with the production slot for user access.
Monitoring VM Connection Attempts
- To record successful and failed connection attempts to an Azure VM, enable Azure Network Watcher in the appropriate region and utilize NSG flow logs for detailed monitoring.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
Test your knowledge with this quiz focused on the AZ-104 Azure exam. The questions cover various topics including virtual machines, data disks, and Azure subscription management. Prepare effectively for your certification with these practice scenarios.