Azure Security Engineer डोमेन 2: Networking को सुरक्षित करना
Microsoft Azure Security Engineer Associate (AZ-500) परीक्षा के Networking को सुरक्षित करना के लिए 48 मुफ़्त अभ्यास प्रश्न। पहले हर प्रश्न खुद हल करें, फिर सही विकल्प और व्याख्या के लिए "उत्तर दिखाएँ" खोलें।
Networking को सुरक्षित करना अभ्यास प्रश्न
-
प्रश्न 1. एक NSG में priority 100 वाला inbound rule TCP 3389 allow करता है और priority 200 वाला rule उसे deny करता है। RDP traffic का क्या होता है?
उत्तर दिखाएँ
उत्तर: B. Allow होता है, क्योंकि कम priority number पहले process होता है
NSG rules priority क्रम में, सबसे कम number पहले, process होते हैं और पहले match पर processing रुक जाती है।
-
प्रश्न 2. एक subnet के NSG में केवल default rules हैं। Peered VNet की एक VM port 22 पर subnet की VM से connect करती है। क्या होता है?
उत्तर दिखाएँ
उत्तर: D. Default AllowVnetInBound rule इसे allow करता है
VirtualNetwork service tag VNet, peered VNets और connected on-premises ranges को cover करता है, इसलिए default rule इसे allow करता है।
-
प्रश्न 3. NSG rules को IP ranges सूचीबद्ध किए बिना केवल West Europe के Azure SQL तक SQL traffic allow करना है। Destination के रूप में क्या उपयोग करना चाहिए?
उत्तर दिखाएँ
उत्तर: B. Sql.WestEurope service tag
Service tags किसी service के Microsoft-managed IP prefixes दर्शाते हैं, वैकल्पिक रूप से region के अनुसार।
-
प्रश्न 4. Web VMs और app VMs एक ही subnet में हैं। केवल web VMs को port 8443 पर app VMs तक पहुँचना चाहिए। सबसे साफ़ NSG design क्या है?
उत्तर दिखाएँ
उत्तर: D. Web और app के application security groups को source और destination के रूप में
ASGs NICs को role के अनुसार समूहित करते हैं, इसलिए VMs जुड़ने पर भी rules मान्य रहते हैं।
-
प्रश्न 5. एक engineer को जानना है कि NSG किसी VM से विशेष IP और port तक traffic block कर रहा है या नहीं। कौन सा tool जल्दी उत्तर देता है?
उत्तर दिखाएँ
उत्तर: B. Network Watcher IP flow verify
IP flow verify बताता है कि traffic allowed है या denied और ज़िम्मेदार NSG rule का नाम देता है।
-
प्रश्न 6. Security analysis के लिए VNet का traffic metadata, allowed और denied flows सहित, collect करना है। वर्तमान अनुशंसित feature क्या है?
उत्तर दिखाएँ
उत्तर: A. Network Watcher में VNet flow logs
VNet flow logs NSG flow logs की जगह लेते हैं और VNet level पर flows capture करते हैं, insight के लिए Traffic Analytics के साथ।
-
प्रश्न 7. Azure Firewall को *.github.com जैसे fully qualified domain names से outbound HTTPS filter करना है। कौन सा rule type उपयुक्त है?
उत्तर दिखाएँ
उत्तर: A. Application rules
Application rules HTTP/S और SQL traffic को FQDN, wildcard names सहित, से filter करते हैं।
-
प्रश्न 8. Outbound traffic को malware और intrusion signatures के लिए, TLS inspection सहित, inspect करना है। कौन सा Azure Firewall SKU चाहिए?
उत्तर दिखाएँ
उत्तर: B. Azure Firewall Premium
Premium TLS inspection, IDPS, URL filtering और web categories जोड़ता है।
-
प्रश्न 9. Azure Firewall को network rules में FQDNs को clients के समान तरीके से resolve करना है। क्या enable करना चाहिए?
उत्तर दिखाएँ
उत्तर: A. Firewall पर DNS proxy, जिसे clients अपने DNS server के रूप में उपयोग करें
DNS proxy से firewall और clients नाम एक ही तरह resolve करते हैं, जिस पर FQDN network rules निर्भर हैं।
-
प्रश्न 10. कई regions के Azure Firewalls के rules को inheritance के साथ केंद्रीय रूप से manage करना है। क्या उपयोग करना चाहिए?
उत्तर दिखाएँ
उत्तर: B. Parent और child firewall policies के साथ Azure Firewall Manager
Firewall Manager hubs और VNets में policies लागू करता है, और child policies parent policies से inherit करती हैं।
-
प्रश्न 11. Spoke VNets का सारा internet-bound traffic hub के Azure Firewall से होकर जाना चाहिए। Spokes में क्या configure करना होगा?
उत्तर दिखाएँ
उत्तर: A. 0.0.0.0/0 के लिए UDR, firewall के private IP को next hop बनाकर
UDRs system routes को override करते हैं और traffic को virtual appliance के रूप में firewall तक भेजते हैं।
-
प्रश्न 12. Azure Firewall के पीछे VM तक inbound RDP को firewall के public IP से publish करना है। कौन सा rule type उपयोग होता है?
उत्तर दिखाएँ
उत्तर: C. DNAT rules
DNAT rules firewall के public IP और port को VM के private IP और port में translate करते हैं।
-
प्रश्न 13. Azure Firewall को Microsoft threat intelligence से ज्ञात malicious IPs और domains तक traffic block करना है। कौन सी setting यह करती है?
उत्तर दिखाएँ
उत्तर: D. Alert and deny mode में threat intelligence-based filtering
Threat intelligence mode केवल alert कर सकता है या ज्ञात bad destinations तक traffic को alert और deny कर सकता है।
-
प्रश्न 14. Application Gateway के पीछे web app को OWASP top 10 attacks से बचाना है। क्या enable करना चाहिए?
उत्तर दिखाएँ
उत्तर: D. Managed rules के साथ Application Gateway पर Web Application Firewall
WAF आम web attacks को पकड़ने और block करने के लिए Default Rule Set (या CRS) उपयोग करता है।
-
प्रश्न 15. एक नई WAF policy false positives पैदा कर रही है। Rules tune करते समय क्या करना चाहिए?
उत्तर दिखाएँ
उत्तर: A. Detection mode में चलाएँ और Prevention से पहले logs देखें
Detection mode बिना block किए matches log करता है, इसलिए enforce करने से पहले exclusions जोड़े जा सकते हैं।
-
प्रश्न 16. एक विशेष request header trusted API के लिए WAF managed rule trigger कर रहा है। लक्षित fix क्या है?
उत्तर दिखाएँ
उत्तर: C. प्रभावित rule पर उस header के लिए WAF exclusion
Exclusions विशेष request attributes की inspection छोड़ते हैं, बाकी सुरक्षा बनाए रखते हुए।
-
प्रश्न 17. एक client IP से प्रति मिनट 1,000 से अधिक requests को edge पर block करना है। Azure Front Door WAF में क्या configure करना चाहिए?
उत्तर दिखाएँ
उत्तर: D. Rate limit custom rule
Rate limit rules एक window में प्रति client requests गिनते हैं और सीमा पार होने पर action लागू करते हैं।
-
प्रश्न 18. एक public-facing app को बड़े DDoS attack के दौरान cost protection और rapid response support चाहिए। कौन सा tier चाहिए?
उत्तर दिखाएँ
उत्तर: C. Azure DDoS Network Protection या IP Protection
Paid tiers adaptive tuning, attack analytics और DDoS Rapid Response team तक पहुँच जोड़ते हैं।
-
प्रश्न 19. DDoS IP Protection की Network Protection से तुलना में कौन सा कथन सही है?
उत्तर दिखाएँ
उत्तर: A. IP Protection प्रति public IP bill होता है और इसमें cost protection और DRR support नहीं है
IP Protection कुछ public IPs के लिए उपयुक्त है, जबकि Network Protection VNet के IPs cover करता है और अतिरिक्त services जोड़ता है।
-
प्रश्न 20. Admins को बिना किसी public IP वाली VMs पर RDP और SSH चाहिए। क्या deploy करना चाहिए?
उत्तर दिखाएँ
उत्तर: D. VNet में Azure Bastion
Bastion portal या native client से TLS-based access देता है, और VMs के पास केवल private IPs रहते हैं।
-
प्रश्न 21. VMs के management ports बंद रहने चाहिए और केवल request पर सीमित समय के लिए खुलने चाहिए। यह क्या देता है?
उत्तर दिखाएँ
उत्तर: A. Defender for Servers में just-in-time VM access
JIT requesting IP के लिए अस्थायी NSG allow rules जोड़ता है और समय खत्म होने पर हटा देता है।
-
प्रश्न 22. एक storage account को Azure backbone से केवल एक subnet का traffic स्वीकार करना है, अपना public endpoint रखते हुए। क्या configure करना चाहिए?
उत्तर दिखाएँ
उत्तर: C. Subnet पर service endpoint और storage firewall VNet rule
Service endpoints service को subnet की पहचान देते हैं, और storage firewall केवल उस subnet को allow करता है।
-
प्रश्न 23. एक storage account का कोई public endpoint access नहीं होना चाहिए और इसे private IP पर पहुँचना है। क्या उपयोग करना चाहिए?
उत्तर दिखाएँ
उत्तर: A. Public network access disabled के साथ private endpoint
Private endpoints service को private IP से map करते हैं, और public access disable करने से public endpoint block होता है।
-
प्रश्न 24. Clients PaaS service को उसके private endpoint IP पर resolve करें, इसके लिए आमतौर पर कौन सा अतिरिक्त resource चाहिए?
उत्तर दिखाएँ
उत्तर: C. VNet से linked privatelink private DNS zone
Privatelink zone resolution को override करता है ताकि VNet के भीतर public name private IP पर resolve हो।
-
प्रश्न 25. Service endpoint policies किस उद्देश्य के लिए उपयोग होती हैं?
उत्तर दिखाएँ
उत्तर: A. यह सीमित करना कि subnet अपने endpoint से किन storage accounts तक पहुँच सकता है
Policies service endpoint से unauthorized storage accounts में data exfiltration रोकती हैं।
-
प्रश्न 26. Site-to-site VPN को security टीम द्वारा माँगे गए विशेष IPsec encryption और integrity algorithms उपयोग करने हैं। क्या configure करना चाहिए?
उत्तर दिखाएँ
उत्तर: A. Connection पर custom IPsec/IKE policy
Custom policies defaults के बजाय IKE और IPsec algorithms, DH groups और SA lifetimes तय करती हैं।
-
प्रश्न 27. Point-to-site VPN users को अपने Microsoft Entra accounts और MFA से authenticate करना है। कौन सा authentication type उपयुक्त है?
उत्तर दिखाएँ
उत्तर: A. OpenVPN के साथ Microsoft Entra ID authentication
P2S के लिए Entra authentication VPN sign-ins पर Conditional Access और MFA लागू करने देता है।
-
प्रश्न 28. ExpressRoute private peering का traffic customer के routers और Microsoft के edge के बीच layer 2 पर end to end encrypt होना चाहिए। यह क्या देता है?
उत्तर दिखाएँ
उत्तर: C. ExpressRoute Direct ports पर MACsec
MACsec ExpressRoute Direct के physical links पर traffic encrypt करता है। ExpressRoute पर IPsec एक और विकल्प है।
-
प्रश्न 29. GatewaySubnet पर NSGs के बारे में कौन सा कथन सही है?
उत्तर दिखाएँ
उत्तर: A. ये supported नहीं हैं और VPN या ExpressRoute gateways को तोड़ सकते हैं
Microsoft GatewaySubnet पर NSGs support नहीं करता। Traffic कहीं और filter करें, जैसे spoke subnets पर या firewall से।
-
प्रश्न 30. एक App Service web app को केवल Azure Front Door से inbound traffic स्वीकार करना है। क्या configure करना चाहिए?
उत्तर दिखाएँ
उत्तर: C. AzureFrontDoor.Backend tag और X-Azure-FDID जाँच के साथ access restrictions
Service tag source IPs को Front Door तक सीमित करता है, और header जाँच traffic को आपके अपने Front Door profile तक सीमित करती है।
-
प्रश्न 31. एक App Service app को private endpoint से SQL database तक पहुँचना है। App पर क्या enable करना चाहिए?
उत्तर दिखाएँ
उत्तर: B. Regional VNet integration
VNet integration app की outbound calls को VNet के private endpoints तक पहुँचने देता है।
-
प्रश्न 32. API Management में published API को केवल valid Entra ID token वाली requests स्वीकार करनी हैं। कौन सी policy उपयोग करनी चाहिए?
उत्तर दिखाएँ
उत्तर: B. validate-jwt या validate-azure-ad-token
Token validation policies request forward करने से पहले signature, issuer, audience और claims जाँचती हैं।
-
प्रश्न 33. कौन सी Azure service बिना VNet peering के partner के tenant में उसकी service से private connectivity देती है?
उत्तर दिखाएँ
उत्तर: C. Private endpoint से consume की गई Azure Private Link service
Private Link service Standard Load Balancer के पीछे की service को दूसरे tenants के consumers के लिए expose करती है।
-
प्रश्न 34. Security admin rules को सैकड़ों VNets में लागू करना है और NSG owners उन्हें override न कर सकें। क्या उपयोग करना चाहिए?
उत्तर दिखाएँ
उत्तर: C. Azure Virtual Network Manager security admin rules
Security admin rules NSG rules से पहले evaluate होते हैं, और "always allow" या "deny" override नहीं हो सकता।
-
प्रश्न 35. कौन सी Azure Firewall feature rules को कई rules में दोबारा उपयोग होने वाले IP addresses के group को refer करने देती है?
उत्तर दिखाएँ
उत्तर: A. IP groups
IP groups में IP addresses और ranges होते हैं जिन्हें कई firewall policies refer कर सकती हैं।
-
प्रश्न 36. Web Application Firewall को scraping और credential stuffing के लिए ज्ञात bots रोकने हैं। कौन सा rule set जोड़ना चाहिए?
उत्तर दिखाएँ
उत्तर: C. Bot Manager rule set
Bot protection rule set good, bad और unknown bots को वर्गीकृत करने के लिए Microsoft threat intelligence उपयोग करता है।
-
प्रश्न 37. एक virtual network के subnet में नई VMs को डिफ़ॉल्ट रूप से outbound internet access नहीं होना चाहिए। कौन सी नई VNet setting मदद करती है?
उत्तर दिखाएँ
उत्तर: B. Private subnet (default outbound access बंद)
Private subnets default outbound access बंद करते हैं, इसलिए VMs को NAT gateway या firewall जैसा explicit तरीका चाहिए।
-
प्रश्न 38. Azure Bastion को admins को अपने local SSH client से connect करने और files upload करने देना है। कौन सा SKU चाहिए?
उत्तर दिखाएँ
उत्तर: A. Native client support के साथ Standard या Premium SKU
Native client support और file transfer के लिए Standard tier या उससे ऊपर चाहिए।
-
प्रश्न 39. Audit के लिए Bastion sessions record होने चाहिए। कौन सी Bastion capability यह देती है?
उत्तर दिखाएँ
उत्तर: A. Session recording (Premium SKU)
Premium Bastion graphical sessions को storage container में record कर सकता है।
-
प्रश्न 40. VM से on-premises endpoint तक reachability और latency को लगातार test करना है, failures पर alerts के साथ। कौन सा Network Watcher tool उपयुक्त है?
उत्तर दिखाएँ
उत्तर: C. Connection monitor
Connection monitor sources और destinations के बीच लगातार checks चलाता है और loss व latency Azure Monitor को report करता है।
-
प्रश्न 41. एक security analyst को संदिग्ध VM तक traffic का 10 मिनट का पूरा packet trace चाहिए। क्या उपयोग करना चाहिए?
उत्तर दिखाएँ
उत्तर: B. Network Watcher packet capture
Packet capture VM या scale set का traffic storage account या local file में record करता है।
-
प्रश्न 42. कौन सी Azure Firewall Premium feature websites तक access को gambling जैसी category के अनुसार block कर सकती है?
उत्तर दिखाएँ
उत्तर: A. Web categories
Web categories site category से filter करती हैं। Premium पूरी URL filtering भी support करता है।
-
प्रश्न 43. Azure Firewall से internet तक traffic को inspection के लिए on-premises proxy पर भेजना है। क्या enable करना चाहिए?
उत्तर दिखाएँ
उत्तर: D. Firewall management subnet के साथ forced tunneling
Forced tunneling internet-bound traffic को on-premises device तक route करता है और अलग management subnet माँगता है।
-
प्रश्न 44. कौन सा कथन उस क्रम को बताता है जिसमें Azure Firewall policy rule collections process करती है?
उत्तर दिखाएँ
उत्तर: A. DNAT, फिर network, फिर application rules, हर एक में priority के अनुसार
Rule collection groups और collections priority से process होते हैं, पहले DNAT, फिर network, फिर application।
-
प्रश्न 45. एक कंपनी चाहती है कि subnet का outbound traffic fixed public IPs का set उपयोग करे, जबकि Azure Firewall अब भी उसे inspect करे। Firewall के साथ क्या जोड़ा जा सकता है?
उत्तर दिखाएँ
उत्तर: D. Firewall subnet से जुड़ा NAT gateway
AzureFirewallSubnet पर NAT gateway static IPs के साथ scalable SNAT देता है।
-
प्रश्न 46. Storage account access keys को fallback के रूप में रखना है, पर अपने आप rotate होना चाहिए। क्या मदद करता है?
उत्तर दिखाएँ
उत्तर: A. Automated key regeneration के साथ key expiration policies
Key expiration policies पुरानी keys के बारे में चेतावनी देती हैं, और automation उन्हें regenerate कर सकता है।
-
प्रश्न 47. कौन सी DNS security capability VNet की ज्ञात malicious domains तक queries block कर सकती है?
उत्तर दिखाएँ
उत्तर: B. Domain lists के साथ DNS security policy
DNS security policies domain lists के अनुसार queries allow या block करती हैं और DNS traffic log करती हैं।
-
प्रश्न 48. Hub में एक network virtual appliance fail हो जाता है। कौन सा design spoke traffic चालू रखता है?
उत्तर दिखाएँ
उत्तर: A. HA ports के साथ internal Standard Load Balancer के पीछे दो NVAs
HA ports वाला internal load balancer सभी flows को healthy NVAs पर भेजता है।
Microsoft और Azure, Microsoft समूह की कंपनियों के ट्रेडमार्क हैं। ये प्रश्न मौलिक अध्ययन सामग्री हैं, असली परीक्षा के प्रश्न नहीं।