AZ 304 Exam - Free Actual Q&As, Page 1 ExamTopics 4Th Feb
AZ 304 Exam - Free Actual Q&As, Page 1 ExamTopics 4Th Feb
AZ 304 Exam - Free Actual Q&As, Page 1 ExamTopics 4Th Feb
Question #1 Topic 1
You need to recommend a solution to generate a monthly report of all the new Azure Resource Manager resource deployments in your
subscription.
What should you include in the recommendation?
B. Application Insights
Correct Answer: D
Activity logs are kept for 90 days. You can query for any range of dates, as long as the starting date isn't more than 90 days in the past.
Through activity logs, you can determine:
✑ what operations were taken on the resources in your subscription
✑ who started the operation
✑ when the operation occurred
✑ the status of the operation
✑ the values of other properties that might help you research the operation
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/view-activity-logs
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 1/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #2 Topic 1
You have an Azure subscription that contains an Azure SQL database named DB1.
Several queries that query the data in DB1 take a long time to execute.
You need to recommend a solution to identify the queries that take the longest to execute.
What should you include in the recommendation?
B. Azure Monitor
C. Performance Recommendations
Correct Answer: D
Query Performance Insight provides intelligent query analysis for single and pooled databases. It helps identify the top resource consuming and
long-running queries in your workload. This helps you nd the queries to optimize to improve overall workload performance and e ciently use
the resource that you are paying for.
Reference:
https://docs.microsoft.com/en-us/azure/azure-sql/database/query-performance-insight-use
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 2/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 3/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #3 Topic 1
HOTSPOT -
You have an Azure App Service Web App that includes Azure Blob storage and an Azure SQL Database instance. The application is instrumented
by using the
Application Insights SDK.
You need to design a monitoring solution for the web app.
Which Azure monitoring services should you use? To answer, select the appropriate Azure monitoring services in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 4/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Note: You can select Logs from either the Azure Monitor menu or the Log Analytics workspaces menu.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/log-query/log-query-overview
- Give the ability to track requests and exceptions to specific lines of code from within the application. https://docs.microsoft.com/en-
us/azure/azure-monitor/app/visual-studio-codelens
- Give the ability to actually analyse how to uses return to an application and see how often they only select a particular drop-down value.
https://docs.microsoft.com/en-us/azure/azure-monitor/app/usage-retention
upvoted 6 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 5/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-301/view/2/
upvoted 2 times
For me it is:
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 6/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
*2) NOT Azure Service Map because its just for VMs
* 4) NOT Azure Activity Log:
The Activity log is a platform log in Azure that provides insight into subscription-level events. This includes such information as when a resource is
modified or when a virtual machine is started.
https://docs.microsoft.com/de-de/azure/azure-monitor/platform/activity-log
upvoted 3 times
Note: question is specific on web app so this negates Service Map, and Activity Logs captures user api activities in Azure and can't peer into a
resource, web app in this case.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 7/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #4 Topic 1
You have an on-premises Hyper-V cluster. The cluster contains Hyper-V hosts that run Windows Server 2016 Datacenter. The hosts are licensed
under a
Microsoft Enterprise Agreement that has Software Assurance.
The Hyper-V cluster contains 30 virtual machines that run Windows Server 2012 R2. Each virtual machine runs a different workload. The
workloads have predictable consumption patterns.
You plan to replace the virtual machines with Azure virtual machines that run Windows Server 2016. The virtual machines will be sized according
to the consumption pattern of each workload.
You need to recommend a solution to minimize the compute costs of the Azure virtual machines.
Which two recommendations should you include in the solution? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
D. Purchase Azure Reserved Virtual Machine Instances for the Azure virtual machines.
E. Create a lab in Azure DevTest Labs and place the Azure virtual machines in the lab.
Correct Answer: CD
C: For customers with Software Assurance, Azure Hybrid Bene t for Windows Server allows you to use your on-premises Windows Server
licenses and run
Windows virtual machines on Azure at a reduced cost. You can use Azure Hybrid Bene t for Windows Server to deploy new virtual machines
with Windows OS.
D: With Azure Reserved VM Instances (RIs) you reserve virtual machines in advance and save up to 80 percent.
Reference:
https://azure.microsoft.com/en-us/pricing/reserved-vm-instances/ https://docs.microsoft.com/en-us/azure/virtual-machines/windows/hybrid-
use-bene t-licensing
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 8/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 9/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #5 Topic 1
HOTSPOT -
You have an Azure subscription that contains the SQL servers on Azure shown in the following table.
The subscription contains the storage accounts shown in the following table.
You create the Azure SQL databases shown in the following table.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: Yes -
Be sure that the destination is in the same region as your database and server.
Box 2: No -
Box 3: No -
Reference:
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-auditing
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 10/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
I agree ,,
guys dont confuse yourselves, use the pricing calculator yourself and you will see that only storage is sold in those 3 tiers.
The question refers to the storage that the sql server is using ... and it is not supported for auditing purposes
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 11/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
From: https://docs.microsoft.com/en-us/azure/azure-sql/database/auditing-overview
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 12/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Auditing limitations
Premium storage is currently not supported.
Hierarchical namespace for Azure Data Lake Storage Gen2 storage account is currently not supported.
Enabling auditing on a paused Azure Synapse is not supported. To enable auditing, resume Azure Synapse.
upvoted 2 times
Audit logs are written to Append Blobs in an Azure Blob storage on your Azure subscription
Audit logs are in .xel format and can be opened by using SQL Server Management Studio (SSMS).
To configure an immutable log store for the server or database-level audit events, follow the instructions provided by Azure Storage. Make sure
you have selected Allow additional appends when you configure the immutable blob storage.
https://docs.microsoft.com/en-us/azure/azure-sql/database/auditing-overview
This is implies that only blob storage is allowed for SQL audit logs.
upvoted 1 times
Yes no yes
upvoted 3 times
"Service tiers
Azure SQL Database offers three service tiers that are designed for different types of applications:
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 13/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
General Purpose/Standard service tier designed for common workloads. It offers budget-oriented balanced compute and storage options.
Business Critical/Premium service tier designed for OLTP applications with high transaction rate and lowest-latency I/O. It offers the highest
resilience to failures by using several isolated replicas.
Hyperscale service tier designed for very large OLTP database and the ability to autoscale storage and scale compute fluidly."
https://docs.microsoft.com/en-us/azure/azure-sql/database/sql-database-paas-overview
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 14/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #6 Topic 1
A company has a hybrid ASP.NET Web API application that is based on a software as a service (SaaS) offering.
Users report general issues with the data. You advise the company to implement live monitoring and use ad hoc queries on stored JSON data. You
also advise the company to set up smart alerting to detect anomalies in the data.
You need to recommend a solution to set up smart alerting.
What should you recommend?
Correct Answer: B
Application Insights, a feature of Azure Monitor, is an extensible Application Performance Management (APM) service for developers and
DevOps professionals.
Use it to monitor your live applications. It will automatically detect performance anomalies, and includes powerful analytics tools to help you
diagnose issues and to understand what users actually do with your app.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/app-insights-overview
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 15/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://docs.microsoft.com/en-us/azure/azure-monitor/app/proactive-diagnostics
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 16/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 17/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #7 Topic 1
You have an Azure subscription that is linked to an Azure Active Directory (Azure AD) tenant. The subscription contains 10 resource groups, one
for each department at your company.
Each department has a speci c spending limit for its Azure resources.
You need to ensure that when a department reaches its spending limit, the compute resources of the department shut down automatically.
Which two features should you include in the solution? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
Correct Answer: CD
C: The spending limit in Azure prevents spending over your credit amount. All new customers who sign up for an Azure free account or
subscription types that include credits over multiple months have the spending limit turned on by default. The spending limit is equal to the
amount of credit and it can't be changed.
D: Turn on the spending limit after removing
This feature is available only when the spending limit has been removed inde nitely for subscription types that include credits over multiple
months. You can use this feature to turn on your spending limit automatically at the start of the next billing period.
1. Sign in to the Azure portal as the Account Administrator.
2. Search for Cost Management + Billing.
3. Etc.
Reference:
https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/spending-limit
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 18/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 19/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
When your usage results in charges that exhaust your spending limit, the services that you deployed are disabled for the rest of that billing period.
https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/spending-limit
upvoted 5 times
Azure Logic Apps could be used, but any other automation is also fine, therefore I wouldn't choose it as an answer.
upvoted 2 times
Items 2 and 4 clearly relates to A and D in the question. Hence my own choice of answer.
upvoted 4 times
Action group is not tied to Monitor.. you can create it from other screens. Then, essentially you need a budget and a logic app to perform the
actions.
upvoted 1 times
https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/cost-management-budget-scenario
Create an Azure Automation Runbook to stop VMs by using webhooks.
Create an Azure Logic App to be triggered based on the budget threshold value and call the runbook with the right parameters.
Create an Azure Monitor Action Group that will be configured to trigger the Azure Logic App when the budget threshold is met.
Create the Azure budget with the wanted thresholds and wire it to the action group.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 20/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
A&B then
upvoted 2 times
What is Azure Spending limit ? This is the limit Microsoft provides you Example Spending limit on your free account is $100 or $200. You cannot
create when that limit is reached.
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 21/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 22/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #8 Topic 1
HOTSPOT -
You have an Azure subscription that contains the resources shown in the following table.
You create an Azure SQL database named DB1 that is hosted in the East US region.
To DB1, you add a diagnostic setting named Settings1. Settings1 archives SQLInsights to storage1 and sends SQLInsights to Workspace1.
For each of the following statements, select Yes if the statement is true, Otherwise, select No.
Hot Area:
Correct Answer:
Box 1: No -
You archive logs only to Azure Storage accounts.
Box 2: Yes -
Box 3: Yes -
Sending logs to Event Hubs allows you to stream data to external systems such as third-party SIEMs and other log analytics solutions.
Note: A single diagnostic setting can de ne no more than one of each of the destinations. If you want to send data to more than one of a
particular destination type
(for example, two different Log Analytics workspaces), then create multiple settings. Each resource can have up to 5 diagnostic settings.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/diagnostic-settings
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 23/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://docs.microsoft.com/en-us/azure/azure-sql/database/metrics-diagnostic-telemetry-logging-streaming-export-configure?tabs=azure-portal
upvoted 1 times
Platform logs and metrics can be sent to the destinations Log Analytics workspace, Event hubs, Azure storage account
Only difference Azure storage account is referred for Archiving logs and metrics.
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/diagnostic-settings
upvoted 5 times
Link : https://docs.microsoft.com/en-us/azure/azure-monitor/platform/diagnostic-settings
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 24/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 25/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #9 Topic 1
HOTSPOT -
You deploy several Azure SQL Database instances.
You plan to con gure the Diagnostics settings on the databases as shown in the following exhibit.
Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
Hot Area:
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 26/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
In the exhibit, the SQLInsights data is con gured to be stored in Azure Log Analytics for 90 days. However, the question is asking for the
"maximum" amount of time that the data can be stored which is 730 days.
Design Identity and Security
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 27/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://docs.microsoft.com/en-us/azure/azure-sql/database/metrics-diagnostic-telemetry-logging-streaming-export-configure?tabs=azure-portal
upvoted 1 times
In the image, we see that is checked the box to send Log Analytics. Log Analytics is a different product, and its not affected for the retention policy
fixed in this screen.
Log Analytics have its own retention time. And the maximum time for retention in Log analytics is 730 days (2 years) and the minimum is 30 days
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/manage-cost-storage#change-the-data-retention-period
Raw data points (that is, items that you can query in Analytics and inspect in Search) are kept for up to 730 days. You can select a retention
duration of 30, 60, 90, 120, 180, 270, 365, 550 or 730 days. If you need to keep data longer than 730 days, you can use Continuous Export to copy it
to a storage account during data ingestion - MD Docs.
upvoted 1 times
The 'Retention (days)' configuration only appears if I select the 'Archive to a storage account' option. Then, the following information appears on
the bottom:
'Retention only applies to storage account. Retention policy ranges from 1 to 365 days. If you do not want to apply any retention policy and retain
data forever, set retention (days) to 0.'
For the Log Analytics Workspace, it doesn't give any option for setting the store period. I'd answer 90 days since they added that box on the exhibit
saying "log is enabled and has a retention of 90 days'.
upvoted 2 times
"Data retention at the workspace level can be configured from 30 to 730 days"
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/manage-cost-storage
upvoted 1 times
https://docs.microsoft.com/en-us/archive/blogs/canberrapfe/change-oms-log-analytics-retention-period-in-the-azure-portal
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 29/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #1 Topic 2
HOTSPOT -
Your company has the divisions shown in the following table.
You plan to deploy a custom application to each subscription. The application will contain the following:
✑ A resource group
✑ An Azure web app
✑ Custom role assignments
✑ An Azure Cosmos DB account
You need to use Azure Blueprints to deploy the application to each subscription.
What is the minimum number of objects required to deploy the application? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: 2 -
One management group for East, and one for West.
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 30/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
When creating a blueprint de nition, you'll de ne where the blueprint is saved. Blueprints can be saved to a management group or subscription
that you have
Contributor access to. If the location is a management group, the blueprint is available to assign to any child subscription of that management
group.
Box 2: 1 -
One de nition as the you plan to deploy a custom application to each subscription.
With Azure Blueprints, the relationship between the blueprint de nition (what should be deployed) and the blueprint assignment (what was
deployed) is preserved.
Box 3: 4 -
One assignment for each subscription.
Reference:
https://docs.microsoft.com/en-us/azure/governance/blueprints/overview
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 31/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
No, correct answer is as provided 2,1,4 you can assign a single blue print to multiple management groups, version of the blue print get save at
management group level, no need to define multiple definitions unless you have differing requirements for each management group
upvoted 1 times
dropdown 1: 2
One management group for East, and one for West.
dropdown 2: 1
When creating a blueprint definition, you'll define where the blueprint is saved. Blueprints can be saved to a management group or subscription
that you have Contributor access to. If the location is a management group, the blueprint is available to assign to any child subscription of that
management group.
One definition as you plan to deploy a custom application to each subscription.
dropdown 3: 4
With Azure Blueprints, the relationship between the blueprint definition (what should be deployed) and the blueprint assignment (what was
deployed) is preserved.
One assignment for each subscription.
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 32/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 33/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #2 Topic 2
Correct Answer: C
The Access control (IAM) pane in the Azure portal is used to con gure role-based access control on Azure Cosmos resources. The roles are
applied to users, groups, service principals, and managed identities in Active Directory. You can use built-in roles or custom roles for individuals
and groups. The following screenshot shows Active Directory integration (RBAC) using access control (IAM) in the Azure portal:
Reference:
https://docs.microsoft.com/en-us/azure/cosmos-db/role-based-access-control
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 34/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #3 Topic 2
HOTSPOT -
You need to design a resource governance solution for an Azure subscription. The solution must meet the following requirements:
✑ Ensure that all ExpressRoute resources are created in a resource group named RG1.
✑ Delegate the creation of the ExpressRoute resources to an Azure Active Directory (Azure AD) group named Networking.
✑ Use the principle of least privilege.
What should you include in the solution? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: An Azure policy assignment at the subscription level that has an exclusion
Box 2: A custom RBAC role assignment at the level of RG1
Azure role-based access control (Azure RBAC) is the authorization system you use to manage access to Azure resources. To grant access, you
assign roles to users, groups, service principals, or managed identities at a particular scope.
Reference:
https://docs.microsoft.com/en-us/azure/governance/policy/tutorials/create-and-manage
Why do you need an exclusion? Simply create a policy to allow to creare expressRoute in a particular RG and assign to subscription, what exclusion
is needed here?
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 36/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #4 Topic 2
You have an Azure Active Directory (Azure AD) tenant and Windows 10 devices.
You con gure a conditional access policy as shown in the exhibit. (Click the Exhibit tab.)
B. Users will be prompted for multi-factor authentication (MFA) only when they sign in from devices that are NOT joined to Azure AD.
C. All users will be able to sign in without using multi-factor authentication (MFA).
D. Users will be prompted for multi-factor authentication (MFA) only when they sign in from devices that are joined to Azure AD.
Correct Answer: B
Either the device should be joined to Azure AD or MFA must be used.
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 37/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 39/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 40/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #5 Topic 2
You are designing an Azure resource deployment that will use Azure Resource Manager templates. The deployment will use Azure Key Vault to
store secrets.
You need to recommend a solution to meet the following requirements:
✑ Prevent the IT staff that will perform the deployment from retrieving the secrets directly from Key Vault.
✑ Use the principle of least privilege.
Which two actions should you recommend? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Create a Key Vault access policy that allows all get key permissions, get secret permissions, and get certi cate permissions.
B. From Access policies in Key Vault, enable access to the Azure Resource Manager for template deployment.
C. Create a Key Vault access policy that allows all list key permissions, list secret permissions, and list certi cate permissions.
D. Assign the IT staff a custom role that includes the Microsoft.KeyVault/Vaults/Deploy/Action permission.
Correct Answer: BD
B: To access a key vault during template deployment, set enabledForTemplateDeployment on the key vault to true.
D: The user who deploys the template must have the Microsoft.KeyVault/vaults/deploy/action permission for the scope of the resource group
and key vault.
Incorrect Answers:
E: To grant access to a user to manage key vaults, you assign a prede ned key vault Contributor role to the user at a speci c scope.
If a user has Contributor permissions to a key vault management plane, the user can grant themselves access to the data plane by setting a Key
Vault access policy. You should tightly control who has Contributor role access to your key vaults. Ensure that only authorized persons can
access and manage your key vaults, keys, secrets, and certi cates.
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/key-vault-parameter https://docs.microsoft.com/en-us/azure/key-
vault/general/overview-security
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 41/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
B. From Access policies in Key Vault, enable access to the Azure Resource Manager for template deployment.
D. Assign the IT staff a custom role that includes the Microsoft.KeyVault/Vaults/Deploy/Action permission.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 42/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #6 Topic 2
You have an Azure subscription that contains resources in three Azure regions.
You need to implement Azure Key Vault to meet the following requirements:
✑ In the event of a regional outage, all keys must be readable.
✑ All the resources in the subscription must be able to access Key Vault.
✑ The number of Key Vault resources to be deployed and managed must be minimized.
How many instances of Key Vault should you implement?
A. 1
B. 2
C. 3
D. 6
Correct Answer: A
The contents of your key vault are replicated within the region and to a secondary region at least 150 miles away but within the same
geography. This maintains high durability of your keys and secrets. See the Azure paired regions document for details on speci c region pairs.
Example: Secrets that must be shared by your application in both Europe West and Europe North. Minimize these as much as you can. Put these
in a key vault in either of the two regions. Use the same URI from both regions. Microsoft will fail over the Key Vault service internally.
Reference:
https://docs.microsoft.com/en-us/azure/key-vault/general/disaster-recovery-guidance
From the DR guidance during a failover, your key vault is in read-only mode add is accesible. Thus, is not needed to create extra key vaults in
every region.
https://docs.microsoft.com/en-us/azure/key-vault/general/disaster-recovery-guidance
upvoted 7 times
So despite some resources may use Key Vault in different region, it's a bad practice and will not work for VMs
upvoted 1 times
upvoted 10 times
"to ensure that encryption secrets don't cross regional boundaries, Azure Disk Encryption requires the Key Vault and the VMs to be co-located in
the same region. Create and use a Key Vault that is in the same subscription and region as the VMs to be encrypted."
upvoted 1 times
"If individual components within the key vault service fail, alternate components within the region step in to serve your request to make sure
that there is no degradation of functionality. You don't need to take any action to start this process, it happens automatically and will be
transparent to you.
In the rare event that an entire Azure region is unavailable, the requests that you make of Azure Key Vault in that region are automatically
routed (failed over) to a secondary region. When the primary region is available again, requests are routed back (failed back) to the primary
region. Again, you don't need to take any action because this happens automatically."
upvoted 2 times
Global: <vault-name>.vault.azure.net:443
https://docs.microsoft.com/en-us/azure/key-vault/general/about-keys-secrets-certificates#objects-identifiers-and-versioning
"Vault names and Managed HSM pool names are selected by the user and are globally unique."
upvoted 2 times
(failed over) to a secondary region. When the primary region is available again, requests are routed back (failed back) to the primary region. Again,
you don't need to take any action because this happens automatically.
upvoted 9 times
https://github.com/uglide/azure-content/blob/master/articles/key-vault/key-vault-disaster-recovery-guidance.md
upvoted 2 times
In the rare event that an entire Azure region is unavailable, the requests that you make of Azure Key Vault in that region are automatically routed
(failed over) to a secondary region except in the case of the Brazil South region. When the primary region is available again, requests are routed
back (failed back) to the primary region. Again, you don't need to take any action because this happens automatically. _ From Microsoft Article.
Answer is 1.
upvoted 1 times
The contents of your key vault are replicated within the region and to a secondary region at least 150 miles away
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 45/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
https://docs.microsoft.com/en-us/azure/key-vault/general/disaster-recovery-guidance
upvoted 1 times
https://docs.microsoft.com/en-us/azure/key-vault/general/disaster-recovery-guidance
upvoted 1 times
Replicates Key Vault secrets between Azure Key Vaults in the same subscription.
Azure does not yet offer a way to replicate Key Vault secrets between Key Vaults. Although Azure guarantees a certain level of availability for Key
Vault resources, and they offer replication of Key Vaults between paired regions, these protections are insufficient for the following reasons:
Azure will only recover Key Vault resources as part of the recovery of an entire region. For most customers, individual Key Vault resources cannot be
recovered if they are deleted or corrupted.
Key Vaults recovered by Azure as part of a disaster recovery effort are not writable. Key Vault actions are limited to read operations.
Azure's Key Vault replication cannot recover individual secrets
Data protection (backup and restore operations) are not possible with Azure's Key Vault replication
upvoted 1 times
Refer https://docs.microsoft.com/en-us/azure/virtual-machines/windows/disk-encryption-key-vault
Warning
Your key vault and VMs must be in the same subscription. Also, to ensure that encryption secrets don't cross regional boundaries, Azure Disk
Encryption requires the Key Vault and the VMs to be co-located in the same region. Create and use a Key Vault that is in the same subscription and
region as the VMs to be encrypted.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 46/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #7 Topic 2
Correct Answer: C
Azure Files"‰supports identity-based authentication over Server Message Block (SMB) through"‰two types of Domain Services: on-premises
Active Directory Domain
Services (AD DS) and Azure Active Directory Domain Services (Azure AD DS).
Reference:
https://docs.microsoft.com/en-us/azure/storage/ les/storage- les-identity-auth-active-directory-domain-service-enable
Directory Domain Services (AD DS) and Azure Active Directory Domain Services (Azure AD DS)"
- https://docs.microsoft.com/en-us/azure/storage/files/storage-files-identity-auth-active-directory-domain-service-enable?tabs=azure-portal
So AZ DS is set.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 48/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #8 Topic 2
DRAG DROP -
Your company has users who work remotely from laptops.
You plan to move some of the applications accessed by the remote users to Azure virtual machines. The users will access the applications in
Azure by using a point-to-site VPN connection. You will use certi cates generated from an on-premises-based Certi cation authority (CA).
You need to recommend which certi cates are required for the deployment.
What should you include in the recommendation? To answer, drag the appropriate certi cates to the correct targets. Each certi cate may be used
once, more than once, of not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 49/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 50/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #9 Topic 2
HOTSPOT -
You are building an application that will run in a virtual machine (VM). The application will use Azure Managed Identity.
The application uses Azure Key Vault, Azure SQL Database, and Azure Cosmos DB.
You need to ensure the application can use secure credentials to access these services.
Which authentication method should you recommend? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Note: Managed identities for Azure resources is the new name for the service formerly known as Managed Service Identity (MSI).
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview
Last one should be Azure Managed Identity as well, the question says Authentication not Authorization, authorization for cosmos is via hmac
upvoted 13 times
In case if you need to select the AUTHENTICATION types, then the answer should be
1. AMI
2. AMI
3. AMI
In case if you need to select the AUTHORIZATION type, then the answer should be
1. RBAC
2. RBAC
3. HMAC
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 52/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 53/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that contains a custom application named Application1. Application1 was developed by an external company
named Fabrikam,
Ltd. Developers at Fabrikam were assigned role-based access control (RBAC) permissions to the Application1 components. All users are licensed
for the
Microsoft 365 E5 plan.
You need to recommend a solution to verify whether the Fabrikam developers still require permissions to Application1. The solution must meet
the following requirements:
✑ To the manager of the developers, send a monthly email message that lists the access permissions to Application1.
✑ If the manager does not verify an access permission, automatically revoke that permission.
✑ Minimize development effort.
What should you recommend?
D. In Azure Active Directory (AD) Privileged Identity Management, create a custom role assignment for the Application1 resources.
Correct Answer: C
Enterprise Mobility + Security E5/A5, Microsoft 365 E5/A5, Microsoft 365 E5/A5 Security, and Azure Active Directory Premium Plan 2 provide the
rights for a user to benefit from Azure Active Directory Identity Governance.
So answer C is correct.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 54/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 55/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
DRAG DROP -
A company named Contoso, Ltd. has an Azure Active Directory (Azure AD) tenant that uses the Basic license.
You plan to deploy two applications to Azure. The applications have the requirements shown in the following table.
Which authentication strategy should you recommend for each application? To answer, drag the appropriate authentication strategies to the
correct applications.
Each authentication strategy may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view
content.
NOTE: Each correct selection is worth one point.
Select and Place:
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 57/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 58/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You manage a network that includes an on-premises Active Directory domain and an Azure Active Directory (Azure AD).
Employees are required to use different accounts when using on-premises or cloud resources. You must recommend a solution that lets
employees sign in to all company resources by using a single account. The solution must implement an identity provider.
You need to provide guidance on the different identity providers.
How should you describe each identity provider? To answer, select the appropriate description from each list in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box1: User management occurs on-premises. Azure AD authenticates employees by using on-premises passwords.
Azure AD Domain Services for hybrid organizations
Organizations with a hybrid IT infrastructure consume a mix of cloud resources and on-premises resources. Such organizations synchronize
identity information from their on-premises directory to their Azure AD tenant. As hybrid organizations look to migrate more of their on-
premises applications to the cloud, especially legacy directory-aware applications, Azure AD Domain Services can be useful to them.
Example: Litware Corporation has deployed Azure AD Connect, to synchronize identity information from their on-premises directory to their
Azure AD tenant. The identity information that is synchronized includes user accounts, their credential hashes for authentication (password
hash sync) and group memberships.
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 59/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
User accounts, group memberships, and credentials from Litware's on-premises directory are synchronized to Azure AD via Azure AD Connect.
These user accounts, group memberships, and credentials are automatically available within the managed domain.
Box 2: User management occurs on-premises. The on-promises domain controller authenticates employee credentials.
You can federate your on-premises environment with Azure AD and use this federation for authentication and authorization. This sign-in method
ensures that all user authentication occurs on-premises.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory-domain-services/active-directory-ds-overview https://docs.microsoft.com/en-
us/azure/active-directory/hybrid/whatis-fed
Sync identity denotes Pass thru authentication or Pass hash sync. Federated idemtity denotes ADFS and in ADFS, authentication happens at on-
prem DCs.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 60/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 61/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 62/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
When you try it in the portal you can choose both at the same time. Maybe it creates two diagnostics settings or it just works with two
Questiondestinations.
#14 I can't deploy it so if someone could test this that would help - but I'm sure the given answere here is correct. Topic 2
upvoted 1 times
You
plan
milind8451
to deploy an application
2 weeks, 2 daysnamed
ago App1 that will run on ve Azure virtual machines. Additional virtual machines will be deployed later to run
Right ans.
App1.
upvoted 1 times
You need to recommend a solution to meet the following requirements for the virtual machines that will run App1:
✑Ensure
glamthat the virtual
1 week, 5 daysmachines
ago can authenticate to Azure Active Directory (Azure AD) to gain access to an Azure key vault, Azure Logic Apps
box-1 and
instances, stream to event
an Azure SQLhub
database.
box-2 azure sql analytics
✑ Avoid assigning new roles and permissions for Azure services when you deploy additional virtual machines.
upvoted 1 times
✑ Avoid storing secrets and certi cates on the virtual machines.
✑ Minimize administrative effort for managing identities.
Which type of identity should you include in the recommendation?
Correct Answer: D
Managed identities for Azure resources is a feature of Azure Active Directory.
User-assigned managed identity can be shared. The same user-assigned managed identity can be associated with more than one Azure
resource.
Incorrect Answers:
B: System-assigned managed identity cannot be shared. It can only be associated with a single Azure resource.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 63/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
You are designing a large Azure environment that will contain many subscriptions.
You plan to use Azure Policy as part of a governance solution.
To which three scopes can you assign Azure Policy de nitions? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. management groups
B. subscriptions
D. resource groups
F. compute resources
Once your business rules have been formed, the policy definition or initiative is assigned to any scope of resources that Azure supports, such as
The assignment applies to all resources within the scope of that assignment. Subscopes can be excluded, if necessary."
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 64/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
A, B, D are correct as these 3 are the top 3 selections for Azure policies but if we could choose 4 then individual resources can also be selected.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 65/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
You are designing a microservices architecture that will be hosted in an Azure Kubernetes Service (AKS) cluster. Apps that will consume the
microservices will be hosted on Azure virtual machines. The virtual machines and the AKS cluster will reside on the same virtual network.
You need to design a solution to expose the microservices to the consumer apps. The solution must meet the following requirements:
✑ Ingress access to the microservices must be restricted to a single private IP address and protected by using mutual TLS authentication.
✑ The number of incoming microservice calls must be rate-limited.
✑ Costs must be minimized.
What should you include in the solution?
Correct Answer: B
One option is to deploy APIM (API Management) inside the cluster VNet.
The AKS cluster and the applications that consume the microservices might reside within the same VNet, hence there is no reason to expose
the cluster publicly as all API tra c will remain within the VNet. For these scenarios, you can deploy API Management into the cluster VNet. API
Management Premium tier supports
VNet deployment.
Reference:
https://docs.microsoft.com/en-us/azure/api-management/api-management-kubernetes
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 66/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 67/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
A company plans to implement an HTTP-based API to support a web app. The web app allows customers to check the status of their orders.
The API must meet the following requirements:
✑ Implement Azure Functions.
✑ Provide public read-only operations.
✑ Do not allow write operations.
You need to recommend con guration options.
What should you recommend? To answer, con gure the appropriate options in the dialog box in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
upvoted 1 times
A company named Contoso Ltd., has a single-domain Active Directory forest named contoso.com.
Contoso is preparing to migrate all workloads to Azure. Contoso wants users to use single sign-on (SSO) when they access cloud-based services
that integrate with Azure Active Directory (Azure AD).
You need to identify any objects in Active Directory that will fail to synchronize to Azure AD due to formatting issues. The solution must minimize
costs.
What should you include in the solution?
C. Azure Advisor
D. Password Export Server version 3.1 (PES v3.1) in Active Directory Migration Tool (ADMT)
Correct Answer: B
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 69/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
DRAG DROP -
A company has an existing web application that runs on virtual machines (VMs) in Azure.
You need to ensure that the application is protected from SQL injection attempts and uses a layer-7 load balancer. The solution must minimize
disruption to the code for the existing web application.
What should you recommend? To answer, drag the appropriate values to the correct items. Each value may be used once, more than once, or not
at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:
Correct Answer:
2) Features are Web Application Firewall, SSL-Offloading and url-content routing. Obviusly, the only to protect against SQLInjections is Firewall (ssl-
offloading is to manage https request) so the answer is Web Applicaton Firewall.
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 70/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
By the way, there is another one Load Balancer, named Azure Front Door, that works in OSI level 7, too.
https://docs.microsoft.com/en-us/azure/architecture/guide/technology-choices/load-balancing-overview
https://docs.microsoft.com/es-es/azure/web-application-firewall/ag/ag-overview
upvoted 15 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 71/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription. The subscription has a blob container that contains multiple blobs.
Ten users in the nance department of your company plan to access the blobs during the month of April.
You need to recommend a solution to enable access to the blobs during the month of April only.
Which security solution should you include in the recommendation?
A. access keys
C. certi cates
Correct Answer: D
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 72/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You plan to deploy an Azure web app named App1 that will use Azure Active Directory (Azure AD) authentication.
App1 will be accessed from the internet by the users at your company. All the users have computers that run Windows 10 and are joined to Azure
AD.
You need to recommend a solution to ensure that the users can connect to App1 without being prompted for authentication and can access App1
only from company-owned computers.
What should you recommend for each requirement? To answer, select the appropriate options in the answer area.
Hot Area:
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 73/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Reference:
https://codingcanvas.com/using-azure-active-directory-authentication-in-your-web-application/ https://docs.microsoft.com/en-us/azure/active-
directory/conditional-access/overview
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 74/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You plan to create an Azure environment that will contain a root management group and 10 child management groups. Each child management
group will contain ve Azure subscriptions. You plan to have between 10 and 30 resource groups in each subscription.
You need to design an Azure governance solution. The solution must meet the following requirements:
✑ Use Azure Blueprints to control governance across all the subscriptions and resource groups.
✑ Ensure that Blueprints-based con gurations are consistent across all the subscriptions and resource groups.
✑ Minimize the number of blueprint de nitions and assignments.
What should you include in the solution? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 75/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Seems correct. Although I always though a Blueprint assignment was done on the subscription-level. Reading the docs, it seems to can assign to a
management group using Ann Azure REST API.
upvoted 4 times
Explanation: When creating a blueprint definition, you'll define where the blueprint is saved. Blueprints can be saved to a management group or
subscription that you have Contributor access to. If the location is a management group, the blueprint is available to assign to any child
subscription of that management group.
Since question #2 clearly mentions the scope of assignments, it should be on the subscription level.
upvoted 8 times
https://docs.microsoft.com/en-us/azure/governance/blueprints/overview#blueprint-assignment
upvoted 1 times
Reference: https://docs.microsoft.com/en-us/azure/governance/blueprints/create-blueprint-portal
Assign a blueprint
After a blueprint has been published, it can be assigned to a subscription. Assign the blueprint that you created to one of the subscriptions under
your management group hierarchy. If the blueprint is saved to a subscription, it can only be assigned to that subscription.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 76/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
B. Azure Policy
Correct Answer: B
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 77/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
The network contains an Active Directory domain named contoso.com that is synced to Azure Active Directory (Azure AD).
All users connect to an Exchange Online.
You need to recommend a solution to ensure that all the users use Azure Multi-Factor Authentication (MFA) to connect to Exchange Online from
one of the o ces.
What should you include in the recommendation?
Correct Answer: D
Conditional Access policies are at their most basic an if-then statement combining signals, to make decisions, and enforce organization
policies. One of those signals that can be incorporated into the decision-making process is network location.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/location-condition#named-locations
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 78/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
Your organization has developed and deployed several Azure App Service Web and API applications. The applications use Azure Key Vault to store
several authentication, storage account, and data encryption keys. Several departments have the following requests to support the applications:
You need to recommend the appropriate Azure service for each department request.
What should you recommend? To answer, con gure the appropriate options in the dialog box in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 79/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 80/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
C. Tenant Restrictions
Correct Answer: B
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/governance/access-reviews-overview
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 81/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have ve .NET Core applications that run on 10 Azure virtual machines in the same subscription.
You need to recommend a solution to ensure that the applications can authenticate by using the same Azure Active Directory (Azure AD) identity.
The solution must meet the following requirements:
✑ Ensure that the applications can authenticate only when running on the 10 virtual machines.
✑ Minimize administrative effort.
What should you include in the recommendation? To answer, select the appropriate options in the answer area.
Hot Area:
Correct Answer:
A user-assigigned identity could, in theory, be assigned to VMs, other than the 10 authorised VM. In my opinion, this question is specifically
searching for a solution to make sure that the authentication cannot take place on any other machine. With a system identity, you fulfil this
requirement, not with a user identity.
upvoted 14 times
upvoted 6 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 84/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure Active Directory (Azure AD) tenant named contoso.com that contains two administrative user accounts named Admin1 and
Admin2.
You create two Azure virtual machines named VM1 and VM2.
You need to ensure that Admin1 and Admin2 are noti ed when more than ve events are added to the security log of VM1 or VM2 during a period
of 120 seconds.
The solution must minimize administrative tasks.
What should you create?
Correct Answer: B
We need two alert rules to trigger if there are five security events at VM1 or five security events at VM2 - in my opinion, that's the solution
requested in the question.
upvoted 1 times
Target Resource - Defines the scope and signals available for alerting. A target can be any Azure resource. Example targets:
Virtual machines.
Storage accounts.
Log Analytics workspace.
Application Insights.
For certain resources (like virtual machines), you can specify multiple resources as the target of the alert rule.
Also, as per another Azure documentation - Various alerts may use the same action group or different action groups depending on the user's
requirements.
In Summary, you just need one 1 alert rule and 1 action group and thus option B seems to be correct.
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/action-groups
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 85/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure Active Directory (Azure AD) tenant named contoso.com. The tenant contains a group named Group1. Group1 contains all the
administrative user accounts.
You discover several login attempts to the Azure portal from countries where administrative users do NOT work.
You need to ensure that all login attempts to the Azure portal from those countries require Azure Multi-Factor Authentication (MFA).
Solution: Create an Access Review for Group1.
Does this solution meet the goal?
A. Yes
B. No
Correct Answer: B
Instead implement Azure AD Privileged Identity Management.
Note: Azure Active Directory (Azure AD) Privileged Identity Management (PIM) is a service that enables you to manage, control, and monitor
access to important resources in your organization.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/privileged-identity-management/pim-con gure
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 86/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure Active Directory (Azure AD) tenant named contoso.com. The tenant contains a group named Group1. Group1 contains all the
administrative user accounts.
You discover several login attempts to the Azure portal from countries where administrative users do NOT work.
You need to ensure that all login attempts to the Azure portal from those countries require Azure Multi-Factor Authentication (MFA).
Solution: Implement Azure AD Identity Protection for Group1.
Does this solution meet the goal?
A. Yes
B. No
Correct Answer: B
Implement Azure AD Privileged Identity Management for everyone.
Note: Azure Active Directory (Azure AD) Privileged Identity Management (PIM) is a service that enables you to manage, control, and monitor
access to important resources in your organization.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/privileged-identity-management/pim-con gure
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 87/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure Active Directory (Azure AD) tenant named contoso.com. The tenant contains a group named Group1. Group1 contains all the
administrative user accounts.
You discover several login attempts to the Azure portal from countries where administrative users do NOT work.
You need to ensure that all login attempts to the Azure portal from those countries require Azure Multi-Factor Authentication (MFA).
Solution: You implement an access package.
Does this meet the goal?
A. Yes
B. No
Correct Answer: B
Instead implement Azure AD Privileged Identity Management.
Note: Azure Active Directory (Azure AD) Privileged Identity Management (PIM) is a service that enables you to manage, control, and monitor
access to important resources in your organization.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/privileged-identity-management/pim-con gure
Design Data Storage
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 88/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #1 Topic 3
You have 100 servers that run Windows Server 2012 R2 and host Microsoft SQL Server 2014 instances. The instances host databases that have
the following characteristics:
✑ The largest database is currently 3 TB. None of the databases will ever exceed 4 TB.
✑ Stored procedures are implemented by using CLR.
You plan to move all the data from SQL Server to Azure.
You need to recommend an Azure service to host the databases. The solution must meet the following requirements:
✑ Whenever possible, minimize management overhead for the migrated databases.
✑ Minimize the number of database changes required to facilitate the migration.
✑ Ensure that users can authenticate by using their Active Directory credentials.
What should you include in the recommendation?
Correct Answer: B
Reference:
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-managed-instance
ref: https://docs.microsoft.com/en-gb/azure/azure-sql/database/transact-sql-tsql-differences-sql-server#transact-sql-syntax-not-supported-in-
azure-sql-database
ref: https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/transact-sql-tsql-differences-sql-server#clr
upvoted 11 times
SQL Managed Instance allows existing SQL Server customers to lift and shift their on-premises applications to the cloud with minimal application
and database changes. At the same time, SQL Managed Instance preserves all PaaS capabilities (automatic patching and version updates,
automated backups, high availability) that drastically reduce management overhead and TCO.
upvoted 9 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 89/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #2 Topic 3
You are designing an order processing system in Azure that will contain the Azure resources shown in the following table.
The order processing system will have the following transaction ow:
✑ A customer will place an order by using App1.
✑ When the order is received, App1 will generate a message to check for product availability at vendor 1 and vendor 2.
✑ An integration component will process the message, and then trigger either Function1 or Function2 depending on the type of order.
✑ Once a vendor con rms the product availability, a status message for App1 will be generated by Function1 or Function2.
✑ All the steps of the transaction will be logged to storage1.
Which type of resource should you recommend for the integration component?
Correct Answer: A
A data factory can have one or more pipelines. A pipeline is a logical grouping of activities that together perform a task.
The activities in a pipeline de ne actions to perform on your data.
Data Factory has three groupings of activities: data movement activities, data transformation activities, and control activities.
Azure Functions is now integrated with Azure Data Factory, allowing you to run an Azure function as a step in your data factory pipelines.
Reference:
https://docs.microsoft.com/en-us/azure/data-factory/concepts-pipelines-activities
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 90/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
With Topics the Publisher sends a message to a topic and one or more subscribers receive a copy of the message, depending on filter rules set
on these subscriptions.
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-queues-topics-subscriptions#topics-and-subscriptions
upvoted 1 times
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-overview
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 91/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Clues:
Transaction flow #2: App1 generates a message ... we can imply (implicitly) this goes into a queue which could be service bus (fifo or topics -
pub/sub model) or storage queues (standard).
Transaction flow #3: ***the crux of question***; we can infer the integration component "processes the message and triggers func1/2". This clearly
rules out service bus queues (holds messages, does not process), event grid (triggers, does not process) and event hubs (stream capture, does not
process). So we are left with Azure Data Factory where we can leverage "Azure Function Activity which allows you to run Azure functions" via a
linked service connection >>>> https://docs.microsoft.com/en-us/azure/data-factory/control-flow-azure-function-activity
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 92/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #3 Topic 3
HOTSPOT -
You have an existing implementation of Microsoft SQL Server Integration Services (SSIS) packages stored in an SSISDB catalog on your on-
premises network.
The on-premises network does not have hybrid connectivity to Azure by using Site-to-Site VPN or ExpressRoute.
You want to migrate the packages to Azure Data Factory.
You need to recommend a solution that facilitates the migration while minimizing changes to the existing packages. The solution must minimize
costs.
What should you recommend? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
With this feature, you can access data on-premises without having to join your Azure-SSIS IR to a virtual network. The feature is useful when your
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 93/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
corporate network has a configuration too complex or a policy too restrictive for you to inject your Azure-SSIS IR into it.
https://docs.microsoft.com/en-us/azure/data-factory/self-hosted-integration-runtime-proxy-ssis
As Azure cloud does not connectivity to on Premise network you would need to implement self Hosted-IR as well
upvoted 5 times
With this feature, you can access data on-premises without having to join your Azure-SSIS IR to a virtual network. The feature is useful when your
corporate network has a configuration too complex or a policy too restrictive for you to inject your Azure-SSIS IR into it." So both self hosted and
Azure SSIS IR are needed for this feature to work.
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 94/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #4 Topic 3
A. Azure StorSimple
B. Azure Batch
D. Azure Stack
Correct Answer: C
Microsoft has engineered an extremely powerful solution that helps customers get their data to the Azure public cloud in a cost-effective,
secure, and e cient manner with powerful Azure and machine learning at play. The solution is called Data Box.
Data Box and is in general availability status. It is a rugged device that allows organizations to have 100 TB of capacity on which to copy their
data and then send it to be transferred to Azure.
Incorrect Answers:
A: StoreSimple would not be able to handle 70 TB of data.
Reference:
https://www.vembu.com/blog/what-is-microsoft-azure-data-box-disk-edge-heavy-gateway-overview/
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 95/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #5 Topic 3
A. a certi cate
B. a key
C. a passphrase
D. a secret
Correct Answer: B
For enhanced virtual machine (VM) security and compliance, virtual disks in Azure can be encrypted. Disks are encrypted by using
cryptographic keys that are secured in an Azure Key Vault. You control these cryptographic keys and can audit their use.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/encrypt-disks
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 96/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #6 Topic 3
D. Azure Databricks
Correct Answer: C
You can use Copy Activity in Azure Data Factory to copy data from and to Azure Data Lake Storage Gen2, and use Data Flow to transform data
in Azure Data
Lake Storage Gen2.
Reference:
https://docs.microsoft.com/en-us/azure/data-factory/connector-azure-data-lake-storage
Copy data from/to Azure Data Lake Storage Gen2 by using account key, service principal, or managed identities for Azure resources
authentications.
Copy files as-is or parse or generate files with supported file formats and compression codecs.
Preserve file metadata during copy.
Preserve ACLs when copying from Azure Data Lake Storage Gen1/Gen2.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 97/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #7 Topic 3
You have an Azure virtual machine named VM1 that runs Windows Server 2019 and contains 500 GB of data les.
You are designing a solution that will use Azure Data Factory to transform the data les, and then load the les to Azure Data Lake Storage.
What should you deploy on VM1 to support the design?
Correct Answer: D
The integration runtime (IR) is the compute infrastructure that Azure Data Factory uses to provide data-integration capabilities across different
network environments. For details about IR, see Integration runtime overview.
A self-hosted integration runtime can run copy activities between a cloud data store and a data store in a private network. It also can dispatch
transform activities against compute resources in an on-premises network or an Azure virtual network. The installation of a self-hosted
integration runtime needs an on-premises machine or a virtual machine inside a private network.
Reference:
https://docs.microsoft.com/en-us/azure/data-factory/create-self-hosted-integration-runtime
A self-hosted integration runtime can run copy activities between a cloud data store and a data store in a private network. It also can dispatch
transform activities against compute resources in an on-premises network or an Azure virtual network. The installation of a self-hosted integration
runtime needs an on-premises machine or a virtual machine inside a private network.
This article describes how you can create and configure a self-hosted IR.
upvoted 6 times
On top of that:
Azure Pipelines - wrong, they are a DevOps concept.
File Sync Agent - wrong, that would make the Windows Server a cache for Azure Files.
On-Premise data gateway - that's the same as our SHIR but for Power BI and Azure SSAS!
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 98/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
"
If your data store is located inside an on-premises network, an Azure virtual network, or Amazon Virtual Private Cloud, you need to configure a self-
hosted integration runtime to connect to it.
"
upvoted 7 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 99/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #8 Topic 3
HOTSPOT -
Your company is designing a multi-tenant application that will use elastic pools and Azure SQL databases. The application will be used by 30
customers.
You need to design a storage solution for the application. The solution must meet the following requirements:
✑ Operational costs must be minimized.
✑ All customers must have their own database.
✑ The customer databases will be in one of the following three Azure regions: East US, North Europe, or South Africa North.
What is the minimum number of elastic pools and Azure SQL Database servers required? To answer, select the appropriate options in the answer
area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: 3 -
The server, its pools & databases must be in the same Azure region under the same subscription.
Box 2: 3 -
A server can have up to 5000 databases associated to it.
Reference:
https://vincentlauzon.com/2016/12/18/azure-sql-elastic-pool-overview/
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 100/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct, 3 and 3
servers and pools must be in the same regions
upvoted 14 times
I think that they meant the second one so the answer is right.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 101/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 102/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #9 Topic 3
You are reviewing an Azure architecture as shown in the Architecture exhibit. (Click the Architecture tab.)
The estimated monthly costs for the architecture are shown in the Costs exhibit. (Click the Costs tab.)
The log les are generated by user activity to Apache web servers. The log les are in a consistent format. Approximately 1 GB of logs are
generated per day.
Microsoft Power BI is used to display weekly reports of the user activity.
You need to recommend a solution to minimize costs while maintaining the functionality of the architecture.
What should you recommend?
A. Replace Azure Synapse Analytics and Azure Analysis Services with SQL Server on an Azure virtual machine.
C. Replace Azure Data Factory with CRON jobs that use AzCopy.
Correct Answer: C
AzCopy is a command-line utility that you can use to copy blobs or les to or from a storage account.
Cron is one of the most useful utility that you can nd in any Unix-like operating system. It is used to schedule commands at a speci c time.
These scheduled commands or tasks are known as "Cron Jobs".
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-con gure
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 103/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
You deploy Azure App Service Web Apps that connect to on-premises Microsoft SQL Server instances by using Azure ExpressRoute. You plan to
migrate the
SQL Server instances to Azure.
Migration of the SQL Server instances to Azure must:
✑ Support automatic patching and version updates to SQL Server.
✑ Provide automatic backup services.
✑ Allow for high-availability of the instances.
✑ Provide a native VNET with private IP addressing.
✑ Encrypt all data in transit.
✑ Be in a single-tenant environment with dedicated underlying infrastructure (compute, storage).
You need to migrate the SQL Server instances to Azure.
Which Azure service should you use?
Correct Answer: D
Azure SQL Database Managed Instance con gured for Hybrid workloads. Use this topology if your Azure SQL Database Managed Instance is
connected to your on-premises network. This approach provides the most simpli ed network routing and yields maximum data throughput
during the migration.
Reference:
https://docs.microsoft.com/en-us/azure/dms/resource-network-topologies
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 104/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
You plan to store data in Azure Blob storage for many years. The stored data will be accessed rarely.
You need to ensure that the data in Blob storage is always available for immediate access. The solution must minimize storage costs.
Which storage tier should you use?
A. Cool
B. Archive
C. Hot
Correct Answer: A
Data in the cool access tier can tolerate slightly lower availability, but still requires high durability, retrieval latency, and throughput
characteristics similar to hot data. For cool data, a slightly lower availability service-level agreement (SLA) and higher access costs compared
to hot data are acceptable trade-offs for lower storage costs.
Incorrect Answers:
B: Archive storage stores data o ine and offers the lowest storage costs but also the highest data rehydrate and access costs.
Archive - Optimized for storing data that is rarely accessed and stored for at least 180 days with exible latency requirements (on the order of
hours).
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiers
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 105/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
DRAG DROP -
You are designing a virtual machine that will run Microsoft SQL Server and will contain two data disks. The rst data disk will store log les, and
the second data disk will store data. Both disks are P40 managed disks.
You need to recommend a caching policy for each disk. The policy must provide the best overall performance for the virtual machine while
preserving integrity of the SQL data and logs.
Which caching policy should you recommend for each disk? To answer, drag the appropriate policies to the correct disks. Each policy may be used
once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
Select and Place:
Correct Answer:
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sql/virtual-machines-windows-sql-performance
Data: readonly—If you have separate storage pools for the log and data files, enable read caching only on the storage pool for the data files.
https://docs.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/performance-guidelines-best-practices
upvoted 16 times
If you are using separate disks for data and log files, enable read caching on the data disks hosting your data files and TempDB data files. This can
result in a significant performance benefit. Do not enable caching on the disk holding the log file as this causes a minor decrease in performance.
upvoted 2 times
TABLE 9
Disk caching setting recommendation on when to use this setting
None Configure host-cache as None for write-only and write-heavy disks.
ReadOnly Configure host-cache as ReadOnly for read-only and read-write disks.
ReadWrite Configure host-cache as ReadWrite only if your application properly handles writing cached data to persistent disks when needed.
https://docs.microsoft.com/en-us/azure/virtual-machines/premium-storage-performance#disk-caching
upvoted 1 times
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 107/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
You are designing a SQL database solution. The solution will include 20 databases that will be 20 GB each and have varying usage patterns.
You need to recommend a database platform to host the databases. The solution must meet the following requirements:
✑ The compute resources allocated to the databases must scale dynamically.
✑ The solution must meet an SLA of 99.99% uptime.
✑ The solution must have reserved capacity.
✑ Compute charges must be minimized.
What should you include in the recommendation?
A. 20 databases on a Microsoft SQL server that runs on an Azure virtual machine in an availability set
Correct Answer: D
Azure SQL Database elastic pools are a simple, cost-effective solution for managing and scaling multiple databases that have varying and
unpredictable usage demands. The databases in an elastic pool are on a single server and share a set number of resources at a set price.
Elastic pools in Azure SQL Database enable
SaaS developers to optimize the price performance for a group of databases within a prescribed budget while delivering performance elasticity
for each database.
Guaranteed 99.995 percent uptime for SQL Database
Reference:
https://docs.microsoft.com/en-us/azure/azure-sql/database/elastic-pool-overview https://azure.microsoft.com/en-us/pricing/details/sql-
database/elastic/
- Azure SQL Database Business Critical or Premium tiers not configured for Zone Redundant Deployments, General Purpose, Standard, or Basic
tiers, or Hyperscale tier with two or more replicas have an availability guarantee of at least 99.99%.
https://azure.microsoft.com/en-us/support/legal/sla/sql-database/v1_5/
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 108/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an app named App1 that uses two on-premises Microsoft SQL Server databases named DB1 and DB2.
You plan to migrate DB1 and DB2 to Azure.
You need to recommend an Azure solution to host DB1 and DB2. The solution must meet the following requirements:
✑ Support server-side transactions across DB1 and DB2.
✑ Minimize administrative effort to update the solution.
What should you recommend?
C. two Azure SQL databases on the same Azure SQL Database managed instance
Correct Answer: C
SQL Managed Instance enables system administrators to spend less time on administrative tasks because the service either performs them for
you or greatly simpli es those tasks.
Note: Azure SQL Managed Instance is designed for customers looking to migrate a large number of apps from an on-premises or IaaS, self-
built, or ISV provided environment to a fully managed PaaS cloud environment, with as low a migration effort as possible. Using the fully
automated Azure Data Migration Service, customers can lift and shift their existing SQL Server instance to SQL Managed Instance, which offers
compatibility with SQL Server and complete isolation of customer instances with native VNet support. With Software Assurance, you can
exchange your existing licenses for discounted rates on SQL Managed Instance using the Azure Hybrid Bene t for SQL Server. SQL Managed
Instance is the best migration destination in the cloud for SQL Server instances that require high security and a rich programmability surface.
Reference:
https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/sql-managed-instance-paas-overview
Design Data Storage
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 109/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://docs.microsoft.com/en-us/azure/azure-sql/database/elastic-transactions-overview#common-scenarios
upvoted 2 times
Ref:
https://docs.microsoft.com/en-us/azure/azure-sql/database/elastic-transactions-overview#transact-sql-development-experience
https://docs.microsoft.com/en-us/azure/azure-sql/database/elastic-transactions-overview#transact-sql-development-experience
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 110/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #1 Topic 4
A. 1
B. 2
C. 6
D. 7
Correct Answer: C
Only one update domain is rebooted at a time. Here there are 7 update domain with one VM each (and 13 update domain with no VM).
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/manage-availability
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 111/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Just look how often the 3 fits into the 20 => 6. Simple mathematics. Just an Eselsbrücke. :)
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 112/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #2 Topic 4
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure Storage v2 account named storage1.
You plan to archive data to storage1.
You need to ensure that the archived data cannot be deleted for ve years. The solution must prevent administrators from deleting the data.
Solution: You create an Azure Blob storage container, and you con gure a legal hold access policy.
Does this meet the goal?
A. Yes
B. No
Correct Answer: B
Use an Azure Blob storage container, but use a time-based retention policy instead of a legal hold.
Note:
Immutable storage for Azure Blob storage enables users to store business-critical data objects in a WORM (Write Once, Read Many) state. This
state makes the data non-erasable and non-modi able for a user-speci ed interval. For the duration of the retention interval, blobs can be
created and read, but cannot be modi ed or deleted. Immutable storage is available for general-purpose v2 and Blob storage accounts in all
Azure regions.
Note: Set retention policies and legal holds
1. Create a new container or select an existing container to store the blobs that need to be kept in the immutable state. The container must be
in a general- purpose v2 or Blob storage account.
2. Select Access policy in the container settings. Then select Add policy under Immutable blob storage.
Either -
3a. To enable legal holds, select Add Policy. Select Legal hold from the drop-down menu.
Or -
3b. To enable time-based retention, select Time-based retention from the drop-down menu.
4. Enter the retention interval in days (acceptable values are 1 to 146000 days).
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-immutable-storage https://docs.microsoft.com/en-
us/azure/storage/blobs/storage-blob-immutability-policies-manage
Legal hold policy support: If the retention interval is not known, users can set legal holds to store immutable data until the legal hold is
cleared. When a legal hold policy is set, blobs can be created and read, but not modified or deleted. Each legal hold is associated with a
user-defined alphanumeric tag (such as a case ID, event name, etc.) that is used as an identifier string.
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-immutable-storage
upvoted 2 times
upvoted 1 times
Time-based retention policy support: Users can set policies to store data for a specified interval. When a time-based retention policy is set, blobs
can be created and read, but not modified or deleted. After the retention period has expired, blobs can be deleted but not overwritten.
Legal hold policy support: If the retention interval is not known, users can set legal holds to store immutable data until the legal hold is cleared.
When a legal hold policy is set, blobs can be created and read, but not modified or deleted. Each legal hold is associated with a user-defined
alphanumeric tag (such as a case ID, event name, etc.) that is used as an identifier string.
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-immutable-
storage#:~:text=Time%2Dbased%20retention%20policy%20support,but%20not%20modified%20or%20deleted.&text=When%20a%20legal%20hol
d%20policy,but%20not%20modified%20or%20deleted.
upvoted 4 times
With a legal hold the tags can be removed and therefore the data can be modified/deleted.
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-immutable-storage#faq
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 114/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #3 Topic 4
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure Storage v2 account named storage1.
You plan to archive data to storage1.
You need to ensure that the archived data cannot be deleted for ve years. The solution must prevent administrators from deleting the data.
Solution: You create a le share and snapshots.
Does this meet the goal?
A. Yes
B. No
Correct Answer: B
Instead you could create an Azure Blob storage container, and you con gure a legal hold access policy.
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-immutable-storage
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 115/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #4 Topic 4
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure Storage v2 account named storage1.
You plan to archive data to storage1.
You need to ensure that the archived data cannot be deleted for ve years. The solution must prevent administrators from deleting the data.
Solution: You create a le share, and you con gure an access policy.
Does this meet the goal?
A. Yes
B. No
Correct Answer: B
Instead of a le share, an immutable Blob storage is required.
Time-based retention policy support: Users can set policies to store data for a speci ed interval. When a time-based retention policy is set,
blobs can be created and read, but not modi ed or deleted. After the retention period has expired, blobs can be deleted but not overwritten.
Note: Set retention policies and legal holds
1. Create a new container or select an existing container to store the blobs that need to be kept in the immutable state. The container must be
in a general- purpose v2 or Blob storage account.
2. Select Access policy in the container settings. Then select Add policy under Immutable blob storage.
3. To enable time-based retention, select Time-based retention from the drop-down menu.
4. Enter the retention interval in days (acceptable values are 1 to 146000 days).
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-immutable-storage https://docs.microsoft.com/en-
us/azure/storage/blobs/storage-blob-immutability-policies-manage
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 116/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #5 Topic 4
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an on-premises Hyper-V cluster that hosts 20 virtual machines. Some virtual machines run Windows Server 2016 and some run Linux.
You plan to migrate the virtual machines to an Azure subscription.
You need to recommend a solution to replicate the disks of the virtual machines to Azure. The solution must ensure that the virtual machines
remain available during the migration of the disks.
Solution: You recommend implementing an Azure Storage account, and then running AzCopy.
Does this meet the goal?
A. Yes
B. No
Correct Answer: B
AzCopy only copy les, not the disks.
Instead use Azure Site Recovery.
Reference:
https://docs.microsoft.com/en-us/azure/site-recovery/site-recovery-overview
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 117/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #6 Topic 4
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an on-premises Hyper-V cluster that hosts 20 virtual machines. Some virtual machines run Windows Server 2016 and some run Linux.
You plan to migrate the virtual machines to an Azure subscription.
You need to recommend a solution to replicate the disks of the virtual machines to Azure. The solution must ensure that the virtual machines
remain available during the migration of the disks.
Solution: You recommend implementing an Azure Storage account that has a le service and a blob service, and then using the Data Migration
Assistant.
Does this meet the goal?
A. Yes
B. No
Correct Answer: B
Data Migration Assistant is used to migrate SQL databases.
Instead use Azure Site Recovery.
Reference:
https://docs.microsoft.com/en-us/azure/site-recovery/site-recovery-overview
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 118/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #7 Topic 4
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an on-premises Hyper-V cluster that hosts 20 virtual machines. Some virtual machines run Windows Server 2016 and some run Linux.
You plan to migrate the virtual machines to an Azure subscription.
You need to recommend a solution to replicate the disks of the virtual machines to Azure. The solution must ensure that the virtual machines
remain available during the migration of the disks.
Solution: You recommend implementing a Recovery Services vault, and then using Azure Site Recovery.
Does this meet the goal?
A. Yes
B. No
Correct Answer: A
Site Recovery can replicate on-premises VMware VMs, Hyper-V VMs, physical servers (Windows and Linux), Azure Stack VMs to Azure.
Note: Site Recovery helps ensure business continuity by keeping business apps and workloads running during outages. Site Recovery replicates
workloads running on physical and virtual machines (VMs) from a primary site to a secondary location. When an outage occurs at your primary
site, you fail over to secondary location, and access apps from there. After the primary location is running again, you can fail back to it.
Reference:
https://docs.microsoft.com/en-us/azure/site-recovery/site-recovery-overview
The answer is correct here (Azure Site Recovery) because the question is from previous exam 301 and not 304.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 119/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
By the way this question will not appear at all in the exam. it is old and for 304 they suggest to use azure migrate.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 120/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #8 Topic 4
You are designing a storage solution that will use Azure Blob storage. The data will be stored in a cool access tier or an archive access tier based
on the access patterns of the data.
You identify the following types of infrequently accessed data:
✑ Telemetry data: Deleted after two years
✑ Promotional material: Deleted after 14 days
✑ Virtual machine audit data: Deleted after 200 days
A colleague recommends using the archive access tier to store the data.
Which statement accurately describes the recommendation?
Correct Answer: D
The following table shows a comparison of premium performance block blob storage, and the hot, cool, and archive access tiers.
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiers
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 121/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #9 Topic 4
You are planning to deploy an application named App1 that will run in containers on Azure Kubernetes Service (AKS) clusters. The AKS clusters
will be distributed across four Azure regions.
You need to recommend a storage solution for App1. Updated container images must be replicated automatically to all the AKS clusters.
Which storage solution should you recommend?
Correct Answer: C
Enable geo-replication for container images.
Best practice: Store your container images in Azure Container Registry and geo-replicate the registry to each AKS region.
To deploy and run your applications in AKS, you need a way to store and pull the container images. Container Registry integrates with AKS, so it
can securely store your container images or Helm charts. Container Registry supports multimaster geo-replication to automatically replicate
your images to Azure regions around the world.
Geo-replication is a feature of Premium SKU container registries.
Note:
When you use Container Registry geo-replication to pull images from the same region, the results are:
Faster: You pull images from high-speed, low-latency network connections within the same Azure region.
More reliable: If a region is unavailable, your AKS cluster pulls the images from an available container registry.
Cheaper: There's no network egress charge between datacenters.
Reference:
https://docs.microsoft.com/en-us/azure/aks/operator-best-practices-multi-region
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 122/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an on-premises network and an Azure subscription. The on-premises network has several branch o ces.
A branch o ce in Toronto contains a virtual machine named VM1 that is con gured as a le server. Users access the shared les on VM1 from all
the o ces.
You need to recommend a solution to ensure that the users can access the shared les as quickly as possible if the Toronto branch o ce is
inaccessible.
What should you include in the recommendation?
It should be A
upvoted 38 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 123/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
DRAG DROP -
The developers at your company are building a static web app to support users sending text messages. The app must meet the following
requirements:
✑ Website latency must be consistent for users in different geographical regions.
✑ Users must be able to authenticate by using Twitter and Facebook.
✑ Code must include only HTML, native JavaScript, and jQuery.
✑ Costs must be minimized.
Which Azure service should you use to complete the architecture? To answer, drag the appropriate services to the correct locations. Each service
may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 124/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 125/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
how would the SMS service be triggered thats key to choose from Functions or Logic apps.
upvoted 2 times
For " Users must be able to authenticate by using Twitter and Facebook.", actually the diagram has "Azure AD B2C" already for this.
https://docs.microsoft.com/en-us/azure/active-directory-b2c/tutorial-add-identity-providers
upvoted 2 times
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-static-website
For 2nd box practically Azure Logic app and FUnction both can be used to send SMS but since we can trigger sms using code (statement - Code
must include only HTML, native JavaScript, and jQuery) in Functions so that is preferred solution in this scenario.
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 126/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 127/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
You need to design a highly available Azure SQL database that meets the following requirements:
✑ Failover between replicas of the database must occur without any data loss.
✑ The database must remain available in the event of a zone outage.
✑ Costs must be minimized.
Which deployment option should you use?
Correct Answer: A
Standard geo-replication is available with Standard and Premium databases in the current Azure Management Portal and standard APIs.
Incorrect:
Not B: Business Critical service tier is designed for applications that require low-latency responses from the underlying SSD storage (1-2 ms in
average), fast recovery if the underlying infrastructure fails, or need to off-load reports, analytics, and read-only queries to the free of charge
readable secondary replica of the primary database.
Note: Azure SQL Database and Azure SQL Managed Instance are both based on SQL Server database engine architecture that is adjusted for
the cloud environment in order to ensure 99.99% availability even in the cases of infrastructure failures. There are three architectural models
that are used:
✑ General Purpose/Standard
Business Critical/Premium -
✑ Hyperscale
Reference:
https://docs.microsoft.com/en-us/azure/azure-sql/database/service-tier-business-critical
Standard availability model that is based on a separation of compute and storage. It relies on high availability and reliability of the remote
storage tier. This architecture targets budget-oriented business applications that can tolerate some performance degradation during
maintenance activities.
Premium availability model that is based on a cluster of database engine processes. It relies on the fact that there is always a quorum of
available database engine nodes. This architecture targets mission critical applications with high IO performance, high transaction rate and
guarantees minimal performance impact to your workload during maintenance activities.
upvoted 1 times
fast failover only applies for biz critical and only azure sql support and
Would you like to make this database zone redundant? is only available for normal Azure SQL and not for managed intances
upvoted 9 times
Hyperscale, which is designed for most business workloads, providing highly scalable storage, read scale-out, and fast database restore capabilities.
https://docs.microsoft.com/en-us/azure/azure-sql/database/service-tiers-general-purpose-business-critical#service-tier-comparison
upvoted 1 times
According to https://docs.microsoft.com/en-us/azure/azure-sql/database/high-availability-sla:
1. Azure SQL Database Standard: General Purpose service tier zone redundant availability is under Preview status.
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 129/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
2. Azure SQL Database Business Critical: Premium and Business Critical service tier zone redundant availability.
3. Azure SQL Database Managed Instance Business Critical: This feature(Zone Redundant) is not available in SQL Managed Instance.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 130/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
DRAG DROP -
Your company identi es the following business continuity and disaster recovery objectives for virtual machines that host sales, nance, and
reporting applications in the company's on-premises data center:
✑ The sales application must be able to fail over to a second on-premises data center.
✑ The nance application requires that data be retained for seven years. In the event of a disaster, the application must be able to run from
Azure. The recovery time objective (RTO) is 10 minutes.
✑ The reporting application must be able to recover point-in-time data at a daily granularity. The RTO is eight hours.
You need to recommend which Azure services meet the business continuity and disaster recovery objectives. The solution must minimize costs.
What should you recommend for each application? To answer, drag the appropriate services to the correct applications. Each service may be used
once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 131/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Yes, correct.
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 132/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
A. You create an Azure Blob storage container, and you con gure a legal hold access policy.
D. You create an Azure Blob storage container, and you con gure a time-based retention policy and lock the policy.
Correct Answer: D
Time-based retention policy support: Users can set policies to store data for a speci ed interval. When a time-based retention policy is set,
blobs can be created and read, but not modi ed or deleted. After the retention period has expired, blobs can be deleted but not overwritten.
Note:
Immutable storage for Azure Blob storage enables users to store business-critical data objects in a WORM (Write Once, Read Many) state. This
state makes the data non-erasable and non-modi able for a user-speci ed interval. For the duration of the retention interval, blobs can be
created and read, but cannot be modi ed or deleted. Immutable storage is available for general-purpose v2 and Blob storage accounts in all
Azure regions.
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-immutable-storage
Design Business Continuity
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 133/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #1 Topic 5
You deploy two instances of an Azure web app. One instance is in the East US Azure region and the other instance is in the West US Azure region.
The web app uses Azure Blob storage to deliver large les to end users.
You need to recommend a solution for delivering the les to the users. The solution must meet the following requirements:
✑ Ensure that the users receive les from the same region as the web app that they access.
✑ Ensure that the les only need to be uploaded once.
✑ Minimize costs.
What should you include in the recommendation?
Correct Answer: B
Maybe incorrect options are given here mistakenly, similar cases have been seen while studying questions in this website, not many, just rarely.
Admin can clear the air on it.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 134/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Since each app needs to read from its own region and can only be uploaded once -- GRS to spread the info and RA to let the apps read it
without failover.
upvoted 2 times
=> RA_GRS
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 135/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #2 Topic 5
You are developing a web application that provides streaming video to users. You con gure the application to use continuous integration and
deployment.
The app must be highly available and provide a continuous streaming experience for users.
You need to recommend a solution that allows the application to store data in a geographical location that is closest to the user.
What should you recommend?
Correct Answer: A
Azure Content Delivery Network (CDN) is a global CDN solution for delivering high-bandwidth content. It can be hosted in Azure or any other
location. With Azure
CDN, you can cache static objects loaded from Azure Blob storage, a web application, or any publicly accessible web server, by using the
closest point of presence (POP) server. Azure CDN can also accelerate dynamic content, which cannot be cached, by leveraging various
network and routing optimizations.
Reference:
https://docs.microsoft.com/en-in/azure/cdn/
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 136/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #3 Topic 5
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You need to deploy resources to host a stateless web app in an Azure subscription. The solution must meet the following requirements:
✑ Provide access to the full .NET framework.
✑ Provide redundancy if an Azure region fails.
✑ Grant administrators access to the operating system to install custom application dependencies.
Solution: You deploy a virtual machine scale set that uses autoscaling.
Does this meet the goal?
A. Yes
B. No
Correct Answer: B
Instead, you should deploy two Azure virtual machines to two Azure regions, and you create a Tra c Manager pro le.
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 137/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #4 Topic 5
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You need to deploy resources to host a stateless web app in an Azure subscription. The solution must meet the following requirements:
✑ Provide access to the full .NET framework.
✑ Provide redundancy if an Azure region fails.
✑ Grant administrators access to the operating system to install custom application dependencies.
Solution: You deploy two Azure virtual machines to two Azure regions, and you deploy an Azure Application Gateway.
Does this meet the goal?
A. Yes
B. No
Correct Answer: B
You need to deploy two Azure virtual machines to two Azure regions, but also create a Tra c Manager pro le.
https://docs.microsoft.com/en-us/azure/architecture/guide/technology-choices/load-balancing-overview
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 138/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #5 Topic 5
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You need to deploy resources to host a stateless web app in an Azure subscription. The solution must meet the following requirements:
✑ Provide access to the full .NET framework.
✑ Provide redundancy if an Azure region fails.
✑ Grant administrators access to the operating system to install custom application dependencies.
Solution: You deploy two Azure virtual machines to two Azure regions, and create a Tra c Manager pro le.
Does this meet the goal?
A. Yes
B. No
Correct Answer: A
https://docs.microsoft.com/en-us/azure/traffic-manager/traffic-manager-overview
upvoted 12 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 139/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #6 Topic 5
HOTSPOT -
You plan to deploy a network-intensive application to several Azure virtual machines.
You need to recommend a solution that meets the following requirements:
✑ Minimizes the use of the virtual machine processors to transfer data
✑ Minimizes network latency
Which virtual machine size and feature should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sizes-hpc#h-series
Correct Answer:
- Compute optimized Standard_F8s
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 140/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Explanation:
Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, greatly improving its networking performance. This high-
performance path bypasses the host from the datapath, *reducing latency*, jitter, and CPU utilization, for use with the most demanding network
workloads on supported VM types.
Supported VM instances
Accelerated Networking is supported on most general purpose and compute-optimized instance sizes with 2 or more vCPUs. These supported
series are: D/DSv2 and F/Fs
On instances that support hyperthreading, Accelerated Networking is supported on VM instances with 4 or more vCPUs. Supported series are:
D/Dsv3, D/Dsv4, Dd/Ddv4, Da/Dasv4, E/Esv3, E/Esv4, Ed/Edsv4, Ea/Easv4, Fsv2, Lsv2, Ms/Mms and Ms/Mmsv2.
upvoted 1 times
Reference:
Most of the HPC VM sizes (HBv2, HB, HC, *H16r*, H16mr, A8 and A9) feature a network interface for remote direct memory access (RDMA)
connectivity.
upvoted 1 times
While it's true that SR-IOV would meet the requirement to minimize network latency, SR-IOV is not supported in any of the available VM sizes.
Therefore, the right combo is what I listed above.
Reference:- https://www.examtopics.com/exams/microsoft/az-301/view/30/
upvoted 6 times
note: InfiniBand (IB) is a computer networking communications standard used in high-performance computing that features very high throughput
and very low latency. It is used for data interconnect both among and within computers.
So, mention of 'InfiniBand (IB) and RDMA suggests the answer above is correct.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 141/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
2- For Accelerated Networking, we need to enable “Single Root I/O Virtualization (SR-IOV)”
You are welcome. 100% sure about the answers.
upvoted 2 times
https://docs.microsoft.com/en-us/azure/virtual-network/create-vm-accelerated-networking-powershell
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 142/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #7 Topic 5
You need to recommend a solution to deploy containers that run an application. The application has two tiers. Each tier is implemented as a
separate Docker
Linux-based image. The solution must meet the following requirements:
✑ The front-end tier must be accessible by using a public IP address on port 80.
✑ The backend tier must be accessible by using port 8080 from the front-end tier only.
✑ Both containers must be able to access the same Azure le share.
✑ If a container fails, the application must restart automatically.
✑ Costs must be minimized.
What should you recommend using to host the application?
Correct Answer: C
Azure Container Instances enables a layered approach to orchestration, providing all of the scheduling and management capabilities required to
run a single container, while allowing orchestrator platforms to manage multi-container tasks on top of it.
Because the underlying infrastructure for container instances is managed by Azure, an orchestrator platform does not need to concern itself
with nding an appropriate host machine on which to run a single container.
Azure Container Instances can schedule both Windows and Linux containers with the same API.
Orchestration of container instances exclusively
Because they start quickly and bill by the second, an environment based exclusively on Azure Container Instances offers the fastest way to get
started and to deal with highly variable workloads.
Reference:
https://docs.microsoft.com/en-us/azure/container-instances/container-instances-overview https://docs.microsoft.com/en-us/azure/container-
instances/container-instances-orchestrator-relationship
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 143/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
"Azure Container Instances enables a layered approach to orchestration, providing all of the scheduling and management capabilities required to
run a single container, while allowing orchestrator platforms to manage multi-container tasks on top of it." from:
https://docs.microsoft.com/en-us/azure/container-instances/container-instances-orchestrator-relationship
upvoted 1 times
https://docs.microsoft.com/de-de/azure/container-instances/container-instances-restart-policy
"When you create a container group in Azure Container Instances, you can specify one of three restart policy settings."
Always , Never, OnFailure
upvoted 3 times
https://docs.microsoft.com/en-us/azure/container-instances/container-instances-container-groups
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 144/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
Question #8 Topic 5
D. Create a render farm that uses virtual machine (VM) scale sets.
Correct Answer: AC
At first I thought that in batch the nodes can't communicate with each other. But the page you share states that it is possible. They are called
"tightly coupled workloads".
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 145/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #9 Topic 5
Your company plans to publish APIs for its services by using Azure API Management.
You discover that service responses include the AspNet-Version header.
You need to recommend a solution to remove AspNet-Version from the response of the published APIs.
What should you include in the recommendation?
A. a new product
C. a new policy
D. a new revision
Correct Answer: C
Set a new transformation policy to transform an API to strip response headers.
Reference:
https://docs.microsoft.com/en-us/azure/api-management/transform-api
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 146/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer: A
You can schedule a powershell script with Azure Logic Apps.
When you want to run code that performs a speci c job in your logic apps, you can create your own function by using Azure Functions. This
service helps you create Node.js, C#, and F# functions so you don't have to build a complete app or infrastructure to run code. You can also call
logic apps from inside Azure functions. Azure Functions provides serverless computing in the cloud and is useful for performing tasks such as
these examples:
Reference:
https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-azure-functions
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 147/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
DRAG DROP -
You have an on-premises network that uses an IP address space of 172.16.0.0/16.
You plan to deploy 25 virtual machines to a new Azure subscription.
You identify the following technical requirements:
✑ All Azure virtual machines must be placed on the same subnet named Subnet1.
✑ All the Azure virtual machines must be able to communicate with all on-premises servers.
✑ The servers must be able to communicate between the on-premises network and Azure by using a site-to-site VPN.
You need to recommend a subnet design that meets the technical requirements.
What should you include in the recommendation? To answer, drag the appropriate network addresses to the correct subnets. Each network
address may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 148/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer: D
If you are looking for Transport Layer Security (TLS) protocol termination ("SSL o oad") or per-HTTP/HTTPS request, application-layer
processing, review
Application Gateway.
Application Gateway is a layer 7 load balancer, which means it works only with web tra c (HTTP, HTTPS, WebSocket, and HTTP/2). It supports
capabilities such as SSL termination, cookie-based session a nity, and round robin for load-balancing tra c. Load Balancer load-balances
tra c at layer 4 (TCP or UDP).
Reference:
https://docs.microsoft.com/en-us/azure/application-gateway/application-gateway-faq
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 149/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Your company, named Contoso, Ltd, implements several Azure logic apps that have HTTP triggers: The logic apps provide access to an on-
premises web service.
Contoso establishes a partnership with another company named Fabrikam, Inc.
Fabrikam does not have an existing Azure Active Directory (Azure AD) tenant and uses third-party OAuth 2.0 identity management to authenticate
its users.
Developers at Fabrikam plan to use a subset of the logics apps to build applications that will integrate with the on-premises web service of
Contoso.
You need to design a solution to provide the Fabrikam developers with access to the logic apps. The solution must meet the following
requirements:
✑ Requests to the logic apps from the developers must be limited to lower rates than the requests from the users at Contoso.
✑ The developers must be able to rely on their existing OAuth 2.0 provider to gain access to the logic apps.
✑ The solution must NOT require changes to the logic apps.
✑ The solution must NOT use Azure AD guest accounts.
What should you include in the solution?
Correct Answer: C
API Management helps organizations publish APIs to external, partner, and internal developers to unlock the potential of their data and
services.
You can secure API Management using the OAuth 2.0 client credentials ow.
Incorrect Answers:
A: Azure Active Directory B2B uses guest users.
B: Azure Front Door is an Application Delivery Network (ADN) as a service, offering various layer 7 load-balancing capabilities for your
applications.
Azure Front Door supports HTTP, HTTPS and HTTP/2.
Applications can be authorized through OAuth 2.0.
D: Application Proxy is a feature of Azure AD that enables users to access on-premises web applications from a remote client. Application
Proxy includes both the
Application Proxy service which runs in the cloud, and the Application Proxy connector which runs on an on-premises server.
Application Proxy works with:
✑ Web applications that use Integrated Windows Authentication for authentication
Web applications that use form-based or header-based access
Reference:
https://docs.microsoft.com/en-us/azure/api-management/api-management-key-concepts
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 150/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
You need to design a solution that will execute custom C# code in response to an event routed to Azure Event Grid. The solution must meet the
following requirements:
✑ The executed code must be able to access the private IP address of a Microsoft SQL Server instance that runs on an Azure virtual machine.
✑ Costs must be minimized.
What should you include in the solution?
B. Azure Functions in the Dedicated plan and the Basic Azure App Service plan
Correct Answer: D
When you create a function app in Azure, you must choose a hosting plan for your app. There are three basic hosting plans available for Azure
Functions:
Consumption plan, Premium plan, and Dedicated (App Service) plan.
For the Consumption plan, you don't have to pay for idle VMs or reserve capacity in advance.
Connect to private endpoints with Azure Functions
As enterprises continue to adopt serverless (and Platform-as-a-Service, or PaaS) solutions, they often need a way to integrate with existing
resources on a virtual network. These existing resources could be databases, le storage, message queues or event streams, or REST APIs.
Reference:
https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale https://techcommunity.microsoft.com/t5/azure-functions/connect-to-
private-endpoints-with-azure-functions/ba-p/1426615
ref: https://docs.microsoft.com/en-us/azure/azure-functions/functions-networking-options#matrix-of-networking-features
upvoted 10 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 151/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Basic Azure App Service plan doesn't support vnet integration so answer must be A. Nothing is mentioned about App Service Environment.
upvoted 4 times
To connect to Azure virtual machines using private IP address, we must do Virtual network integration.
Virtual network integration is supported only on Azure Functions Dedicated plan and Azure Logics Apps ISE.
Azure Functions dedicated plan is cheaper than Azure Logic Apps ISE.
https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale#hosting-plans-comparison
upvoted 6 times
Correct
Private site access is available in the Premium, Consumption, and App Service plans when service endpoints are configured.
Service endpoints can be configured on a per-app basis under Platform features > Networking > Configure Access Restrictions > Add Rule. Virtual
networks can now be selected as a rule type.
For more information, see Virtual network service endpoints.
Links:
https://docs.microsoft.com/en-us/azure/azure-functions/functions-networking-options#matrix-of-networking-features
https://docs.microsoft.com/en-us/azure/azure-functions/functions-networking-options#inbound-ip-restrictions
upvoted 4 times
But in this case we need access from the Function to a VM in a VNet and there it clearly says: "If a Functions app needs to access Azure
resources within the virtual network, or connected via service endpoints, then virtual network integration is needed."
https://walkerscott.co/2020/03/azure-logic-apps-vs-azure-functions/
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 153/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 154/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
The developers at your company are building a containerized Python Django app.
You need to recommend platform to host the app. The solution must meet the following requirements:
✑ Support autoscaling.
✑ Support continuous deployment from an Azure Container Registry.
✑ Provide built-in functionality to authenticate app users by using Azure Active Directory (Azure AD).
Which platform should you include in the recommendation?
Correct Answer: C
To keep up with application demands in Azure Kubernetes Service (AKS), you may need to adjust the number of nodes that run your workloads.
The cluster autoscaler component can watch for pods in your cluster that can't be scheduled because of resource constraints. When issues are
detected, the number of nodes in a node pool is increased to meet the application demand.
Azure Container Registry is a private registry for hosting container images. It integrates well with orchestrators like Azure Container Service,
including Docker
Swarm, DC/OS, and the new Azure Kubernetes service. Moreover, ACR provides capabilities such as Azure Active Directory-based
authentication, webhook support, and delete operations.
Reference:
https://docs.microsoft.com/en-us/azure/aks/cluster-autoscaler https://medium.com/velotio-perspectives/continuous-deployment-with-azure-
kubernetes-service-azure-container-registry-jenkins-ca337940151b
Should be B
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 155/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://docs.microsoft.com/en-us/dotnet/architecture/modernize-with-azure-containers/modernize-existing-apps-to-cloud-optimized/choosing-
azure-compute-options-for-container-based-applications
upvoted 1 times
Supports CD https://docs.microsoft.com/en-us/azure/app-service/deploy-continuous-deployment
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 156/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer: BC
B: Forced tunneling lets you redirect or "force" all Internet-bound tra c back to your on-premises location via a Site-to-Site VPN tunnel for
inspection and auditing.
This is a critical security requirement for most enterprise IT policies. Without forced tunneling, Internet-bound tra c from your VMs in Azure
always traverses from
Azure network infrastructure directly out to the Internet, without the option to allow you to inspect or audit the tra c.
Forced tunneling in Azure is con gured via virtual network user-de ned routes.
C: ExpressRoute lets you extend your on-premises networks into the Microsoft cloud over a private connection facilitated by a connectivity
provider. With
ExpressRoute, you can establish connections to Microsoft cloud services, such as Microsoft Azure, O ce 365, and Dynamics 365.
Connectivity can be from an any-to-any (IP VPN) network, a point-to-point Ethernet network, or a virtual cross-connection through a connectivity
provider at a co- location facility. ExpressRoute connections do not go over the public Internet. This allows ExpressRoute connections to offer
more reliability, faster speeds, lower latencies, and higher security than typical connections over the Internet.
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-forced-tunneling-rm https://docs.microsoft.com/en-
us/azure/expressroute/expressroute-introduction
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 157/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
C and D are also correct as you manage the traffic by directing it through the VPN and to the vNET. Not really super neat but understandable.
upvoted 2 times
'You Plan to' means there are no connections exist, yet. So, we first do an Express Route and then UDR to force the tunnel.
mention of vNet is a moot point as you can't deploy VMs without having at least one vNet to begin with.
upvoted 2 times
Why would you implement an express route if you already plan to use Site-to-Site connection
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 158/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
You cannot specify a virtual network gateway created as type ExpressRoute in a user-defined route because with ExpressRoute, you must use
BGP for custom routes.
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview
upvoted 1 times
You are developing a sales application that will contain several Azure cloud services and will handle different components of a transaction.
Different cloud services will process customer orders, billing, payment, inventory, and shipping.
You need to recommend a solution to enable the cloud services to asynchronously communicate transaction information by using REST
messages.
What should you include in the recommendation?
Correct Answer: A
Service Bus is a transactional message broker and ensures transactional integrity for all internal operations against its message stores. All
transfers of messages inside of Service Bus, such as moving messages to a dead-letter queue or automatic forwarding of messages between
entities, are transactional.
Incorrect Answers:
C: Azure Noti cation Hubs is a massively scalable mobile push noti cation engine for quickly sending millions of noti cations to iOS, Android,
Windows, or Kindle devices.
Reference:
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-transactions
" Service Bus offers a reliable and secure platform for asynchronous transfer of data and state." ... "Service Bus supports standard AMQP 1.0 and
HTTP/REST protocols."
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-overview
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 159/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
You are designing a message application that will run on an on-premises Ubuntu virtual machine. The application will use Azure Storage queues.
You need to recommend a processing solution for the application to interact with the storage queues. The solution must meet the following
requirements:
✑ Create and delete queues daily.
✑ Be scheduled by using a CRON job.
✑ Upload messages every ve minutes.
What should developers use to interact with the queues?
A. Azure CLI
B. AzCopy
D. .NET Core
Correct Answer: D
Incorrect Answers:
A: It is not possible to have Linux running in Windows Azure
B: AzCopy is a command-line utility that you can use to copy blobs or les to or from a storage account.
Reference:
https://docs.microsoft.com/en-us/azure/storage/queues/storage-tutorial-queues
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 160/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
We can run .net core on linux and interact with azure storage queues. Complete details are mention in below URL.
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 161/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have a .NET web service named Service1 that has the following requirements:
✑ Must read and write temporary les to the local le system.
✑ Must write to the Application event log.
You need to recommend a solution to host Service1 in Azure. The solution must meet the following requirements:
✑ Minimize maintenance overhead.
✑ Minimize costs.
What should you include in the recommendation?
D. an Azure function
Correct Answer: C
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 162/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
You are designing a microservices architecture that will support a web application.
The solution must meet the following requirements:
✑ Allow independent upgrades to each microservice.
✑ Deploy the solution on-premises and to Azure.
Set policies for performing automatic repairs to the microservices.
Correct Answer: C
Azure Service Fabric is a distributed systems platform that makes it easy to package, deploy, and manage scalable and reliable microservices
and containers.
You can use Azure Service Fabric to create Service Fabric clusters on any virtual machines or computers running Windows Server.
Reference:
https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-overview
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 163/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
The on-premises Active Directory domain syncs to Azure Active Directory (Azure AD).
Server1 runs an application named App1 that uses LDAP queries to verify user identities in the on-premises Active Directory domain.
You plan to migrate Server1 to a virtual machine in Subscription1.
A company security policy states that the virtual machines and services deployed to Subscription1 must be prevented from accessing the on-
premises network.
You need to recommend a solution to ensure that App1 continues to function after the migration. The solution must meet the security policy.
What should you include in the recommendation?
Correct Answer: D
You can join a Windows Server virtual machine to an Azure Active Directory Domain Services managed domain.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory-domain-services/join-windows-vm
upvoted 1 times
The giveaway is in the question "A company security policy states that the virtual machines and services deployed to Subscription1 must be
prevented from accessing the on-premises network."
So this means a Domain Controller is out of the question as it will be restricted to communicate to onprem as it's a Virtual Machine. So the
alternate solution in the options is "C - Azure AD Domain Services (Azure AD DS).
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 165/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
Your company deploys an Azure App Service Web App.
During testing the application fails under load. The application cannot handle more than 100 concurrent user sessions. You enable the Always On
feature. You also con gure auto-scaling to increase instance counts from two to 10 based on HTTP queue length.
You need to improve the performance of the application.
Which solution should you use for each application scenario? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 166/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Azure Cache for Redis, this fast storage is located in-memory with Azure Cache for Redis instead of being loaded from disk by a database.
Reference:
https://docs.microsoft.com/en-us/azure/azure-cache-for-redis/cache-overview
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 167/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
You use Azure virtual machines to run a custom application that uses an Azure SQL Database instance on the back end.
The IT department at your company recently enabled forced tunneling.
Since the con guration change, developers have noticed degraded performance when they access the database from the Azure virtual machine.
You need to recommend a solution to minimize latency when accessing the database. The solution must minimize costs.
What should you include in the recommendation?
Correct Answer: A
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 168/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
DRAG DROP -
You are planning an Azure solution that will host production databases for a high-performance application. The solution will include the following
components:
✑ Two virtual machines that will run Microsoft SQL Server 2016, will be deployed to different data centers in the same Azure region, and will be
part of an Always
On availability group -
✑ SQL Server data that will be backed up by using the Automated Backup feature of the SQL Server IaaS Agent Extension (SQLIaaSExtension)
You identify the storage priorities for various data types as shown in the following table.
Which storage type should you recommend for each data type? To answer, drag the appropriate storage types to the correct data types. Each
storage type may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 170/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
Your company plans to deploy various Azure App Service instances that will use Azure SQL databases. The App Service instances will be deployed
at the same time as the Azure SQL databases.
The company has a regulatory requirement to deploy the App Service instances only to speci c Azure regions. The resources for the App Service
instances must reside in the same region.
You need to recommend a solution to meet the regulatory requirement.
Solution: You recommend using the Regulatory compliance dashboard in Azure Security Center.
Does this meet the goal?
A. Yes
B. No
Correct Answer: B
The Regulatory compliance dashboard in Azure Security Center is not used for regional compliance.
Note: Instead Azure Resource Policy De nitions can be used which can be applied to a speci c Resource Group with the App Service instances.
Note 2: In the Azure Security Center regulatory compliance blade, you can get an overview of key portions of your compliance posture with
respect to a set of supported standards. Currently supported standards are Azure CIS, PCI DSS 3.2, ISO 27001, and SOC TSP.
Reference:
https://docs.microsoft.com/en-us/azure/governance/policy/overview https://azure.microsoft.com/en-us/blog/regulatory-compliance-
dashboard-in-azure-security-center-now-available/
Design Infrastructure
Topic 6 - Testlet 1
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 171/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #1 Topic 6
Introductory Info
Case Study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 172/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question
What should you include in the identity management strategy to support the planned changes?
A. Move all the domain controllers from corp.fabrikam.com to virtual networks in Azure.
B. Deploy domain controllers for the rd.fabrikam.com forest to virtual networks in Azure.
D. Deploy a new Azure AD tenant for the authentication of new R&D projects.
Correct Answer: C
Directory synchronization between Azure Active Directory (Azure AD) and corp.fabrikam.com must not be affected by a link failure between
Azure and the on- premises network. (This requires domain controllers in Azure)
Users on the on-premises network must be able to authenticate to corp.fabrikam.com if an Internet link fails. (This requires domain controllers
on-premises)
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 173/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #2 Topic 6
Introductory Info
Case Study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 174/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question
HOTSPOT -
To meet the authentication requirements of Fabrikam, what should you include in the solution? To answer, select the appropriate options in the
answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: 2 -
The network contains two Active Directory forests named corp.fabrikam.com and rd.fabrikam.com. There are no trust relationships between
the forests.
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 175/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Box 2: 1 -
Box 3: 1 -
Scenario:
✑ Users on the on-premises network must be able to authenticate to corp.fabrikam.com if an Internet link fails.
✑ Administrators must be able authenticate to the Azure portal by using their corp.fabrikam.com credentials.
✑ All administrative access to the Azure portal must be secured by using multi-factor authentication.
Note:
Users must always authenticate by using their corp.fabrikam.com UPN identity.
The network contains two Active Directory forests named corp.fabrikam.com and rd.fabrikam.com. There are no trust relationships between
the forests.
Corp.fabrikam.com is a production forest that contains identities used for internal user and computer authentication.
Rd.fabrikam.com is used by the research and development (R&D) department only.
Design Identity and Security
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 176/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Final = 1,1,1
upvoted 2 times
Topic 7 - Testlet 2
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 177/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #1 Topic 7
Introductory Info
Case Study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
Overview -
Contoso, Ltd, is a US-based nancial services company that has a main o ce in New York and a branch o ce in San Francisco.
Existing Environment. Payment Processing System
Contoso hosts a business-critical payment processing system in its New York data center. The system has three tiers: a front-end web app, a
middle-tier web API, and a back-end data store implemented as a Microsoft SQL Server 2014 database. All servers run Windows Server 2012 R2.
The front-end and middle-tier components are hosted by using Microsoft Internet Information Services (IIS). The application code is written in C#
and ASP.NET.
The middle-tier API uses the Entity Framework to communicate to the SQL Server database. Maintenance of the database is performed by using
SQL Server
Agent jobs.
The database is currently 2 TB and is not expected to grow beyond 3 TB.
The payment processing system has the following compliance-related requirements:
Encrypt data in transit and at rest. Only the front-end and middle-tier components must be able to access the encryption keys that protect the data
store.
Keep backups of the data in two separate physical locations that are at least 200 miles apart and can be restored for up to seven years.
Support blocking inbound and outbound tra c based on the source IP address, the destination IP address, and the port number.
Collect Windows security logs from all the middle-tier servers and retain the logs for a period of seven years.
Inspect inbound and outbound tra c from the front-end tier by using highly available network appliances.
Only allow all access to all the tiers from the internal network of Contoso.
Tape backups are con gured by using an on-premises deployment of Microsoft System Center Data Protection Manager (DPM), and then shipped
offsite for long term storage.
Existing Environment. Historical Transaction Query System
Contoso recently migrated a business-critical workload to Azure. The workload contains a .NET web service for querying the historical transaction
data residing in
Azure Table Storage. The .NET web service is accessible from a client app that was developed in-house and runs on the client computers in the
New York o ce.
The data in the table storage is 50 GB and is not expected to increase.
Existing Environment. Current Issues
The Contoso IT team discovers poor performance of the historical transaction query system, as the queries frequently cause table scans.
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 178/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Whenever possible, Azure managed services must be used to minimize management overhead.
Whenever possible, costs must be minimized.
Contoso identi es the following requirements for the payment processing system:
If a data center fails, ensure that the payment processing system remains available without any administrative intervention. The middle-tier and
the web front end must continue to operate without any additional con gurations.
Ensure that the number of compute nodes of the front-end and the middle tiers of the payment processing system can increase or decrease
automatically based on CPU utilization.
Ensure that each tier of the payment processing system is subject to a Service Level Agreement (SLA) of 99.99 percent availability.
Minimize the effort required to modify the middle-tier API and the back-end tier of the payment processing system.
Payment processing system must be able to use grouping and joining tables on encrypted columns.
Generate alerts when unauthorized login attempts occur on the middle-tier virtual machines.
Ensure that the payment processing system preserves its current compliance status.
Host the middle tier of the payment processing system on a virtual machine
Contoso identi es the following requirements for the historical transaction query system:
Minimize the use of on-premises infrastructure services.
Minimize the effort required to modify the .NET web service querying Azure Cosmos DB.
Minimize the frequency of table scans.
If a region fails, ensure that the historical transaction query system remains available without any administrative intervention.
Requirements. Information Security Requirements
The IT security team wants to ensure that identity management is performed by using Active Directory. Password hashes must be stored on-
premises only.
Access to all business-critical systems must rely on Active Directory credentials. Any suspicious authentication attempts must trigger a multi-
factor authentication prompt automatically.
Question
You need to recommend a solution for protecting the content of the payment processing system.
What should you include in the recommendation?
Correct Answer: A
https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-database-engine?view=sql-server-
ver15#selecting--deterministic-or-randomized-encryption
upvoted 16 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 179/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 180/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #2 Topic 7
Introductory Info
Case Study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
Overview -
Contoso, Ltd, is a US-based nancial services company that has a main o ce in New York and a branch o ce in San Francisco.
Existing Environment. Payment Processing System
Contoso hosts a business-critical payment processing system in its New York data center. The system has three tiers: a front-end web app, a
middle-tier web API, and a back-end data store implemented as a Microsoft SQL Server 2014 database. All servers run Windows Server 2012 R2.
The front-end and middle-tier components are hosted by using Microsoft Internet Information Services (IIS). The application code is written in C#
and ASP.NET.
The middle-tier API uses the Entity Framework to communicate to the SQL Server database. Maintenance of the database is performed by using
SQL Server
Agent jobs.
The database is currently 2 TB and is not expected to grow beyond 3 TB.
The payment processing system has the following compliance-related requirements:
Encrypt data in transit and at rest. Only the front-end and middle-tier components must be able to access the encryption keys that protect the data
store.
Keep backups of the data in two separate physical locations that are at least 200 miles apart and can be restored for up to seven years.
Support blocking inbound and outbound tra c based on the source IP address, the destination IP address, and the port number.
Collect Windows security logs from all the middle-tier servers and retain the logs for a period of seven years.
Inspect inbound and outbound tra c from the front-end tier by using highly available network appliances.
Only allow all access to all the tiers from the internal network of Contoso.
Tape backups are con gured by using an on-premises deployment of Microsoft System Center Data Protection Manager (DPM), and then shipped
offsite for long term storage.
Existing Environment. Historical Transaction Query System
Contoso recently migrated a business-critical workload to Azure. The workload contains a .NET web service for querying the historical transaction
data residing in
Azure Table Storage. The .NET web service is accessible from a client app that was developed in-house and runs on the client computers in the
New York o ce.
The data in the table storage is 50 GB and is not expected to increase.
Existing Environment. Current Issues
The Contoso IT team discovers poor performance of the historical transaction query system, as the queries frequently cause table scans.
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 181/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Whenever possible, Azure managed services must be used to minimize management overhead.
Whenever possible, costs must be minimized.
Contoso identi es the following requirements for the payment processing system:
If a data center fails, ensure that the payment processing system remains available without any administrative intervention. The middle-tier and
the web front end must continue to operate without any additional con gurations.
Ensure that the number of compute nodes of the front-end and the middle tiers of the payment processing system can increase or decrease
automatically based on CPU utilization.
Ensure that each tier of the payment processing system is subject to a Service Level Agreement (SLA) of 99.99 percent availability.
Minimize the effort required to modify the middle-tier API and the back-end tier of the payment processing system.
Payment processing system must be able to use grouping and joining tables on encrypted columns.
Generate alerts when unauthorized login attempts occur on the middle-tier virtual machines.
Ensure that the payment processing system preserves its current compliance status.
Host the middle tier of the payment processing system on a virtual machine
Contoso identi es the following requirements for the historical transaction query system:
Minimize the use of on-premises infrastructure services.
Minimize the effort required to modify the .NET web service querying Azure Cosmos DB.
Minimize the frequency of table scans.
If a region fails, ensure that the historical transaction query system remains available without any administrative intervention.
Requirements. Information Security Requirements
The IT security team wants to ensure that identity management is performed by using Active Directory. Password hashes must be stored on-
premises only.
Access to all business-critical systems must rely on Active Directory credentials. Any suspicious authentication attempts must trigger a multi-
factor authentication prompt automatically.
Question
HOTSPOT -
You need to recommend a solution for the data store of the historical transaction query system.
What should you include in the recommendation? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 182/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Topic 8 - Testlet 3
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 183/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #1 Topic 8
Introductory Info
Case Study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
Overview -
Contoso, Ltd, is a US-based nancial services company that has a main o ce in New York and a branch o ce in San Francisco.
Existing Environment. Payment Processing System
Contoso hosts a business-critical payment processing system in its New York data center. The system has three tiers: a front-end web app, a
middle-tier web API, and a back-end data store implemented as a Microsoft SQL Server 2014 database. All servers run Windows Server 2012 R2.
The front-end and middle-tier components are hosted by using Microsoft Internet Information Services (IIS). The application code is written in C#
and ASP.NET.
The middle-tier API uses the Entity Framework to communicate to the SQL Server database. Maintenance of the database is performed by using
SQL Server
Agent jobs.
The database is currently 2 TB and is not expected to grow beyond 3 TB.
The payment processing system has the following compliance-related requirements:
Encrypt data in transit and at rest. Only the front-end and middle-tier components must be able to access the encryption keys that protect the data
store.
Keep backups of the data in two separate physical locations that are at least 200 miles apart and can be restored for up to seven years.
Support blocking inbound and outbound tra c based on the source IP address, the destination IP address, and the port number.
Collect Windows security logs from all the middle-tier servers and retain the logs for a period of seven years.
Inspect inbound and outbound tra c from the front-end tier by using highly available network appliances.
Only allow all access to all the tiers from the internal network of Contoso.
Tape backups are con gured by using an on-premises deployment of Microsoft System Center Data Protection Manager (DPM), and then shipped
offsite for long term storage.
Existing Environment. Historical Transaction Query System
Contoso recently migrated a business-critical workload to Azure. The workload contains a .NET web service for querying the historical transaction
data residing in
Azure Table Storage. The .NET web service is accessible from a client app that was developed in-house and runs on the client computers in the
New York o ce.
The data in the table storage is 50 GB and is not expected to increase.
Existing Environment. Current Issues
The Contoso IT team discovers poor performance of the historical transaction query system, as the queries frequently cause table scans.
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 184/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Whenever possible, Azure managed services must be used to minimize management overhead.
Whenever possible, costs must be minimized.
Contoso identi es the following requirements for the payment processing system:
If a data center fails, ensure that the payment processing system remains available without any administrative intervention. The middle-tier and
the web front end must continue to operate without any additional con gurations.
Ensure that the number of compute nodes of the front-end and the middle tiers of the payment processing system can increase or decrease
automatically based on CPU utilization.
Ensure that each tier of the payment processing system is subject to a Service Level Agreement (SLA) of 99.99 percent availability.
Minimize the effort required to modify the middle-tier API and the back-end tier of the payment processing system.
Payment processing system must be able to use grouping and joining tables on encrypted columns.
Generate alerts when unauthorized login attempts occur on the middle-tier virtual machines.
Ensure that the payment processing system preserves its current compliance status.
Host the middle tier of the payment processing system on a virtual machine
Contoso identi es the following requirements for the historical transaction query system:
Minimize the use of on-premises infrastructure services.
Minimize the effort required to modify the .NET web service querying Azure Cosmos DB.
Minimize the frequency of table scans.
If a region fails, ensure that the historical transaction query system remains available without any administrative intervention.
Requirements. Information Security Requirements
The IT security team wants to ensure that identity management is performed by using Active Directory. Password hashes must be stored on-
premises only.
Access to all business-critical systems must rely on Active Directory credentials. Any suspicious authentication attempts must trigger a multi-
factor authentication prompt automatically.
Question
You need to recommend a backup solution for the data store of the payment processing system.
What should you include in the recommendation?
Correct Answer: C
Reference:
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-long-term-backup-retention-con gure
Design Business Continuity
Backup policies
https://docs.microsoft.com/en-us/azure/backup/backup-architecture#sql-server-backup-types
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 185/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Retention for "monthly", "yearly" backup points is referred to as Long Term Retention (LTR)
upvoted 1 times
Topic 9 - Testlet 4
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 186/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #1 Topic 9
Introductory Info
Case Study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 187/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question
You need to recommend a solution to meet the database retention requirement.
What should you recommend?
Correct Answer: B
Design Infrastructure
In Azure SQL Database, you can configure a database with a long-term backup retention policy (LTR) to automatically retain the database
backups in separate Azure Blob storage containers for up to 10 years.
upvoted 4 times
Topic 10 - Testlet 5
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 188/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #1 Topic 10
Introductory Info
Case Study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
Overview -
Contoso, Ltd, is a US-based nancial services company that has a main o ce in New York and a branch o ce in San Francisco.
Existing Environment. Payment Processing System
Contoso hosts a business-critical payment processing system in its New York data center. The system has three tiers: a front-end web app, a
middle-tier web API, and a back-end data store implemented as a Microsoft SQL Server 2014 database. All servers run Windows Server 2012 R2.
The front-end and middle-tier components are hosted by using Microsoft Internet Information Services (IIS). The application code is written in C#
and ASP.NET.
The middle-tier API uses the Entity Framework to communicate to the SQL Server database. Maintenance of the database is performed by using
SQL Server
Agent jobs.
The database is currently 2 TB and is not expected to grow beyond 3 TB.
The payment processing system has the following compliance-related requirements:
Encrypt data in transit and at rest. Only the front-end and middle-tier components must be able to access the encryption keys that protect the data
store.
Keep backups of the data in two separate physical locations that are at least 200 miles apart and can be restored for up to seven years.
Support blocking inbound and outbound tra c based on the source IP address, the destination IP address, and the port number.
Collect Windows security logs from all the middle-tier servers and retain the logs for a period of seven years.
Inspect inbound and outbound tra c from the front-end tier by using highly available network appliances.
Only allow all access to all the tiers from the internal network of Contoso.
Tape backups are con gured by using an on-premises deployment of Microsoft System Center Data Protection Manager (DPM), and then shipped
offsite for long term storage.
Existing Environment. Historical Transaction Query System
Contoso recently migrated a business-critical workload to Azure. The workload contains a .NET web service for querying the historical transaction
data residing in
Azure Table Storage. The .NET web service is accessible from a client app that was developed in-house and runs on the client computers in the
New York o ce.
The data in the table storage is 50 GB and is not expected to increase.
Existing Environment. Current Issues
The Contoso IT team discovers poor performance of the historical transaction query system, as the queries frequently cause table scans.
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 189/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Whenever possible, Azure managed services must be used to minimize management overhead.
Whenever possible, costs must be minimized.
Contoso identi es the following requirements for the payment processing system:
If a data center fails, ensure that the payment processing system remains available without any administrative intervention. The middle-tier and
the web front end must continue to operate without any additional con gurations.
Ensure that the number of compute nodes of the front-end and the middle tiers of the payment processing system can increase or decrease
automatically based on CPU utilization.
Ensure that each tier of the payment processing system is subject to a Service Level Agreement (SLA) of 99.99 percent availabilty.
Minimize the effort required to modify the middle-tier API and the back-end tier of the payment processing system.
Payment processing system must be able to use grouping and joining tables on encrypted columns.
Generate alerts when unauthorized login attempts occur on the middle-tier virtual machines.
Ensure that the payment processing system preserves its current compliance status.
Host the middle tier of the payment processing system on a virtual machine
Contoso identi es the following requirements for the historical transaction query system:
Minimize the use of on-premises infrastructure services.
Minimize the effort required to modify the .NET web service querying Azure Cosmos DB.
Minimize the frequency of table scans.
If a region fails, ensure that the historical transaction query system remains available without any administrative intervention.
Requirements. Information Security Requirements
The IT security team wants to ensure that identity management is performed by using Active Directory. Password hashes must be stored on-
premises only.
Access to all business-critical systems must rely on Active Directory credentials. Any suspicious authentication attempts must trigger a multi-
factor authentication prompt automatically.
Question
You need to recommend a compute solution for the middle tier of the payment processing system.
What should you include in the recommendation?
B. availability sets
D. Function App
Correct Answer: A
Design Infrastructure
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 190/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
-The middle-tier and the web front end must continue to operate without any additional configurations
All leading to A
upvoted 7 times
Topic 11 - Testlet 6
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 191/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #1 Topic 11
Introductory Info
Case Study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 192/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question
You need to recommend a strategy for migrating the database content of WebApp1 to Azure.
What should you include in the recommendation?
B. Copy the BACPAC le that contains the Azure SQL database les to Azure Blob storage.
D. Copy the VHD that contains the Azure SQL database les to Azure Blob storage.
Correct Answer: D
Before you upload a Windows virtual machine (VM) from on-premises to Azure, you must prepare the virtual hard disk (VHD or VHDX).
Scenario: WebApp1 has a web tier that uses Microsoft Internet Information Services (IIS) and a database tier that runs Microsoft SQL Server
2016. The web tier and the database tier are deployed to virtual machines that run on Hyper-V.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/prepare-for-upload-vhd-image
https://docs.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/migrate-to-vm-from-sql-server
Choose a migration method
For best data transfer performance, migrate the database files into the Azure VM using a compressed backup file.
To minimize downtime during the database migration process, use either the AlwaysOn option or the transactional replication option.
upvoted 11 times
upvoted 7 times
Use when bringing your own SQL Server license, when migrating a database that you'll run on an older version of SQL Server, or when migrating
system and user databases together as part of the migration of database dependent on other user databases and/or system databases.
upvoted 2 times
To minimize downtime during the database migration process, use either the AlwaysOn option or the transactional replication option."
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 194/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #2 Topic 11
Introductory Info
Case Study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 195/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question
You need to recommend a noti cation solution for the IT Support distribution group.
What should you include in the recommendation?
D. an action group
Correct Answer: B
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-health-operations
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 196/197
2/5/2021 AZ-304 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #1 Topic 12
You plan to deploy an application named App1 that will run on ve Azure virtual machines. Additional virtual machines will be deployed later to run
App1.
You need to recommend a solution to meet the following requirements for the virtual machines that will run App1:
✑ Ensure that the virtual machines can authenticate to Azure Active Directory (Azure AD) to gain access to an Azure key vault, Azure Logic Apps
instances, and an Azure SQL database.
✑ Avoid assigning new roles and permissions for Azure services when you deploy additional virtual machines.
✑ Avoid storing secrets and certi cates on the virtual machines.
Which type of identity should you include in the recommendation?
Correct Answer: D
Managed identities for Azure resources is a feature of Azure Active Directory.
User-assigned managed identity can be shared. The same user-assigned managed identity can be associated with more than one Azure
resource.
Incorrect Answers:
B: System-assigned managed identity cannot be shared. It can only be associated with a single Azure resource.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview
Answer is correct...please check table with heading "The table below shows the differences between the two types of managed identities."
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-304/custom-view/ 197/197