exam questions

Exam AZ-305 All Questions

View all questions & answers for the AZ-305 exam

Exam AZ-305 topic 4 question 4 discussion

Actual exam question from Microsoft's AZ-305
Question #: 4
Topic #: 4
[All AZ-305 Questions]

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?

  • A. Azure Logic Apps in the Consumption plan
  • B. Azure Functions in the Premium plan
  • C. Azure Functions in the Consumption plan
  • D. Azure Logic Apps in the integrated service environment
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Eltooth
Highly Voted 2 years, 11 months ago
Selected Answer: B
Correct answer - B Consumption plan cannot access Virtual Network Integration features. Virtual network integration allows your function app to access resources inside a virtual network. https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale#networking-features
upvoted 56 times
sairaj9396
2 years, 6 months ago
Correct!
upvoted 2 times
...
...
RKMCT
Highly Voted 2 years, 10 months ago
B is correct Answer. Premium Plan get virtual network connectivity. https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale
upvoted 10 times
...
SeMo0o0o0o
Most Recent 3 weeks, 1 day ago
Selected Answer: B
B is correct
upvoted 1 times
...
cosmicT73
2 months, 2 weeks ago
I think Flex consumption plan also works as per microsoft :https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale#hosting-plans-comparison but since it is not an option here , so the answer is correct
upvoted 1 times
...
Sangam04
1 year, 2 months ago
Selected Answer: B
B. Azure Functions in the Premium plan is correct answer.
upvoted 2 times
...
NotMeAnyWay
1 year, 8 months ago
Selected Answer: B
B. Azure Functions in the Premium plan Azure Functions in the Premium plan is the best solution to meet the requirements. With the Premium plan, you can execute custom C# code in response to an event routed to Azure Event Grid. Additionally, the Premium plan allows you to access resources in a virtual network, such as the private IP address of a SQL Server instance running on an Azure virtual machine. Azure Functions in the Consumption plan does not support virtual network integration, which is necessary for accessing the private IP address of the SQL Server instance. Azure Logic Apps in both the Consumption plan and the integrated service environment are not ideal for executing custom C# code and may not be as cost-effective as Azure Functions in the Premium plan.
upvoted 8 times
...
VBK8579
1 year, 9 months ago
Selected Answer: B
Access to Private IP: Azure Functions in the Premium plan supports accessing resources within a virtual network, which includes accessing the private IP address of a Microsoft SQL Server instance running on an Azure virtual machine. Azure Functions in the Consumption plan do not support this.
upvoted 1 times
...
OPT_001122
1 year, 10 months ago
Selected Answer: B
B. Azure Functions in the Premium plan
upvoted 1 times
...
mtc9
2 years ago
Correct answer: B Logic App will not run your custom code, so function. Consumption plan doesn't support vnet integration, you need premium or application plan. Application plan is not enlisted in the answers, so Functions Premium.
upvoted 3 times
...
Gowind2
2 years, 2 months ago
Selected Answer: B
Implementation example here: https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-vnet
upvoted 1 times
...
kaushik
2 years, 3 months ago
was in my exam 31-08-2022
upvoted 4 times
...
AubinBakana
2 years, 4 months ago
Selected Answer: B
A premium Function App can access VM features such private IPs, not basic. Logic App is not an option, you can't write code directly to Logic App.
upvoted 1 times
...
Razvan123
2 years, 4 months ago
You can use a Private Link to access the DB. So Consumption plan also works.
upvoted 1 times
...
Atanu
2 years, 4 months ago
This question has been taken from AZ-304, Option C is correct
upvoted 1 times
...
mtc9
2 years, 4 months ago
You don;t need premium plan, you can also use app service plan to integrate with vnet, but this option was not enlisted in possible anwers, so premium plan is the only viable anwer here. Login apps are not implemented by C# code.
upvoted 1 times
...
SilverFox22
2 years, 4 months ago
Selected Answer: B
A Consumption plan cannot access Virtual Network Integration features (like accessing the Private IP address).
upvoted 2 times
...
bellorg
2 years, 5 months ago
B is correct
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...