Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Extend security controls to hybrid and multicloud servers by using Azure Arc

A worked example

Single answer

Contoso has connected 40 on-premises Linux servers in an isolated factory network to Azure Arc so that they appear as Azure resources for inventory and tagging. The security policy for these servers states:

  • The Azure Connected Machine agent must stay connected to Azure.
  • The servers must refuse every extension installation request, including requests from users who hold the Azure Connected Machine Resource Administrator role.
  • The control must be enforced locally on each server.

What should you do?

Choose one answer
Why

The requirements call for the agent to remain connected, for all extension installations to be refused, and for the control to live on the server. Setting the allow list to "Allow/None" with azcmagent creates a zero-extension mode that does exactly this, and because the agent enforces the list locally, even a user with the Resource Administrator role cannot override it. Monitor mode and a block list both still let some extensions install, and RBAC changes are a cloud-layer control that privileged users can alter.

  • Not correct: Replace all Resource Administrator assignments with the Azure Connected Machine Onboarding role. Azure RBAC operates at the cloud layer, where privileged users can modify role assignments; it is not a control enforced by the agent on the server itself.
  • Not correct: Run azcmagent config set extensions.blocklist "Microsoft.EnterpriseCloud.Monitoring/OMSAgentForLinux" on each server. This block list leaves requests for other extensions unaffected, so it fails the requirement to refuse every extension installation request.
  • Not correct: Run azcmagent config set config.mode monitor on each server. Monitor mode still permits the monitoring and security extensions on a list that Microsoft maintains, such as Azure Monitor Agent, so it does not refuse every installation request.
  • Correct: Run azcmagent config set extensions.allowlist "Allow/None" on each server. The "Allow/None" allow list value keeps the agent running and connected to Azure while refusing all extension installation requests, and the agent enforces it locally so Azure users cannot override it regardless of their permissions.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free