Question 180
A company needs to inspect Azure subscriptions against a common policy baseline without forcing immediate deployment failures while teams fix existing issues. Which policy effect is safest initially?
- Use ReadOnly locks on every resource
- Audit during assessment and transition to deny when ready
- Disable all Azure Policy assignments
- Deny immediately across every subscription
Explanation
Correct Answer
B:Audit records noncompliance without blocking deployments, enabling teams to measure impact before gradually enforcing preventive controls.
Incorrect Answers
A:Locks block management writes broadly and do not express granular compliance rules such as allowed regions or encryption properties.
C:No assignments means the company cannot measure its compliance against the intended baseline.
D:Deny may prevent essential workloads from deploying if the baseline contains unreviewed exceptions or legacy configurations.
Question 181
A compliance team must preserve diagnostic logs for years at the lowest practical storage cost; interactive KQL queries are not required. Which destination best fits?
- Application Insights availability tests
- Azure Monitor Metrics
- Azure Storage with an appropriate lifecycle and retention design
- Log Analytics with short retention
Explanation
Correct Answer
C:Diagnostic settings can archive supported logs to a storage account, while lifecycle policies and immutable storage features can support controlled retention requirements.
Incorrect Answers
A:Synthetic tests measure endpoint reachability; they do not preserve platform diagnostic records for evidentiary retention.
B:Metric time series are not a general archive of individual audit log events and cannot replace the detailed records requested by compliance.
D:A short-retention analytics workspace is optimized for search, but the scenario prioritizes long-term low-cost preservation without frequent queries.
Question 182
An SMB-based finance department stores documents on Azure Files. A user overwrites a spreadsheet at noon, and the team must recover that file's earlier contents without rolling back every other file on the share. Which planned feature most directly supports this?
- Scheduled Azure Files share snapshots with file-level restore procedures
- Blob soft delete configured on an unrelated Blob container
- An additional locally redundant copy of the same current file share
- A resource-group CanNotDelete lock as the sole version-recovery mechanism
Explanation
Correct Answer
A:Azure Files share snapshots capture read-only point-in-time versions of share data. Given a snapshot taken before the overwrite, the team can restore the affected file rather than replace the whole live share; snapshot scheduling and retention must be planned ahead.
Incorrect Answers
B:Blob soft delete applies to Blob Storage objects, not prior versions of a file in an SMB Azure Files share. Protecting a different service does not restore the overwritten spreadsheet.
C:Local redundancy protects against supported infrastructure failures but ordinarily mirrors the latest logical file contents, including an overwrite. It does not independently provide yesterday's file content.
D:A management-plane deletion lock helps protect Azure resources, not reconstruct data-plane file versions after a permitted edit. Historical snapshots or backups are the appropriate recovery control.
Question 183
A public API needs policies for throttling, API key validation, version exposure, and transformation across many backend services. Which gateway fits?
- Azure NAT Gateway
- Azure API Management
- Azure Traffic Manager
- An Azure Load Balancer alone
Explanation
Correct Answer
B:API Management centralizes API publication and policies such as quotas, authentication, transformation, and developer access independent of the backends.
Incorrect Answers
A:NAT enables outbound translation and is not an inbound API policy gateway.
C:Traffic Manager performs DNS endpoint steering and cannot inspect or rewrite individual API requests.
D:Layer-4 balancing distributes flows but does not apply fine-grained API product subscriptions and request transformation policies.
Question 184
A team wants to run a single isolated container for a one-off conversion job without building a Kubernetes cluster or VM image. Which service should it choose?
- Azure Front Door
- Azure SQL Database serverless
- Azure Kubernetes Service cluster from scratch
- Azure Container Instances
Explanation
Correct Answer
D:ACI can run a container group directly with minimal infrastructure setup when full orchestration and advanced platform features are unnecessary.
Incorrect Answers
A:Front Door distributes web traffic and cannot execute a containerized one-off processing task.
B:Serverless SQL runs database queries, not arbitrary application container images or conversion binaries.
C:A full cluster imposes networking and orchestration complexity disproportionate to one short-lived job.
Question 185
A stateless API uses VM Scale Sets and auto-scales during sales peaks. The recovery target requires surviving loss of any one availability zone without exceeding the remaining zones' safe CPU capacity. Which design decision is essential before specifying the scale set's target instance count?
- Run every instance in one zone because autoscale can always replace the lost physical zone immediately
- Use only a daily VM image backup to restore all API instances after a zone failure
- Distribute instances across zones and size the surviving capacity and healthy load-balancer backends for a zonal failure
- Store client sessions on the local disk of one scale-set instance so the other zones can share them
Explanation
Correct Answer
C:Zone-aware capacity planning accounts for the loss of the largest fault domain: surviving instances must handle demand at acceptable utilization, and probes must remove unhealthy backends. Configure and test scale-set distribution and application state dependencies, not just the total nominal VM count.
Incorrect Answers
A:A zonal event can make the only active zone unavailable, so reactive autoscale in that same failure domain is not a sufficient resilience strategy. A recovery target needs independent capacity outside the failed zone.
B:Images support rebuilding compute but do not provide the immediate spare request-serving capacity required by this failure budget. Recovery of a stateless API should rely primarily on redundant active instances and traffic health controls.
D:Local session state introduces an unreplicated dependency that may disappear with the failed instance. Stateless workers and durable shared state are more consistent with cross-zone service continuity.
Question 186
An enterprise needs to migrate content from dozens of file servers but ensure only changed files are copied during the last cutover interval. What approach is sound?
- Change Blob tier to archive before clients validate files
- Replace source servers with empty Azure file shares
- Bulk copy followed by incremental synchronization
- Copy everything only after the source is shut down
Explanation
Correct Answer
C:Staged copying reduces the remaining delta at switchover while integrity checks and permissions verification protect user access.
Incorrect Answers
A:Offline archival can make required files inaccessible and does not synchronize recent changes.
B:Creating destination folders does not transfer content, ACLs, or active application dependencies.
D:A very large full transfer at cutover may exceed the allowable downtime window.
Question 187
An architect considers Azure Firewall versus NSGs for segmenting app subnets. Which statement best differentiates their roles?
- NSGs for filtering; Azure Firewall for central inspection
- Azure Firewall is only a storage encryption product
- Both services automatically replace application authentication
- NSGs provide arbitrary HTTP URL inspection like a full proxy
Explanation
Correct Answer
A:The two can complement each other: local packet filtering versus centrally routed inspection, application rules and logging.
Incorrect Answers
B:Firewall is a network security service that handles traffic policy rather than storage encryption-key custody.
C:Network filtering does not remove the need for validated user and workload identities.
D:NSGs are not intended to parse every web request and enforce application-layer URL policies.
Question 188
An Azure backup strategy aims to minimize recovery time for a very large VM but the team is selecting only full VM restores for every incident. What architectural refinement may help?
- Use application load balancing instead of backups
- Disable recovery point retention to speed backup
- Match the restore granularity to the failure mode and workload support
- Always rebuild the entire region for a missing configuration file
Explanation
Correct Answer
C:File recovery, disk restore, or alternate location restore may reduce work for small incidents; full VM restoration remains necessary for some failures.
Incorrect Answers
A:Load balancing provides current availability but cannot retrieve earlier file contents or broken system state.
B:Removing restore history sacrifices the needed protection and does not solve restore-granularity decisions.
D:Reconstructing unrelated resources increases time and cost without improving recovery of one small file.
Question 189
A newly migrated Azure SQL Database repeatedly hits compute limits but has available storage capacity. What should be evaluated first?
- Change the resource group's location text
- Add subscription tags to the database
- Increase or change the compute tier based on CPU and latency metrics
- Increase only blob archive capacity
Explanation
Correct Answer
C:Compute and storage bottlenecks differ; observing resource metrics before scaling vCores or service tier addresses the constrained resource.
Incorrect Answers
A:A display name change does not increase SQL Database compute limits or query speed.
B:Tags improve reporting but cannot raise database compute throughput.
D:Unrelated object storage capacity will not provide more SQL query processing CPU or memory.
Question 190
An organization wants security engineers to read Microsoft Entra sign-in logs without being able to manage Conditional Access policies. How should roles be designed?
- Assign Azure subscription Reader only
- Assign Key Vault Secrets Officer
- Grant Global Administrator to every engineer
- Use a dedicated read-only directory role for security reporting
Explanation
Correct Answer
D:Appropriate Entra directory roles separate security report visibility from policy modification, unlike broadly privileged tenant administrator roles.
Incorrect Answers
A:Azure RBAC Reader does not automatically provide directory-level access to Entra sign-in data.
B:This vault-specific data role governs secrets operations, not Entra directory reporting or policy editing.
C:Global Administrator grants far more directory control than reading audit evidence and creates avoidable privileged identities.