Microsoft Azure Administrator Associate AZ-104 Practice Question
Your company has an Azure virtual machine that needs to access an external partner's database server, which restricts access based on the client's external address. The virtual machine currently uses a dynamically assigned external address. You need to ensure the virtual machine consistently uses the same external address when connecting to the database server, even after it is restarted. What should you do?
You selected this option
Create an inbound network security rule for the virtual machine
You selected this option
Configure a service endpoint to connect the virtual machine to the database server
You selected this option
Assign a static public IP address to the network interface of the virtual machine
You selected this option
Assign a static private IP address to the virtual machine
Assigning a static public IP address to the network interface of the virtual machine ensures that it retains the same external IP address after restarts. This is necessary when external services, like the partner's database server, restrict access based on IP address. Assigning a static private IP address only affects the internal network and does not change the external address used for outbound connections. Creating an inbound network security rule modifies incoming traffic rules but doesn't affect the virtual machine's outbound IP address. Configuring a service endpoint is used to connect to Azure services over a virtual network and doesn't assign a static public IP address.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a static public IP address and why is it important for Azure virtual machines?
Open an interactive chat with Bash
How do I assign a static public IP address to an Azure virtual machine's network interface?
Open an interactive chat with Bash
What are the implications of using a dynamic public IP address for Azure VM connections?
Open an interactive chat with Bash
Microsoft Azure Administrator Associate AZ-104
Deploy and manage Azure compute resources
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Oh snap!
Loading...
Loading...
Loading...
Information Technology Package Join Premium for Full Access