AZ-203: Developing Solutions for Microsoft Azure ACTUAL Exam Questions and CORRECT Answers
0 view 0 purchase
Course
AZ-204 Developing
Institution
AZ-204 Developing
AZ-203: Developing Solutions for Microsoft
Azure ACTUAL Exam Questions and
CORRECT Answers
You are writing code to create and run an Azure Batch job.
You have created a pool of compute nodes.
You need to choose the right class and its method to submit a batch job to the Batch service.
Wh...
AZ-203: Developing Solutions for Microsoft
Azure ACTUAL Exam Questions and
CORRECT Answers
You are writing code to create and run an Azure Batch job.
You have created a pool of compute nodes.
You need to choose the right class and its method to submit a batch job to the Batch service.
Which method should you use?
A. JobOperations.EnableJobAsync(String,
IEnumerable<BatchClientBehavior>,CancellationToken)
B. JobOperations.CreateJob()
C. CloudJob.Enable(IEnumerable<BatchClientBehavior>)
D. JobOperations.EnableJob(String,IEnumerable<BatchClientBehavior>)
E. CloudJob.CommitAsync(IEnumerable<BatchClientBehavior>, CancellationToken)
Explanation:
A Batch job is a logical grouping of one or more tasks. A job includes settings common to the
tasks, such as priority and the pool to run tasks on. The app uses the
BatchClient.JobOperations.CreateJob method to create a job on your pool.
The Commit method submits the job to the Batch service. Initially the job has no tasks.
You are developing a solution that will be deployed to an Azure Kubernetes Service (AKS)
cluster. The solution will include a custom VNet, Azure Container Registry images, and an
Azure Storage account.
The solution must allow dynamic creation and management of all Azure resources within the
AKS cluster.
You need to configure an AKS cluster for use with the Azure APIs.
Solution: Enable the Azure Policy Add-on for Kubernetes to connect the Azure Policy service to
the GateKeeper admission controller for the AKS cluster. Apply a built-in policy to the cluster.
,Does the solution meet the goal?
A. Yes
B. No
Explanation: Instead create an AKS cluster that supports network policy. Create and apply a
network to allow traffic only from within a defined namespace.
References: https://docs.microsoft.com/en-us/azure/aks/use-network-policies - CORRECT
ANSWER - B
You are developing a solution that will be deployed to an Azure Kubernetes Service (AKS)
cluster. The solution will include a custom VNet, Azure Container Registry images, and an
Azure Storage account.
The solution must allow dynamic creation and management of all Azure resources within the
AKS cluster.
You need to configure an AKS cluster for use with the Azure APIs.
Solution: Create an AKS cluster that supports network policy.
Create and apply a network to allow traffic only from within a defined namespace.
Does the solution meet the goal?
A. Yes
B. No
Explanation: When you run modern, microservices-based applications in Kubernetes, you often
want to control which components can communicate with each other. The principle of least
privilege should be applied to how traffic can flow between pods in an Azure Kubernetes Service
(AKS) cluster. Let's say you likely want to block traffic directly to back-end applica -
CORRECT ANSWER - A
You are implementing an Azure API app that uses built-in authentication and authorization
functionality.
All app actions must be associated with information about the current user.
You need to retrieve the information about the current user. What are two ways to achieve the
goal?
, A. HTTP headers
B. environment variables
C. /.auth/me HTTP endpoint
D. /.auth/login endpoint
A: After App Service Authentication has been configured, users trying to access your API are
prompted to sign in with their organizational account that belongs to the same Azure AD as the
Azure AD application used to secure the API. After signing in, you are able to access the
information about the current user through the HttpContext.Current.User property.
C: While the server code has access to request headers, client code can access GET /.auth/me to
get the same access tokens (
References: https://docs.microsoft.com/en-us/azure/app-service/a - CORRECT ANSWER -
AC
You are a developer for a SaaS company that offers many web services.
All web services for the company must meet the following requirements:
-Use API Management to access the services
-Use OpenID Connect for authentication.
-Prevent anonymous usage
A recent security audit found that several web services can be called without any authentication.
Which API Management policy should you implement?
A. validate-jwt
B. jsonp
C. authentication-certificate
D. check-header
Explanation: Add the validate-jwt policy to validate the OAuth token for every incoming request.
Incorrect Answers:
B: The jsonp policy adds JSON with padding (JSONP) support to an operation or an API to
allow cross-domain calls from JavaScript browser-based clients. JSONP is a method used in
JavaScript programs to request data from a server in a different domain. JSONP bypasses the
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller MGRADES. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $11.49. You're not tied to anything after your purchase.