0
0
Azurecloud~5 mins

Azure SQL firewall rules - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the purpose of Azure SQL firewall rules?
Azure SQL firewall rules control which IP addresses can connect to your Azure SQL Database, helping to protect it from unauthorized access.
Click to reveal answer
beginner
How do you allow a specific IP address to access an Azure SQL Database?
You create a firewall rule that specifies the start and end IP address as the same IP, allowing that single IP to connect.
Click to reveal answer
intermediate
What is the difference between server-level and database-level firewall rules in Azure SQL?
Server-level rules apply to all databases on the server, while database-level rules apply only to a specific database.
Click to reveal answer
intermediate
Can Azure services access Azure SQL Database without adding their IP to the firewall rules?
Yes, if you enable the option 'Allow Azure services and resources to access this server', Azure services can connect without specific IP rules.
Click to reveal answer
beginner
What happens if no firewall rules are configured on an Azure SQL server?
No external IP addresses can connect to the Azure SQL Database, effectively blocking all access except from within Azure if allowed.
Click to reveal answer
What does an Azure SQL firewall rule control?
AThe database schema
BThe size of the database
CThe backup schedule
DWhich IP addresses can connect to the database
How do you allow all Azure services to access your Azure SQL server?
AEnable 'Allow Azure services and resources to access this server' option
BAdd 0.0.0.0 as a firewall rule
CCreate a database-level firewall rule
DUse a VPN connection
What is the range of IP addresses you can specify in a firewall rule?
AStart IP and End IP defining a range
BOnly a single IP address
COnly private IP addresses
DOnly public IP addresses from your local network
Where do server-level firewall rules apply?
AOnly to the master database
BOnly to one database
CTo all databases on the server
DOnly to Azure services
If you want to block all external access to your Azure SQL Database, what should you do?
AAdd a firewall rule with IP 0.0.0.0
BDo not configure any firewall rules
CEnable Azure services access
DCreate a database-level firewall rule
Explain how Azure SQL firewall rules protect your database and how you configure them.
Think about who can connect and how you specify allowed IPs.
You got /4 concepts.
    Describe the difference between server-level and database-level firewall rules in Azure SQL.
    Consider which databases are affected by each rule type.
    You got /3 concepts.