Docsity

AZ-204: Developing Solutions for Microsoft Azure, Exams of Advanced Education

Toggle sidebar
bg1
1 / 58
AZ-204: Developing Solutions for
Microsoft Azure
1. Which of the following App Service plans supports only function
apps?
-Dedicated
-Isolated
-Consumption:
Consumption
-The
consumption
tier
is
only
available
to
function
apps.
It
scales
the
functions
dynamically
depending
on
workload.
2. Which of the following networking features of App Service can
be used to
control outbound network traffic?
-App-assigned address
-Hybrid Connections
-Service
endpoints:
Hybrid
Connections
-Hybrid Connections are an outbound network feature.
3. In which of the app configuration settings categories below would
you set the language and SDK version?
-Application settings
-Path mappings
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a

Partial preview of the text

Download AZ-204: Developing Solutions for Microsoft Azure and more Exams Advanced Education in PDF only on Docsity!

1 / 58

AZ-204: Developing Solutions for

Microsoft Azure

  1. Which of the following App Service plans supports only function apps?
  • Dedicated
  • Isolated -Consumption: Consumption -The consumption tier is only available to function apps. It scales the functions dynamically depending on workload.
  1. Which of the following networking features of App Service can be used to control outbound network traffic? -App-assigned address -Hybrid Connections -Service endpoints: Hybrid Connections -Hybrid Connections are an outbound network feature.
  2. In which of the app configuration settings categories below would you set the language and SDK version? -Application settings -Path mappings

2 / 58 -General settings: General settings -This category is used to configure stack, platform, debugging, and incoming client certificate settings.

  1. Which of the following types of application logging is supported on the Linux platform? -Web server logging -Failed request tracing -Deployment logging: Deployment logging -Deployment logging is supported on the Linux platform.
  2. Which of the following choices correctly lists the two parts of a feature flag? -Name, App Settings -Name, one or more filters -Feature manager, one or more filters: Name, one or more filters -Each feature flag has two parts: a name and a list of one or more filters that are used to evaluate if a feature's state is on.
  3. Which of these statements best describes autoscaling? -Autoscaling requires an administrator to actively monitor the workload on a system. -Autoscaling is a scale out/scale in solution. -Scaling up/scale down provides better availability than autoscaling.: Autoscaling is a scale out/scale in solution.
  • The system can scale out when specified resource metrics indicate increasing usage, and scale in when these metrics drop.

4 / 58

  • By default, new slots are given a routing rule of 0%.
  1. Some configuration elements follow the content across a swap (not slot specific), whereas other configuration elements stay in the same slot after a swap (slot specific). Which of the settings below are swapped? -Publishing endpoints -WebJobs content -WebJobs schedulers: WebJobs content
  • WebJobs content are swapped.
  1. Which of the following Azure Functions hosting plans is best when predictive scaling and costs are required? -Functions Premium Plan -App service plan -Consumption plan: App service plan -App service plans support setting autoscaling rules based on predictive usage.
  2. An organization wants to implement a serverless workflow to solve a busi- ness problem. One of the requirements is the solution needs to use a design- er-first (declarative) development model. Which of the choices below meets the requirements? -Azure Functions

5 / 58 -Azure Logic Apps -WebJobs: Azure Logic Apps

  • Azure Logic Apps enables serverless workloads and uses a designer-first (declarative) development model.
  1. Which of the following is required for a function to run?
  • Binding
  • Trigger -Both triggers and bindings: Trigger
  • A trigger defines how a function is invoked and a function must have exactly one trigger.
  1. Which of the following supports both the in and out direction settings?
  • Bindings
  • Trigger -Connection value: Bindings -Input and output bindings use in and out.
  1. Which of the following durable function types is used to read and update small pieces of state?
  • Orchestrator
  • Activity -Entity: Entity -Entity functions define operations for reading and updating small pieces of state.
  1. Which application pattern would you use for a durable function

7 / 58

  • Cool
  • Archive
  • Hot: Archive
  • Blobs in the archive tier must be rehydrated to either the hot or cool tier before it can be read or modified.
  1. Which of the following storage account types supports lifecycle policies? -General Purpose v -General Purpose v -FileStorage: General Purpose v
  • Azure Blob storage lifecycle management otters a rich, rule-based policy for General Purpose v2 and Blob storage accounts.
  1. Which of the following standard HTTP headers are supported for both con- tainers and blobs when setting properties by using REST? -Last-Modified -Content-Length -Origin: Last-Modified
  • Last-Modified is supported on both containers and blobs.
  1. Which of the following classes of the Azure Storage client library for .NET allows you to manipulate both Azure Storage containers and their blobs?
  • BlobClient

8 / 58

  • BlobContainerClient -BlobUriBuilder: BlobContainerClient -The BlobContainerClient can be used to manipulate both containers and blobs
  1. When setting up Azure Cosmos DB there are three account type options. Which of the account type options below is used to specify the number of RUs for an application on a per-second basis? -Provisioned throughput
  • Serverless

10 / 58 -A partition key has two components: partition key path and the partition key value.

11 / 58

  1. When defining a stored procedure in the Azure portal input parameters are always sent as what type to the stored procedure?
  • String
  • Integer -Boolean: String
  • When defining a stored procedure in Azure portal, input parameters are always sent as a string to the stored procedure.
  1. Which of the following would one use to validate properties of an item being created? -Pre-trigger -Post-trigger -User-defined function: Pre-trigger
  • Pre-triggers can be used to conform data before it's added to the container.
  1. Your development team is interested in writing Graph-based applications that take advantage of the Gremlin API. Which option would be ideal for that scenario? -Azure Cosmos DB -Azure SQL Database -Azure Databricks -Azure Database for PostgreSQL: Azure Cosmos DB -Azure Cosmos DB supports SQL, MongoDB, Cassandra, Tables, and Gremlin APIs.

13 / 58 provide for redundancy and

14 / 58 availability? -Load balancer -Availability zone -Availability set: Availability set

  • An availability set is a logical grouping of VMs Reason.
  1. What purpose does the outputs section of an Azure Resource Manager template serve? -Specify the resources to deploy. -Return values from the deployed resources -Define values that are reused in your templates.: Return values from the deployed resources -The "outputs" section returns values from the resource(s) that were deployed.
  2. Which Azure Resource Manager template deployment mode deletes re- sources in a resource group that aren't specified in the template?
  • Incremental
  • Complete -Both incremental and complete delete resources: Complete -Complete mode will delete resources not specified in an Azure Resource Manager template deployment.
  1. Which of the following Azure Container Registry support geo- replication to manage a single registry across multiple regions?

16 / 58

  • Standard -Premium: Premium -The premium tier adds geo-replication as a feature.
  1. Which of the methods below is recommended when deploying a multi-con- tainer group that includes only containers? -Azure Resource Management template -YAML file -az container creates command: YAML file -Due to the YAML format's more concise nature, a YAML file is recommended when your deployment includes only container instances.
  2. Which of the types of permissions supported by the Microsoft identity plat- form is used by apps that have a signed-in user present? -Delegated permissions -Application permissions -Both delegated and application permissions: Delegated permissions
  • Delegated permissions are used by apps that have a signed-in user present. The app is delegated with the permission to act as a signed-in user when it makes calls to the target resource.
  1. Which of the following app scenarios require code to handle Conditional -Access challenges? -Apps performing the device-code flow

17 / 58 -Apps performing the on-behalf-of flow

19 / 58 -Implement a user delegation SAS: Associate SAS tokens with a stored access policy.

20 / 58 -The most flexible and secure way to use a service or account SAS is to associate the SAS tokens with a stored access policy.

  1. Which HTTP method below is used to update a resource with new values?
  • POST
  • PATCH -PUT: PATCH -The PATCH method does update a resource with a new value.
  1. Which of the components of the Microsoft 365 platform is used to deliver data external to Azure into Microsoft Graph services and applications? -Microsoft Graph API -Microsoft Graph connectors -Microsoft Graph Data Connect: Microsoft Graph connectors
  • Microsoft Graph connectors work in the incoming direction. Connectors exist for many commonly used data sources such as Box, Google Drive, Jira, and Salesforce.
  1. Which of the following Microsoft Graph .NET SDK packages provides an au- thentication scenario-based wrapper of the Microsoft Authentication Library?
  • Microsoft.Graph
  • Microsoft.Graph.Core -Microsoft.Graph.Auth: Microsoft.Graph.Auth