Question 340
A containerized workload must perform temporary background jobs triggered by an event source and then stop consuming compute capacity. What service feature should be evaluated?
- An always-on API replica for each occasional job
- A storage account read-access tier
- Azure Traffic Manager DNS policies
- Azure Container Apps jobs with event or scheduled triggers
Explanation
Correct Answer
D:Container Apps jobs can execute finite container tasks on demand, separating job lifecycle from continuously serving HTTP applications.
Incorrect Answers
A:Permanent service replicas consume capacity while waiting, even when no background tasks exist.
B:Object tiering does not execute a custom containerized calculation.
C:Traffic Manager directs client endpoints and cannot start container jobs based on queue demand.
Question 341
An application needs to permit temporary access to a single private Blob without making the entire container public. What delegation mechanism fits?
- Set container access to public
- Assign subscription Owner to the recipient
- Provide the account access key
- A narrowly scoped, short-lived shared access signature
Explanation
Correct Answer
D:A SAS can delegate limited object permissions and expiry; choose the most secure supported signing model and protect the URL as a bearer credential.
Incorrect Answers
A:Public access may expose every qualifying Blob and does not expire with the intended private recipient's temporary need.
B:Owner provides control-plane authority across resources instead of a bounded download permission for one object.
C:A full account key is broader than single-object access and is not appropriate for a temporary external recipient.
Question 342
A payment worker reads commands from a queue. If the worker crashes after committing a payment but before acknowledging the message, the broker can deliver that command again. Which application design prevents the customer's card from being charged twice?
- Use a larger VM, because more CPU makes message redelivery impossible
- Record a durable payment idempotency key and atomically check it before applying each command
- Increase the queue's retention period until duplicate deliveries stop
- Disable every retry and discard the command whenever acknowledgment fails
Explanation
Correct Answer
B:A durable idempotency record tied to the business transaction lets redelivered commands return the prior result instead of reapplying a payment. Make the check and state change transactional where possible and decide how to handle partially completed external payment calls.
Incorrect Answers
A:Worker capacity can improve throughput, but an acknowledgment can still be lost after a successful commit during a process or network failure. Scaling hardware does not change at-least-once delivery semantics.
C:Message retention determines how long unprocessed items may remain and does not prohibit redelivery after an ambiguous acknowledgment. Duplicates need application-level safety even with good broker configuration.
D:Never retrying would drop legitimate work after transient failures and still cannot undo a payment already committed when the acknowledgement is lost. Safe retries plus idempotent effects are the intended resilience design.
Question 343
An on-premises file server needs file-level restore points while a second requirement calls for immediate recovery of an entire server during a site failure. What should the architect plan?
- Only a long-term archive copy
- Complementary backup and disaster recovery mechanisms
- Only a zone-redundant Azure storage account
- Only DNS traffic routing
Explanation
Correct Answer
B:Historical backups support restoring damaged files while replication and recovery orchestration address fast whole-server continuity; each has a distinct objective.
Incorrect Answers
A:An archive can preserve history but is often too slow and incomplete for rapid executable server recovery.
C:ZRS cannot independently restore the complete on-premises operating system and application service after a site disaster.
D:Traffic redirection cannot recover a failed server without running compute and data in a suitable destination.
Question 344
A directory team wants automation to create, update, and deactivate user accounts in a third-party SaaS app according to Entra assignments. What feature should it design?
- An Azure Load Balancer rule
- Azure Monitor metrics streaming
- Azure Backup for virtual machines
- Microsoft Entra SCIM-based provisioning
Explanation
Correct Answer
D:Provisioning synchronizes identity lifecycle changes to supported SaaS applications, reducing manual account drift and stale access.
Incorrect Answers
A:A load-balancing rule distributes network traffic and has no lifecycle identity-provisioning capability.
B:Metrics can reveal capacity trends but cannot provision directory accounts in an external SaaS identity store.
C:VM backup preserves machine state and does not manage SaaS user accounts on assignment change.
Question 345
A service exposes administrative APIs and wants requests blocked based on claims before reaching its backend; developers need transformation policies too. What gateway capability fits?
- A standard network security group only
- Azure Traffic Manager DNS rules
- API Management inbound policies with token validation
- Azure Event Grid domain configuration
Explanation
Correct Answer
C:APIM can validate supported tokens and apply API policies before forwarding requests, reducing repeated gateway logic across backend services.
Incorrect Answers
A:NSGs match network traffic properties and cannot read JWT audience or transform HTTP headers by policy.
B:Traffic Manager selects endpoints during DNS resolution and cannot enforce per-request JWT claims.
D:Event Grid routes events to handlers and is not a general policy gateway for REST API calls.
Question 346
A central platform team wants to deploy the same diagnostics agent settings to resources that already exist and are missing configuration. Which policy approach fits?
- DeployIfNotExists policy plus remediation task
- An Azure DNS TXT record
- A Delete lock on the management group
- A policy audit effect without remediation
Explanation
Correct Answer
A:DeployIfNotExists evaluates whether a related configuration exists and can deploy it with a suitable managed identity for remediating existing resources.
Incorrect Answers
B:DNS record publication does not deploy Azure resource extensions or missing monitoring settings.
C:Delete locks cannot be applied at management-group scope and do not configure diagnostic settings on workloads.
D:Audit provides visibility but does not install a missing resource or related setting automatically.
Question 347
An organization needs employees to access several private Azure-hosted VMs using their familiar Active Directory domain accounts and Group Policy. Which foundation fits?
- Microsoft Entra app registration only
- Azure Advisor security recommendations
- A storage lifecycle management rule
- Domain controllers or managed domain services reachable from the VMs
Explanation
Correct Answer
D:Traditional domain join and Group Policy require appropriate Active Directory domain functionality and network/name-resolution connectivity.
Incorrect Answers
A:An app registration enables OAuth/OIDC app identity, not Windows Group Policy processing or conventional domain join.
B:Recommendations can flag improvements but do not supply domain controllers or policy processing.
C:Tiering files or blobs has no bearing on directory trust and machine domain membership.
Question 348
A company wants an application team's deployment pipeline to use a preapproved set of resource templates with an architectural baseline. Which practice supports repeatable governance?
- Only manual portal deployment checklists
- Store administrator passwords in the templates
- Version-controlled infrastructure as code plus policy enforcement
- Disable activity logging for pipelines
Explanation
Correct Answer
C:Bicep or Terraform modules can standardize deployments, while Azure Policy ensures deployed state meets central guardrails.
Incorrect Answers
A:Manual actions are harder to reproduce and audit, and they allow configuration drift between teams.
B:Hard-coded secrets create exposure and do not establish safe repeatable architectural governance.
D:Removing audit evidence undermines accountability instead of improving template standardization.
Question 349
A migration solution must store Azure VM virtual hard disks as Azure-managed disk resources rather than general office documents. Which storage abstraction is relevant?
- Hot block blobs for document downloads
- Azure Queue Storage
- Azure managed disks backed by page-oriented storage semantics
- Azure Files SMB share
Explanation
Correct Answer
C:Managed disks expose durable block devices to VMs, unlike file-share or ordinary media-object services used by applications.
Incorrect Answers
A:Block blobs support object uploads and reads, not directly attached managed boot and data disks.
B:Queues decouple messages between services and cannot be attached as an operating-system disk.
D:File shares expose network file access rather than the native attached block-device abstraction expected by an Azure VM.
Question 350
A remote subsidiary has slow connectivity and must seed many terabytes into Azure before incremental DR replication becomes practical. What planning decision is important?
- Assume nightly full copies always fit the WAN
- Offline bulk transfer with subsequent synchronization
- Replace all source disks with archive blobs
- Change resource tags to accelerate replication
Explanation
Correct Answer
B:Large initial copies may require a physical transfer or staged seeding approach; subsequent synchronization can use the available WAN bandwidth.
Incorrect Answers
A:Ignoring transfer-time mathematics can make the promised RPO impossible before the first recovery point exists.
C:Offline object storage is not an immediate equivalent to a recoverable running VM workload.
D:Tags affect management metadata rather than available bandwidth or bytes to replicate.