This page was exported from Exam for engine [ http://blog.test4engine.com ] Export date:Mon Nov 18 5:25:05 2024 / +0000 GMT ___________________________________________________ Title: Microsoft AZ-204 Exam Questions (Updated 2023) 100% Real Question Answers [Q195-Q219] --------------------------------------------------- Microsoft AZ-204 Exam Questions (Updated 2023) 100% Real Question Answers Pass Microsoft AZ-204 Exam Quickly With Test4Engine The Microsoft AZ-204: Developing Solutions for Microsoft Azure exam is the main requirement for obtaining the Microsoft Certified: Azure Developer Associate certification. This test is designed for those individuals who participate in all the phases of Cloud development. Develop for Azure Storage: 10-15% Developing Solutions with Cosmos DB Storage: this topic area requires that the students have ability to choose the relevant API for solutions; implement the partitioning schemes; interact with data with the use of relevant SDK; set the relevant level of consistency for operations; develop Cosmos DB containers; implement service-side programming, which includes stored procedures, change feed notifications, and triggers. It also requires one's expertise in implementing scaling, which covers containers and partitions.Developing Solutions with Blob Storage: this requires skills in moving items within Blob storage in storage account and containers; setting and retrieving metadata and properties; interacting with data with the use of relevant SDK; implementing cold, hot, and archive storage; implementing data retention and archiving. Exam Details and Topics There is no information on the official website concerning the total number of questions included in the Microsoft AZ-204 exam. However, some information is known from the previous test takers. The learners can expect around 40-60 questions that are delivered in a multiple-choice format. The exam costs $165 in the United States but this sum can be different for other countries. If you are applying for the test and you are not living in the USA, you can check the official webpage for information related to the actual exam price. This certification test is available in English, Japanese, Simplified Chinese, and Korean. You can take it online as a proctored exam without leaving your home or office. Alternatively, you can also sit for the test at any Pearson VUE center.   Q195. You develop a web application.You need to register the application with an active Azure Active Directory (Azure AD) tenant.Which three actions should you perform in sequence? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order. ExplanationRegister a new application using the Azure portal* Sign in to the Azure portal using either a work or school account or a personal Microsoft account.* If your account gives you access to more than one tenant, select your account in the upper right corner.Set your portal session to the Azure AD tenant that you want.* Search for and select Azure Active Directory. Under Manage, select App registrations.* Select New registration. (Step 1)* In Register an application, enter a meaningful application name to display to users.* Specify who can use the application. Select the Azure AD instance. (Step 2)* Under Redirect URI (optional), select the type of app you’re building: Web or Public client (mobile & desktop). Then enter the redirect URI, or reply URL, for your application. (Step 3)* When finished, select Register.Q196. You need to access data from the user claim object in the e-commerce web app.What should you do first?  Write custom code to make a Microsoft Graph API call from the e-commerce web app.  Assign the Contributor RBAC role to the e-commerce web app by using the Resource Manager create role assignment API.  Update the e-commerce web app to read the HTTP request header values.  Using the Azure CLI, enable Cross-origin resource sharing (CORS) from the e-commerce checkout API to the e-commerce web app. Methods to Get User Identity and Claims in a .NET Azure Functions App include:ClaimsPrincipal from the Request ContextThe ClaimsPrincipal object is also available as part of the request context and can be extracted from the HttpRequest.HttpContext.User Claims from the Request Headers.App Service passes user claims to the app by using special request headers.Reference:https://levelup.gitconnected.com/four-alternative-methods-to-get-user-identity-and-claims-in-a-net-azurefunctions-app-df98c40424bbTopic 7, VanArsdel. LtdCurrent environmentRequirementsThe application components must meet the following requirements:Corporate website* Secure the website by using SSL* Minimize costs tor data storage and hosting.* Implement native GitHub workflows for continuous integration and continuous deployment (Cl/CO).* Distribute the website content globally for local use.* Implement monitoring by using Application Insights and availability web tests including SSL certificate validity and custom header value verification.* The website must have 99.95 percent uptime.Corporate websiteThe company provides a public website located at htlp://www. vanaisdelttd.com. The website consists of a React JavaScript user interface, HTML,CSS, image assets, and several APIs hosted in Azure functions.Retail store locations* Azure Functions must process data immediately when data is uploaded to Blob storage. Azure Functions must update Azure Cosmos D3 by using native SQL language queries.* Audit store sale transaction information nightly to validate data, process sates financials, and reconcile inventory.Delivery services* Store service telemetry data in Azure Cosmos DB by using an Azure Function. Data must include an item id. the delivery vehicle license plate, vehicle package capacity, and current vehicle location coordinates.* Store delivery driver profile information in Azure Active Directory Azure AD) by using an Azure Function called from the corporate website.Inventory servicesThe company has contracted a third-party to develop an API for inventory processing that requires access to a specific blob within the retail store storage account for three months to include read-only access to the data.Security* All Azure Functions must centralize management and distribution of configuration data for different environments and geographies, encrypted by using a company-provided RSA-HSM key.* Authentication and authorization must use Azure AD and services must use managed identities where possible.Retail Store Locations* You must perform a point-in-time restoration of the retail store location data due to an unexpected and accidental deletion of data.* Azure Cosmos DB queries from the Azure Function exhibit high Request Unit (RU) usage and contain multiple, complex queries that exhibit high point read latency for large items as the function app is scaling.Q197. Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution. Determine whether the solution meets the stated goals.You are developing and deploying several ASP.NET web applications to Azure App Service. You plan to save session state information and HTML output.You must use a storage mechanism with the following requirements:* Share session state across all ASP.NET web applications.* Support controlled, concurrent access to the same session state data for multiple readers and a single writer.* Save full HTTP responses for concurrent requests.You need to store the information.Proposed Solution: Enable Application Request Routing (ARR).Does the solution meet the goal?  Yes  No Instead deploy and configure Azure Cache for Redis. Update the web applications.Reference:https://docs.microsoft.com/en-us/azure/architecture/best-practices/caching#managing-concurrency-in-a-cacheQ198. A company is developing a solution that allows smart refrigerators to send temperature information to a central location. You have an existing Service Bus.The solution must receive and store messages until they can be processed. You create an Azure Service Bus instance by providing a name, pricing tier, subscription, resource group, and location.You need to complete the configuration.Which Azure CLI or PowerShell command should you run?  Option A  Option B  Option C  Option D A service bus instance has already been created (Step 2 below). Next is step 3, Create a Service Bus queue.Note:Steps:Step 1: # Create a resource groupresourceGroupName=”myResourceGroup”az group create –name $resourceGroupName –location eastusStep 2: # Create a Service Bus messaging namespace with a unique namenamespaceName=myNameSpace$RANDOMaz servicebus namespace create –resource-group $resourceGroupName –name $namespaceName –location eastus Step 3: # Create a Service Bus queue az servicebus queue create –resource-group $resourceGroupName –namespace-name $namespaceName –name BasicQueue Step 4: # Get the connection string for the namespace connectionString=$(az servicebus namespace authorization-rule keys list –resource-group $resourceGroupName –namespace-name $namespaceName –name RootManageSharedAccessKey –query primaryConnectionString –output tsv) References:https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-quickstart-cliQ199. You need to deploy the CheckUserContent Azure function. The solution must meet the security and cost requirements.Which hosting model should you use?  Consumption plan  Premium plan  App Service plan Q200. You need to retrieve all order line items from Order.json and sort the data alphabetically by the city.How should you complete the code? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. ExplanationGraphical user interface Description automatically generatedBox 1: orders oScenario: Order data is stored as nonrelational JSON and must be queried using SQL.Box 2:liBox 3: o.line_itemsBox 4: o.cityThe city field is in Order, not in the 2s.Q201. You are developing Azure WebJobs.You need to recommend a WebJob type for each scenario.Which WebJob type should you recommend? To answer, drag the appropriate WebJob types to the correct scenarios. Each WebJob 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. Q202. Your company is migrating applications to Azure. The IT department must allow internal developers to communicate with Microsoft support.The service agents of the IT department must only have view resources and create support ticket permissions to all subscriptions. A new custom role must be created by reusing a default role definition and changing the permissions.You need to create the custom role.To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. Reference:https://docs.microsoft.com/en-us/azure/role-based-access-control/custom-roles-powershellQ203. You need to configure Azure Service Bus to Event Grid integration.Which Azure Service Bus settings should you use? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. Reference:https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-to-event-grid-integration-conceptQ204. A company is developing a solution that allows smart refrigerators to send temperature information to a central location. You have an existing Service Bus.The solution must receive and store messages until they can be processed. You create an Azure Service Bus instance by providing a name, pricing tier, subscription, resource group, and location.You need to complete the configuration.Which Azure CLI or PowerShell command should you run?  Option A  Option B  Option C  Option D ExplanationA service bus instance has already been created (Step 2 below). Next is step 3, Create a Service Bus queue.Note:Steps:Step 1: # Create a resource groupresourceGroupName=”myResourceGroup”az group create –name $resourceGroupName –location eastusStep 2: # Create a Service Bus messaging namespace with a unique namenamespaceName=myNameSpace$RANDOMaz servicebus namespace create –resource-group $resourceGroupName –name $namespaceName –location eastus Step 3: # Create a Service Bus queue az servicebus queue create –resource-group $resourceGroupName –namespace-name $namespaceName–name BasicQueueStep 4: # Get the connection string for the namespaceconnectionString=$(az servicebus namespace authorization-rule keys list –resource-group$resourceGroupName –namespace-name $namespaceName –name RootManageSharedAccessKey –query primaryConnectionString –output tsv) References:https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-quickstart-cliQ205. You are developing a solution that will use Azure messaging services.You need to ensure that the solution uses a publish-subscribe model and eliminates the need for constant polling.What are two possible ways to achieve the goal? Each correct answer presents a complete solution.NOTE: Each correct selection is worth one point.  Service Bus  Event Hub  Event Grid  Queue ExplanationIt is strongly recommended to use available messaging products and services that support a publish-subscribe model, rather than building your own. In Azure, consider using Service Bus or Event Grid. Other technologies that can be used for pub/sub messaging include Redis, RabbitMQ, and Apache Kafka.Reference:https://docs.microsoft.com/en-us/azure/architecture/patterns/publisher-subscriberQ206. You need to ensure that network security policies are met.How should you configure network security? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. Reference:https://docs.microsoft.com/en-us/azure/web-application-firewall/ag/ag-overviewhttps://www.upguard.com/articles/10-tips-for-securing-your-nginx-deploymentQ207. You are developing an application to use Azure Blob storage. You have configured Azure Blob storage to include change feeds.A copy of your storage account must be created in another region. Data must be copied from the current storage account to the new storage account directly between the storage servers.You need to create a copy of the storage account in another region and copy the data.In which order should you perform the actions? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order. 1 – Export a Resource Manager template.2 – Create a new template deployment.3 – Modify the template by changing the storage account name and region.4 – Deploy the template to create a new storage account in the target region.5 – Use AZCopy to copy the data to the new storage account.Q208. You need to implement the Azure Function for delivery driver profile information.Which configurations should you use? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. Q209. 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 develop a software as a service (SaaS) offering to manage photographs. Users upload photos to a web service which then stores the photos in Azure Storage Blob storage. The storage account type is General-purpose V2.When photos are uploaded, they must be processed to produce and save a mobile-friendly version of the image. The process to produce a mobile-friendly version of the image must start in less than one minute.You need to design the process that starts the photo processing.Solution: Trigger the photo processing from Blob storage events.Does the solution meet the goal?  Yes  NO You need to catch the triggered event, so move the photo processing to an Azure Function triggered from the blob upload Note: Azure Storage events allow applications to react to events. Common Blob storage event scenarios include image or video processing, search indexing, or any file-oriented workflow.Events are pushed using Azure Event Grid to subscribers such as Azure Functions, Azure Logic Apps, or even to your own http listener.Note: Only storage accounts of kind StorageV2 (general purpose v2) and BlobStorage support event integration. Storage (general purpose v1) does not support integration with Event Grid.Reference:https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-event-overviewQ210. You are developing an ASP.NET Core app that includes feature flags which are managed by Azure App Configuration. You create an Azure App Configuration store named AppFeatureFlagStore that contains a feature flag named Export.You need to update the app to meet the following requirements:* Use the Export feature in the app without requiring a restart of the app.* Validate users before users are allowed access to secure resources.* Permit users to access secure resources.How should you complete the code segment? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. ExplanationBox 1: UseAuthenticationNeed to validate users before users are allowed access to secure resources.UseAuthentication adds the AuthenticationMiddleware to the specified IApplicationBuilder, which enables authentication capabilities.Box 2: UseAuthorizationNeed to permit users to access secure resources.UseAuthorization adds the AuthorizationMiddleware to the specified IApplicationBuilder, which enables authorization capabilities.Box 3: UseStaticFilesNeed to use the Export feature in the app without requiring a restart of the app.UseStaticFiles enables static file serving for the current request path Reference:https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.builder.iapplicationbuilder?view=aspnetcore-5.Q211. You are developing a web application that will use Azure Storage. Older data will be less frequently used than more recent data.You need to configure data storage for the application. You have the following requirements:Retain copies of data for five years.Minimize costs associated with storing data that is over one year old.Implement Zone Redundant Storage for application data.What should you do? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. Reference:https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiershttps://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy?toc=/azure/storage/blobs/toc.jsonQ212. You need to configure Azure Cosmos DB.Which settings should you use? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. Topic 7, VanArsdel. LtdCurrent environmentRequirementsThe application components must meet the following requirements:Corporate website* Secure the website by using SSL* Minimize costs tor data storage and hosting.* Implement native GitHub workflows for continuous integration and continuous deployment (Cl/CO).* Distribute the website content globally for local use.* Implement monitoring by using Application Insights and availability web tests including SSL certificate validity and custom header value verification.* The website must have 99.95 percent uptime.Corporate websiteThe company provides a public website located at htlp://www. vanaisdelttd.com. The website consists of a React JavaScript user interface, HTML,CSS, image assets, and several APIs hosted in Azure functions.Retail store locations* Azure Functions must process data immediately when data is uploaded to Blob storage. Azure Functions must update Azure Cosmos D3 by using native SQL language queries.* Audit store sale transaction information nightly to validate data, process sates financials, and reconcile inventory.Delivery services* Store service telemetry data in Azure Cosmos DB by using an Azure Function. Data must include an item id. the delivery vehicle license plate, vehicle package capacity, and current vehicle location coordinates.* Store delivery driver profile information in Azure Active Directory Azure AD) by using an Azure Function called from the corporate website.Inventory servicesThe company has contracted a third-party to develop an API for inventory processing that requires access to a specific blob within the retail store storage account for three months to include read-only access to the data.Security* All Azure Functions must centralize management and distribution of configuration data for different environments and geographies, encrypted by using a company-provided RSA-HSM key.* Authentication and authorization must use Azure AD and services must use managed identities where possible.Retail Store Locations* You must perform a point-in-time restoration of the retail store location data due to an unexpected and accidental deletion of data.* Azure Cosmos DB queries from the Azure Function exhibit high Request Unit (RU) usage and contain multiple, complex queries that exhibit high point read latency for large items as the function app is scaling.Q213. You are developing an Azure App Service REST API.The API must be called by an Azure App Service web app. The API must retrieve and update user profile information stored in Azure Active Directory (Azure AD).You need to configure the API to make the updates.Which two tools should you use? Each correct answer presents part of the solution.NOTE: Each correct selection is worth one point.  Microsoft Graph API  Microsoft Authentication Library (MSAL)  Azure API Management  Microsoft Azure Security Center  Microsoft Azure Key Vault SDK ExplanationA: You can use the Azure AD REST APIs in Microsoft Graph to create unique workflows between Azure AD resources and third-party services.Enterprise developers use Microsoft Graph to integrate Azure AD identity management and other services to automate administrative workflows, such as employee onboarding (and termination), profile maintenance, license deployment, and more.C: API Management (APIM) is a way to create consistent and modern API gateways for existing back-end services.API Management helps organizations publish APIs to external, partner, and internal developers to unlock the potential of their data and services.Reference:https://docs.microsoft.com/en-us/graph/azuread-identity-access-management-concept-overviewQ214. You need to ensure disaster recovery requirements are met.What code should you add at line PC16?To answer, drag the appropriate code fragments to the correct locations. Each code fragment 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. Reference:https://docs.microsoft.com/en-us/azure/storage/common/storage-use-data-movement-libraryhttps://docs.microsoft.com/en-us/dotnet/api/microsoft.windowsazure.storage.datamovement.directorytransfercontext.shouldtransfercallbackasync?view=azure-dotnetQ215. You have an Azure Batch project that processes and converts files and stores the files in Azure storage. You are developing a function to start the batch job.You add the following parameters to the function.You must ensure that converted files are placed in the container referenced by the outputContainerSasUrl parameter. Files which fail to convert are places in the container referenced by the failedContainerSasUrl parameter.You need to ensure the files are correctly processed.How should you complete the code segment? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. ExplanationBox 1: CreateJobBox 2: TaskSuccessTaskSuccess: Upload the file(s) only after the task process exits with an exit code of 0.Incorrect: TaskCompletion: Upload the file(s) after the task process exits, no matter what the exit code was.Box 3: TaskFailureTaskFailure:Upload the file(s) only after the task process exits with a nonzero exit code.Box 4: OutputFilesTo specify output files for a task, create a collection of OutputFile objects and assign it to the CloudTask.OutputFiles property when you create the task.References:https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.batch.protocol.models.outputfileuploadconditionhttps://docs.microsoft.com/en-us/azure/batch/batch-task-output-filesQ216. You are implementing a software as a service (SaaS) ASP.NET Core web service that will run as an Azure Web App. The web service will use an on-premises SQL Server database for storage. The web service also includes a WebJob that processes data updates. Four customers will use the web service.Each instance of the WebJob processes data for a single customer and must run as a singleton instance.Each deployment must be tested by using deployment slots prior to serving production data.Azure costs must be minimized.Azure resources must be located in an isolated network.You need to configure the App Service plan for the Web App.How should you configure the App Service plan? To answer, select the appropriate settings in the answer area.NOTE: Each correct selection is worth one point. Reference:https://azure.microsoft.com/sv-se/blog/announcing-app-service-isolated-more-power-scale-and-ease-of-use/Q217. You must ensure that the external party cannot access the data in the SSN column of the Person table.Will each protection method meet the requirement? To answer, drag the appropriate responses to the correct protection methods. Each response 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. ExplanationBox 1: YesYou can configure Always Encrypted for individual database columns containing your sensitive data. When setting up encryption for a column, you specify the information about the encryption algorithm and cryptographic keys used to protect the data in the column.Box 2: NoBox 3: YesIn SQL Database, the VIEW permissions are not granted by default to the public fixed database role. This enables certain existing, legacy tools (using older versions of DacFx) to work properly. Consequently, to work with encrypted columns (even if not decrypting them) a database administrator must explicitly grant the two VIEW permissions.Box 4: NoAll cryptographic keys are stored in an Azure Key Vault.References:https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-database-engineQ218. You have an application that uses Azure Blob storage.You need to update the metadata of the blobs.Which three methods should you use to develop the solution? To answer, move the appropriate methods from the list of methods to the answer area and arrange them in the correct order. Reference:https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-properties-metadataQ219. You are developing a ticket reservation system for an airline.The storage solution for the application must meet the following requirements:Ensure at least 99.99% availability and provide low latency.Accept reservations event when localized network outages or other unforeseen failures occur.Process reservations in the exact sequence as reservations are submitted to minimize overbooking or selling the same seat to multiple travelers.Allow simultaneous and out-of-order reservations with a maximum five-second tolerance window.You provision a resource group named airlineResourceGroup in the Azure South-Central US region.You need to provision a SQL SPI Cosmos DB account to support the app.How should you complete the Azure CLI commands? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point.  Loading … Real Microsoft AZ-204 Exam Questions [Updated 2023]: https://www.test4engine.com/AZ-204_exam-latest-braindumps.html --------------------------------------------------- Images: https://blog.test4engine.com/wp-content/plugins/watu/loading.gif https://blog.test4engine.com/wp-content/plugins/watu/loading.gif --------------------------------------------------- --------------------------------------------------- Post date: 2023-02-11 10:30:57 Post date GMT: 2023-02-11 10:30:57 Post modified date: 2023-02-11 10:30:57 Post modified date GMT: 2023-02-11 10:30:57