AZ-202 Exam Questions - Online Test


AZ-202 Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

certleader.com

We provide AZ-202 Exam Dumps which are the best for clearing AZ-202 test, and to get certified by Microsoft Microsoft Azure Developer Certification Transition. The AZ-202 Free Practice Questions covers all the knowledge points of the real AZ-202 exam. Crack your Microsoft AZ-202 Exam with latest dumps, guaranteed!

Online Microsoft AZ-202 free dumps demo Below:

NEW QUESTION 1
Note: In this section you will see one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem, and you must determine whether the solution meets the stated goals. More than one solution might solve the problem. It is also possible that none of the solutions solve the problem.
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.
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 need to meet the LabelMaker application security requirement. Solution: Create a RoleBinding and assign it to the Azure AD account. Does the solution meet the goal?

  • A. Yes
  • B. No

Answer: B

Explanation: Scenario: The LabelMaker applications must be secured by using an AAD account that has full access to all namespaces of the Azure Kubernetes Service (AKS) cluster.
Permissions can be granted within a namespace with a RoleBinding, or cluster-wide with a ClusterRoleBinding.
References:
https://kubernetes.io/docs/reference/access-authn-authz/rbac/

NEW QUESTION 2
You are implementing an order processing system. A point of sale application publishes orders to topics in an Azure Service Bus queue. The label property for the topic includes the following data:
AZ-202 dumps exhibit
The system has the following requirements for subscriptions:
AZ-202 dumps exhibit
You need to implement filtering and maximize throughput while evaluating filters.
Which filter types should you implement? To answer, drag the appropriate filter types to the correct subscriptions. Each filter 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.
AZ-202 dumps exhibit

    Answer:

    Explanation: FutureOrders: SQLFilter HighPriortyOrders: CorrelationFilter CorrelationID only InternationalOrders: SQLFilter
    Country NOT USA requires an SQL Filter
    HighQuantityOrders: SQLFilter
    Need to use relational operators so an SQL Filter is needed. AllOrders: No Filter
    SQL Filter: SQL Filters - A SqlFilter holds a SQL-like conditional expression that is evaluated in the broker against the arriving messages' user-defined properties and system properties. All system properties must be prefixed with sys. in the conditional expression. The SQL-language subset for filter conditions tests for the existence of properties (EXISTS), as well as for null-values (IS NULL), logical NOT/AND/OR, relational operators, simple numeric arithmetic, and simple text pattern matching with LIKE.
    Correlation Filters - A CorrelationFilter holds a set of conditions that are matched against one or more of an arriving message's user and system properties. A common use is to match against the CorrelationId property, but the application can also choose to match against ContentType, Label, MessageId, ReplyTo, ReplyToSessionId, SessionId, To, and any user-defined properties. A match exists when an arriving message's value for a property is equal to the value specified in the correlation filter. For string expressions, the comparison is case-sensitive. When specifying multiple match properties, the filter combines them as a logical AND condition, meaning for the filter to match, all conditions must match.
    Boolean filters - The TrueFilter and FalseFilter either cause all arriving messages (true) or none of the arriving messages (false) to be selected for the subscription.
    References:
    https://docs.microsoft.com/en-us/azure/service-bus-messaging/topic-filters

    NEW QUESTION 3
    You maintain an existing Azure SQL Database instance. Management of the database is performed by an external party. All cryptographic keys are stored in an Azure Key Vault.
    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.
    AZ-202 dumps exhibit

      Answer:

      Explanation: AZ-202 dumps exhibit

      NEW QUESTION 4
      You develop a microservice solution for a company.
      The solution uses the Actor design pattern for all services including mappings, GPS, and communication. The mapping and communication systems must persist state on disk. The GPS system must persist state
      in-memory. All Actors must have a service replica count of three.
      You need to implement code for the GPS system.
      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.
      AZ-202 dumps exhibit

        Answer:

        Explanation: Example:
        The state manager retrieval methods return a reference to an object in local memory. Modifying this object in local memory alone does not cause it to be saved durably. When an object is retrieved from the state manager and modified, it must be reinserted into the state manager to be saved durably.
        [StatePersistence(StatePersistence.Persisted)] class MyActor : Actor, IMyActor
        {
        public MyActor(ActorService actorService, ActorId actorId) base(actorService, actorId)
        {
        }
        public Task SetCountAsync(int value)
        {
        return this.StateManager.SetStateAsync<int>("MyState", value);
        }
        }
        References:
        https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-reliable-actors-access-save-remove-state

        NEW QUESTION 5
        You manage a web application that is hosted in multiple Azure regions. The application uses Azure Append blobs to store audit logs. Each hosted instance of the application maintains its own audit logs.
        You have a central Append blob that serves as a master record of all audit logs. The master audit log is updated on a schedule to include all local copies from each region. The local copies are then discarded.
        You need to append each of the local audit logs to the master audit log. Which method should you use?

        • A. Start-AzureStorageBlobCopy PowerShell command
        • B. Append Block operation of the Azure Storage Services REST API
        • C. Copy Blob operation of the Azure Storage Services REST API
        • D. AzCopy tool with the /BlobType:Append parameter

        Answer: B

        NEW QUESTION 6
        You develop software solutions for a media services company. You plan to analyze a collection of video files by using Azure Video Indexer.
        You need to only generate audio transcripts from the files, as quickly as possible, without incurring extra costs.
        To which value should you set the Azure Video Indexer streammgPreset option?

        • A. Default
        • B. SingleBitrate
        • C. NoStreaming
        • D. AdaptiveBitrate

        Answer: C

        NEW QUESTION 7
        You are developing an ASP.NET Core Web API web service. The web service uses Azure Application
        Insights for all telemetry and dependency tracking. The web service reads and writes data to a database other than Microsoft SQL Server.
        You need to ensure that dependency tracking works for calls to the third-party database.
        Which two Dependency Telemetry properties should you store in the database? Each correct answer presents part of the solution.
        NOTE: Each correct selection is worth one point.

        • A. Telemetry.Context.Operation.Id
        • B. Tetemetry.Context.Cloud.Rolelnstance
        • C. Telemetry.Id
        • D. Telemetry.ContextSession.Id
        • E. Telemetry.Name

        Answer: BC

        NEW QUESTION 8
        You need to resolve the delivery API error. What should you do?

        • A. Implement simple retry by using the EnableRetryOnFailure feature of Entity Framework.
        • B. Implement exponential backoff by using the EnableRetryOnFailure feature of Entity Framework.
        • C. Implement the Circuit Breaker pattern by using the EnableRetryOnFailure feature of Entity Framework.
        • D. Invoke accustom execution strategy in Entity Framework.

        Answer: A

        Explanation: Scenario: The Delivery API intermittently throws the following exception:
        AZ-202 dumps exhibit
        A useful method to get rid of this error is to use RETRY LOGIC of Entity Framework 1.1.0 services.AddDbContext<DbContext>(options => options.UseSqlServer('yourconnectionstring',
        …sqlServerOptionsAction: sqlOptions =>
        …{
        ……sqlOptions.EnableRetryOnFailure(
        ………maxRetryCount: 5,
        ………maxRetryDelay: TimeSpan.FromSeconds(30),
        ………errorNumbersToAdd: new List<int>() { 19 });
        …}));
        In Retry logic, error 19 is not included. So you have to pass the error code 19 to set retry logic for error code 19.
        References:
        https://stackoverflow.com/questions/47558062/error-19-physical-connection-error/47559967

        NEW QUESTION 9
        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 need to meet the vendor notification requirement.
        Solution: Update the Delivery API to send emails by using a cloud -based email service. Does the solution meet the goal?

        • A. Yes
        • B. No

        Answer: B

        Explanation: Topic 3, Mix Questions
        In this section, you will see one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem, and you must determine whether the solution meets the stated goals. More than one solution might solve the problem. It is also possible that none of the solutions solve the problem.
        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.

        NEW QUESTION 10
        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 develop an entertainment application where users can buy and trade virtual real estate. The application must scale to support thousands of users.
        The current architecture includes five Azure Virtual Machines (VM) that connect to an Azure SQL Database for account information and Azure Table Storage for backend services. A user interacts with these components in the cloud at any given time
        - Routing Service – Routes a request to the appropriate service and must not persist data across sessions
        - Account Service – Stores and manages all account information and authentication and requires data to persist across sessions.
        - User Service – Stores and manages all user information and requires data to persist across sessions.
        - Housing Network Service – Stores and manages the current real-estate economy and requires data to persist across sessions.
        - Trade Service – Stores and manages virtual trade between accounts and requires data to persist across sessions.
        Due to volatile user traffic, a microservices solution is selected for scale agility.
        You need to migrate to a distributed microservices solution on Azure Service Fabric. Solution: Deploy a Windows container to Azure Service Fabric for each component. Does the solution meet the goal?

        • A. YES
        • B. NO

        Answer: B

        Explanation: We should use stateful services when we want data to persist, and stateless service when data must not persist. https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-reliable-services-introduction References:
        https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-reliable-services-introduction

        NEW QUESTION 11
        A company has a series of mobile games on Azure with an online community. The moderators need to filter offens.ve text, and additional .terns such as
        The company wants to implement a solution using Azure Content Moderation. You need to select API or Azure service options for the solution.
        Which two APIs or Azure service should you use? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

        • A. Azure Bot Service
        • B. Custom Term List API
        • C. Language Understanding Intelligence System (LUIS) API
        • D. Text Moderation API
        • E. Text Analytics API

        Answer: CD

        NEW QUESTION 12
        A company is implementing a publish- subscribe (Pub/Sub) messaging component by using Azure Service Bus. You are developing the first subscription application.
        In the Azure portal you are see that messages are being sent to the subscription for each topic. You create a subscription client object by supplying the correct details, but the subscription application is still not consuming the messages.
        You need to complete the source code of the subscription client. What should you do?
        A)
        AZ-202 dumps exhibit
        B)
        AZ-202 dumps exhibit
        C)
        AZ-202 dumps exhibit
        D)
        AZ-202 dumps exhibit

        • A. Option A
        • B. Option B
        • C. Option C
        • D. Option D

        Answer: A

        NEW QUESTION 13
        You are developing an IoT solution. The solution requires bidirectional communication between a .NET application and Azure IoT Hub.
        You need to obtain connection information for a single test device.
        Which three commands should you use to develop the solution? To answer, move the appropriate commands from the list of commands to the answer area and arrange them in the correct order.
        NOTE: Each correct selection is worth one point.
        AZ-202 dumps exhibit

          Answer:

          Explanation: Run the following command in the command-line environment where you are using the Azure CLI to install the IoT extension:
          Step 1: az extension add
          --name <iot-extension-name>
          Run the following command in the command-line environment where you are using the Azure CLI to install the IoT extension:
          az extension add --name azure-cli-iot-ext Step 2: az iot hub device-identity create
          --hub-name <iot-hub-name>
          --device-id <device-id>
          Create a new device in the IoT Hub “DemoHub”
          Command: az iot hub device-identity create --hub-name DemoHub --device-id testDevice Step 3: az iot hub device-identity show-connection-string
          --hub-name { iot-hub-name }
          --device-id <device-id> References:
          https://github.com/MicrosoftDocs/azure-docs/blob/master/includes/iot-hub-get-started-create-device-identity.md

          NEW QUESTION 14
          A company uses Azure SQL Database to store data for an app. The data includes sensitive information.
          You need to implement measures that allow only members of the managers group to see sensitive information. Which two actions should you perform? Each correct answer presents part of the solution.
          NOTE: Each correct selection is worth one point.
          AZ-202 dumps exhibit

          • A. Option A
          • B. Option B
          • C. Option C
          • D. Option D
          • E. Option E

          Answer: BD

          Explanation: Dynamic data masking helps prevent unauthorized access to sensitive data by enabling customers to designate how much of the sensitive data to reveal with minimal impact on the application layer.
          SQL users excluded from masking - A set of SQL users or AAD identities that get unmasked data in the SQL query results.
          Note: The New-AzureRmSqlDatabaseDataMaskingRule cmdlet creates a data masking rule for an Azure SQL database.
          References:
          https://docs.microsoft.com/en-us/powershell/module/azurerm.sql/new-azurermsqldatabasedatamaskingrule?view

          NEW QUESTION 15
          You are configuring Azure Redis Cache for a production web application.
          The web application and Azure Redis Cache must be able to withstand a catastrophic t configuration changes. You create a storage account to persist cache data if needed
          You need to implement a solution. What should you do?

          • A. Run the Set-AzureRmRedisCache Azure PowerShell command with the size and sku parameters and specify a connection string to the storage account.
          • B. In the Azure portal, enable Redis DataBase (RDB) persistence and configure persistence settings to save cache data tyo the storage account.
          • C. In the Azure portal, enable Append Only File (AOF) persistence and configure persistence sttings to save cache data to the storage account.
          • D. Run Reset-AzureRmRedisCache Azure PowerShell command with the ShardID parameter and specify a connection string to the storage account.

          Answer: C

          NEW QUESTION 16
          You are developing an IoT solution.
          The solution requires bidirectional communication between a client .NET application and Azure IoT hub. A
          .N ET back-end application will connect to the IoT Hub to process information.
          You need to collect the values required for the back-end application to connect with the newly created IoT Hub.
          How should you complete the commands? To answer, select the appropriate options in the answer area.
          AZ-202 dumps exhibit

            Answer:

            Explanation: Box 1: show
            Event Hub-compatible endpoint
            az iot hub show --query properties.eventHubEndpoints.events.endpoint --name {your IoT Hub name} Box 2: show
            Event Hub-compatible name
            az iot hub show --query properties.eventHubEndpoints.events.path --name {your IoT Hub name}
            Box 3: show
            az iot hub policy show --name iothubowner --query primaryKey --hub-name {your IoT Hub name} Box 4: primaryKey
            References:
            https://github.com/Azure-Samples/azure-iot-samples-csharp/blob/master/iot-hub/Quickstarts/read-d2c-messages

            NEW QUESTION 17
            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 need to meet the vendor notification requirement.
            Solution: Configure notifications in the Azure API Management instance. Does the solution meet the goal?

            • A. Yes
            • B. No

            Answer: B

            Explanation: Use a custom outbound Azure API Management policy. Scenario:
            If a vendor is nearing the number of calls or bandwidth limit, the API must trigger email notifications to the vendor.
            (API usage must not exceed 5,000 calls and 50,000 kilobytes of bandwidth per hour per vendor.) References:
            https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-policies

            NEW QUESTION 18
            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 need to ensure that the SecurityPin security requirements are met.
            Solution: Enable Always Encrypted for the SecurityPin column using a certificate contained in Azure Key Vault and grant the WebAppIdentity service principal access to the certificate.
            Does the solution meet the goal?

            • A. Yes
            • B. No

            Answer: A

            NEW QUESTION 19
            You need to troubleshoot the order workflow.
            What should you do? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

            • A. Review the run history.
            • B. Review the trigger history.
            • C. Review the API connections.
            • D. Review the activity log.

            Answer: BD

            Explanation: Scenario: The order workflow fails to run upon initial deployment to Azure.
            Deployment errors arise from conditions that occur during the deployment process. They appear in the activity log.
            References:
            https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-audit

            NEW QUESTION 20
            You are developing a software solution for an autonomous transportation system. The solution fleets of vehicles.
            You need to create compute nodes for the solution on Azure Batch. What should you do?

            • A. In Azure CLI, run the command: az batch pool create
            • B. In a .NET method, call the method: BatchClient.PoolOperations.CreateJob
            • C. In Azure CU, run the command: az batch account create
            • D. In the Azure portal, add a Job to a Batch account.

            Answer: C

            Explanation: You can create a pool of compute nodes using the az batch pool create command. The following example creates a pool named mypool of 2 size Standard_A1_v2 nodes running Ubuntu 16.04 LTS. The suggested node size offers a good balance of performance versus cost for this quick example.
            az batch pool create
            --id mypool --vm-size Standard_A1_v2
            --target-dedicated-nodes 2
            --image canonical:ubuntuserver:16.04-LTS
            --node-agent-sku-id "batch.node.ubuntu 16.04" References:
            https://docs.microsoft.com/en-us/azure/batch/quick-create-cli

            Thanks for reading the newest AZ-202 exam dumps! We recommend you to try the PREMIUM 2passeasy AZ-202 dumps in VCE and PDF here: https://www.2passeasy.com/dumps/AZ-202/ (150 Q&As Dumps)