Free Microsoft AZ-303 Exam Actual Questions

The questions for AZ-303 were last updated On Nov 24, 2024

Question No. 1

You have 10 Azure virtual machines on a subnet named Subnet1. Subnet1 is on a virtual network named VNet1.

You plan to deploy a public Azure Standard Load Balancer named LB1 to the same Azure region as the 10 virtual machines.

You need to ensure that traffic from all the virtual machines to the internet flows through LB1. The solution must prevent the virtual machines from being accessible on the internet.

Which three actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Show Answer Hide Answer
Question No. 2

You have an Azure subscription that contains 20 virtual machines. The virtual machines require authenticated access to several Azure resources.

You need to ensure that the virtual machines can authenticate by using Azure Active Directory (Azure AD).

Solution: You create and configure an app registration in the Azure AD tenant.

Does this meet the goal?

Show Answer Hide Answer
Correct Answer: A

Question No. 3

Note: This question is part of series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You have a server named Server1 that runs Windows Server 2019. Server1 is a container host.

You are creating a Dockerfile to build a container image.

You need to add a file named File1.txt from Server1 to a folder named C:\Folder1 in the container image.

Solution: You add the following line to the Dockerfile.

COPY File1.txt C:/Folder1/

You then build the container image.

Does this meet the goal?

Show Answer Hide Answer
Correct Answer: B

Copy is the correct command to copy a file to the container image but the root directory is specified as '/' and not as 'C:/'.


https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#add-or-copy

https://docs.docker.com/engine/reference/builder/

Question No. 4

Your company has an Azure subscription.

You enable multi-factor authentication (MFA) for all users.

The company's help desk reports an increase in calls from users who receive MFA requests while they work from the company's main office.

You need to prevent the users from receiving MFA requests when they sign in from the main office.

What should you do?

Show Answer Hide Answer
Correct Answer: B

The first thing you may want to do, before enabling Multi-Factor Authentication for any users, is to consider configuring some of the available settings. One of the most important features is a trusted IPs list. This will allow you to whitelist a range of IPs for your network. This way, when users are in the office, they will not get prompted with MFA, and when they take their devices elsewhere, they will. Here's how to do it:

Log in to your Azure Portal.

Navigate to Azure AD > Conditional Access > Named locations.

From the top toolbar select Configure MFA trusted IPs.


https://www.kraftkennedy.com/implementing-azure-multi-factor-authentication/

The Trusted IPs feature of Azure Multi-Factor Authentication bypasses multi-factor authentication prompts for users who sign in from a defined IP address range. You can set trusted IP ranges for your on-premises environments to when users are in one of those locations, there's no Azure Multi-Factor Authentication prompt.

Question No. 5

Your network contains an on-premises Active Directory domain named contoso.com. The domain contains the users shown in the following table.

You plan to install Azure AD Connect and enable SSO.

You need to specify which user to use to enable SSO. The solution must use the principle of least privilege.

Which user should you specify?

Show Answer Hide Answer
Correct Answer: B

You need to have domain administrator credentials for each Active Directory forest that:

You synchronize to Azure AD through Azure AD Connect.

Contains users you want to enable for Seamless SSO.

Note: The domain administrator credentials are not stored in Azure AD Connect or in Azure AD. They're used only to enable Seamless SSO through Azure AD Connect.


https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-sso-quick-start