nerdexam
MicrosoftMicrosoft

AZ-400 · Question #177

AZ-400 Question #177: Real Exam Question with Answer & Explanation

To enable Visual Studio 2017 to remotely attach to an Azure Function, you must explicitly enable Remote Debugging in the Function App's Application Settings (Configuration) and specify the Visual Studio version as 2017. This is required because remote debugging is disabled by def

Submitted by luis.pe· Mar 6, 2026Develop Azure compute solutions - specifically configuring and troubleshooting Azure Functions, including enabling remote debugging capabilities via the Azure Portal for integration with Visual Studio development tooling (AZ-204 / Azure Developer Associate).

Question

SIMULATION You need to ensure that Microsoft Visual Studio 2017 can remotely attach to an Azure Function named fa- 11566895. To complete this task, sign in to the Microsoft Azure portal. Answer: Enable Remote Debugging Before we start a debugging session to our Azure Function app we need to enable the functionality. 1. Navigate in the Azure portal to your function app fa-11566895 2. Go to the "Application settings" 3. Under "Debugging" set Remote Debugging to On and set Remote Visual Studio version to 2017. Reference:

Options

  • taskEnsure that Microsoft Visual Studio 2017 can remotely attach to an Azure Function named fa-11566895.
  • prerequisitesSign in to the Microsoft Azure portal.

Explanation

To enable Visual Studio 2017 to remotely attach to an Azure Function, you must explicitly enable Remote Debugging in the Function App's Application Settings (Configuration) and specify the Visual Studio version as 2017. This is required because remote debugging is disabled by default for security reasons, and specifying the Visual Studio version ensures compatibility with the correct remote debugger protocol. Without both settings configured correctly, Visual Studio cannot establish a remote debugging session with the Azure Function host.

Topics

#Azure Functions#Remote Debugging#Visual Studio 2017#Application Configuration

Community Discussion

No community discussion yet for this question.

Full AZ-400 PracticeBrowse All AZ-400 Questions