Pass Your Microsoft AZ-104 Exam Easy!

Microsoft AZ-104 Exam Questions & Answers, Accurate & Verified By IT Experts

Instant Download, Free Fast Updates, 99.6% Pass Rate

AZ-104 Premium Bundle

$79.99

Microsoft AZ-104 Premium Bundle

AZ-104 Premium File: 606 Questions & Answers

Last Update: Sep 24, 2026

AZ-104 Training Course: 132 Video Lectures

AZ-104 PDF Study Guide: 458 Pages

AZ-104 Bundle gives you unlimited access to "AZ-104" files. However, this does not replace the need for a .vce exam simulator. To download VCE exam simulator click here
Microsoft AZ-104 Premium Bundle
Microsoft AZ-104 Premium Bundle

AZ-104 Premium File: 606 Questions & Answers

Last Update: Sep 24, 2026

AZ-104 Training Course: 132 Video Lectures

AZ-104 PDF Study Guide: 458 Pages

$79.99

AZ-104 Bundle gives you unlimited access to "AZ-104" files. However, this does not replace the need for a .vce exam simulator. To download your .vce exam simulator click here

Microsoft AZ-104 Practice Test 29

Question 280

A scale set reduces instances aggressively and drops long-running jobs. What should its scale-in design include?

  1. Configure supported zone or fault-domain distribution for scale-set instances
  2. Use an Azure Virtual Machine Scale Set for managed fleets of uniform instances
  3. Use health checks, workload draining and safe scale-in policies
  4. Use additional VM instances for horizontal scale-out, not a larger single disk

Explanation

Correct Answer

C:

A busy VMSS worker can be removed during autoscale scale-in even while it processes a long job. The reliable design combines conservative scale-in selection, instance protection for workers that must not be selected, and VMSS terminate notifications via Azure Scheduled Events so the instance can stop accepting work, checkpoint or drain jobs within its configured deletion delay. The delay is bounded and is not an unlimited guarantee; operations must test behavior when jobs exceed it. Health monitoring is useful for upgrades and instance repair but does not itself implement graceful scale-in draining. Verify actual completed work rather than only probe health.

Incorrect Answers

A:

Placement across availability zones or fault domains protects against infrastructure failures and helps distribute scale-set instances. It does not determine whether a busy VM is safe to terminate during autoscale scale-in. Here the failures occur while long-running worker jobs are active, so changing placement alone leaves the application-level data-loss risk unchanged. Use workload-aware scale-in design, instance protection when required, and termination notifications with an application drain or checkpoint procedure. Then verify that a chosen scale-in target stops accepting jobs before the instance is actually removed.

B:

Azure Virtual Machine Scale Sets already manage the pool of virtual machines and support autoscale rules. Choosing the same service again does not address the observed loss of in-progress jobs as instances are deleted. The missing controls are termination awareness and workload coordination: use scheduled-event termination notification where supported, a bounded delay to drain or checkpoint work, and scale-in policy or instance protection to avoid selecting critical workers. Application health probes can inform other orchestration features but do not independently guarantee that a busy job has finished before deletion.

D:

Adding compute replicas is horizontal scale-out and can help a system process more jobs during peaks, whereas increasing a single VM disk is a storage-capacity change. Neither action fixes the current hazard: the scale set already scales down, and the jobs are interrupted before their state is safely completed. A correct response needs termination-notification handling and application-level draining or idempotent checkpoint/retry behavior, with suitable scale-in policy and protection. A scale-out decision might reduce queue depth temporarily but would not guarantee safe deletion when the subsequent scale-in occurs.

Question 281

A VMSS model changed, but existing instances still use an older configuration under manual upgrade policy. What should be done?

  1. Use an Azure Virtual Machine Scale Set for managed fleets of uniform instances
  2. Apply the configured instance upgrade/rolling policy to existing instances
  3. Use health checks, workload draining and safe scale-in policies
  4. Configure supported zone or fault-domain distribution for scale-set instances
  5. Record the new model version and test a possible rolling-upgrade plan, but do not trigger instance upgrades while manual mode remains active

Explanation

Correct Answer

B:

'Apply the configured instance upgrade/rolling policy to existing instances' fits the case in which a VMSS model changed, but existing instances still use an older configuration under manual upgrade policy because updating the scale-set model doesn't force every instance to adopt changes immediately under all policies. By contrast, 'Use an Azure Virtual Machine Scale Set for managed fleets of uniform instances' addresses a different condition: scale sets orchestrate instance pools and scaling; individual VM handcrafting is harder to manage; it would not establish the outcome needed for this particular Azure resource. For 'Apply the configured instance upgrade/rolling policy to existing instances', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

When a service requires hundreds of interchangeable web-processing VMs with common image and lifecycle, the action 'Use an Azure Virtual Machine Scale Set for managed fleets of uniform instances' can be relevant: scale sets orchestrate instance pools and scaling; individual VM handcrafting is harder to manage. For the different problem of a VMSS model changed, but existing instances still use an older configuration under manual upgrade policy, 'Use an Azure Virtual Machine Scale Set for managed fleets of uniform instances' misses the mechanism that updating the scale-set model doesn't force every instance to adopt changes immediately under all policies. Choosing 'Use an Azure Virtual Machine Scale Set for managed fleets of uniform instances' would address that other need, whereas 'Apply the configured instance upgrade/rolling policy to existing instances' is intended to solve the stated condition.

C:

The nearby action 'Use health checks, workload draining and safe scale-in policies' is associated with this separate need: a scale set reduces instances aggressively and drops long-running jobs. That is because removing busy replicas without coordination can interrupt sessions and lose in-flight work. Here a VMSS model changed, but existing instances still use an older configuration under manual upgrade policy, so 'Use health checks, workload draining and safe scale-in policies' misses the fact that updating the scale-set model doesn't force every instance to adopt changes immediately under all policies. 'Apply the configured instance upgrade/rolling policy to existing instances' is the more defensible action; confirm its behavior in the target service before calling the task complete.

D:

'Configure supported zone or fault-domain distribution for scale-set instances' solves another task because capacity planning should align placement and upgrade boundaries with the desired fault isolation. For the situation where a VMSS model changed, but existing instances still use an older configuration under manual upgrade policy, this distractor misses the requirement that updating the scale-set model doesn't force every instance to adopt changes immediately under all policies. Unlike 'Configure supported zone or fault-domain distribution for scale-set instances', 'Apply the configured instance upgrade/rolling policy to existing instances' directly targets that requirement; its success must be confirmed at the authorized resource scope.

E:

Keeping a record of the new scale-set model or staging a possible rollout is useful change management, but those preparatory activities do not modify running VM instances under a Manual upgrade policy. Azure VM Scale Sets explicitly require the administrator to select and upgrade existing instances, or deliberately change the supported upgrade policy and execute it. In this scenario, the old configuration persists precisely because the instances have not received a model upgrade. Verify instance model compliance after performing the authorized upgrade instead of treating a plan as applied.

Question 282

A VM scale set must tolerate a host-level failure instead of all replicas sharing one fault group. What topology matters?

  1. Apply the configured instance upgrade/rolling policy to existing instances
  2. Use health checks, workload draining and safe scale-in policies
  3. Place every scale-set replica in the same fault domain and rely exclusively on load-balancer health probes for host failure resilience
  4. Configure supported zone or fault-domain distribution for scale-set instances

Explanation

Correct Answer

D:

'Configure supported zone or fault-domain distribution for scale-set instances' fits the case in which a VM scale set must tolerate a host-level failure instead of all replicas sharing one fault group because capacity planning should align placement and upgrade boundaries with the desired fault isolation. By contrast, 'Apply the configured instance upgrade/rolling policy to existing instances' addresses a different condition: updating the scale-set model doesn't force every instance to adopt changes immediately under all policies; it would not establish the outcome needed for this particular Azure resource. For 'Configure supported zone or fault-domain distribution for scale-set instances', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

'Apply the configured instance upgrade/rolling policy to existing instances' applies to a different feature boundary because updating the scale-set model doesn't force every instance to adopt changes immediately under all policies. In the stated scenario where a VM scale set must tolerate a host-level failure instead of all replicas sharing one fault group, 'Apply the configured instance upgrade/rolling policy to existing instances' does not satisfy the mechanism that capacity planning should align placement and upgrade boundaries with the desired fault isolation. The necessary action is 'Configure supported zone or fault-domain distribution for scale-set instances', which should be checked against this Azure resource's actual permissions and state.

B:

The nearby action 'Use health checks, workload draining and safe scale-in policies' is associated with this separate need: a scale set reduces instances aggressively and drops long-running jobs. That is because removing busy replicas without coordination can interrupt sessions and lose in-flight work. Here a VM scale set must tolerate a host-level failure instead of all replicas sharing one fault group, so 'Use health checks, workload draining and safe scale-in policies' misses the fact that capacity planning should align placement and upgrade boundaries with the desired fault isolation. 'Configure supported zone or fault-domain distribution for scale-set instances' is the more defensible action; confirm its behavior in the target service before calling the task complete.

C:

A probe detects backend availability but cannot prevent correlated loss when all virtual machine instances share the same fault isolation boundary. If that host or fault domain fails, all replicas can become unavailable together and there is no healthy instance for a probe to select. The scenario specifically requires resilience against a host-level failure, which depends on configuring supported instance distribution across separate fault domains or availability zones. Monitoring and traffic steering are complementary controls, not replacements for physical fault isolation.

Question 283

A scale set needs a new golden image while preserving a path back to its last working image. What rollout is safe (Select TWO distinct actions.)

  1. Roll out the new image through a tested supported VMSS upgrade strategy
  2. Pin and preserve the previous working VMSS image version
  3. Replace every VMSS instance simultaneously without health checks
  4. Overwrite the old image tag without saving a rollback identity
  5. Disable instance-health collection to make the upgrade look clean
  6. Assume a successful registry push upgrades existing VMSS instances

Explanation

Correct Answers

A:

A VM scale-set image update changes the operating-system disk image used for instances, so an untested mass replacement can interrupt service if startup, extensions or the application fail. Choose an upgrade mode that the scale set's orchestration configuration supports, evaluate rolling batches or a controlled manual rollout, and use supported application-health signals to halt a failing wave. Validate a subset before completing production rollout. The new image should be referenced by an explicitly identified version and tested under the actual service workload. This rollout strategy addresses deployment safety, while preserving the prior working image is a separate requirement for recovery.

B:

Retaining a known-good, explicitly versioned image in Azure Compute Gallery preserves a deployable reference if the new golden image proves faulty. Record the working image version and its compatible region and VM generation, and avoid deleting or replacing it during the rollout. A version label alone does not roll instances back automatically: a rollback requires a supported scale-set model or image upgrade plan, plus validation of application state and any schema changes. This is why the previous version needs to be pinned and retained alongside a health-aware deployment strategy rather than relying on a mutable 'latest' image reference.

Incorrect Answers

C:

Replacing all scale-set instances simultaneously without checking application health creates a correlated outage risk, especially because every replacement receives the same new operating-system image. An infrastructure deployment success does not guarantee that the service process will start, respond to its readiness checks or handle production requests. Test the image under realistic workloads, use a supported rolling or controlled upgrade policy, and preserve previous working image versions. A simultaneous forced replacement would defeat the stated desire for a safe path back if the new image fails.

D:

Overwriting a mutable tag or pointing 'latest' at a new version without retaining the former version discards a reliable recovery reference. Azure Compute Gallery supports individually numbered image versions, allowing teams to identify the exact previously working version instead of guessing which image a label meant yesterday. Keeping the old image available does not, by itself, complete a rollback, but it provides the necessary artifact for a controlled return. Retain that artifact and separately choose a health-checked, supported rollout to avoid broad failures.

E:

Disabling application-health collection can conceal an image rollout that provisions VMs successfully but fails the service readiness checks after boot. Scale-set rolling and automatic image-upgrade mechanisms use health signals to protect availability and make decisions about advancing or stopping upgrade batches where supported. Hiding unhealthy instances would make the upgrade less observable, not safer. Keep the health probe or Application Health extension configured, verify that it represents actual application behavior, and test the upgrade on a small cohort before proceeding to the rest of the scale set.

F:

Publishing a new image to a registry or gallery is not the same as applying it to an existing Virtual Machine Scale Set. The scale-set model, its referenced image version and the supported upgrade policy govern when instances actually receive the new OS image. Simply uploading an image artifact does not update running instances or prove that their application started correctly. The team must deliberately initiate or configure the applicable model and instance upgrade, monitor health and retain a known-good version. A registry push alone also offers no tested rollback plan.

Question 284

A container service pulls approved application images from a company registry. What service should host the private image set?

  1. Grant the runtime identity AcrPull access to the correct registry scope
  2. Create Azure Container Registry with appropriate authentication and network controls
  3. Provide valid registry pull credentials or identity permissions for the image
  4. Validate approved registry network path and runtime outbound reachability

Explanation

Correct Answer

B:

'Create Azure Container Registry with appropriate authentication and network controls' fits the case in which a container service pulls approved application images from a company registry because ACR holds OCI container images; repository access and pull authorization are separate concerns. By contrast, 'Grant the runtime identity AcrPull access to the correct registry scope' addresses a different condition: registry authentication to retrieve images differs from container app compute permissions; it would not establish the outcome needed for this particular Azure resource. For 'Create Azure Container Registry with appropriate authentication and network controls', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

'Grant the runtime identity AcrPull access to the correct registry scope' solves another task because registry authentication to retrieve images differs from container app compute permissions. For the situation where a container service pulls approved application images from a company registry, this distractor misses the requirement that ACR holds OCI container images; repository access and pull authorization are separate concerns. Unlike 'Grant the runtime identity AcrPull access to the correct registry scope', 'Create Azure Container Registry with appropriate authentication and network controls' directly targets that requirement; its success must be confirmed at the authorized resource scope.

C:

'Provide valid registry pull credentials or identity permissions for the image' applies to a different feature boundary because container group startup requires image authorization; increasing CPU won't fix a registry rejection. In the stated scenario where a container service pulls approved application images from a company registry, 'Provide valid registry pull credentials or identity permissions for the image' does not satisfy the mechanism that ACR holds OCI container images; repository access and pull authorization are separate concerns. The necessary action is 'Create Azure Container Registry with appropriate authentication and network controls', which should be checked against this Azure resource's actual permissions and state.

D:

The nearby action 'Validate approved registry network path and runtime outbound reachability' is associated with this separate need: a registry is private and network restricted; a container service can authenticate but still cannot pull images. That is because ACR role assignment does not by itself open a blocked firewall or private endpoint path. Here a container service pulls approved application images from a company registry, so 'Validate approved registry network path and runtime outbound reachability' misses the fact that ACR holds OCI container images; repository access and pull authorization are separate concerns. 'Create Azure Container Registry with appropriate authentication and network controls' is the more defensible action; confirm its behavior in the target service before calling the task complete.

Question 285

An existing Azure Container Registry uses the RBAC Registry Permissions mode (not ABAC repository permissions). A CI service principal must push release images, while the production managed identity needs image pull access and must never publish images. The registry network path and identities are already verified. Which role split meets both requirements?

  1. Create a new registry with standard network access and rely on that new registry to grant publishing and pull permission automatically
  2. Keep previous image digests for rollback but leave CI and production identities with their existing authorization
  3. Check egress connectivity and private DNS even though the registry network path is already verified healthy
  4. Grant the production identity AcrPull, without assigning any image-publishing role to the CI service principal
  5. Assign the CI publisher AcrPush and the production runtime AcrPull at the required registry scope in this RBAC-only mode

Explanation

Correct Answer

E:

The question fixes the registry to RBAC Registry Permissions mode. In that mode, AcrPush grants the CI service principal sufficient permissions to upload release images, and AcrPull lets the production managed identity download image content without granting it publisher privileges. Assign those roles at the intended registry scope to the corresponding separate principals. Test a CI push and production pull, and confirm the runtime cannot push; also retain the previously approved network path. In ABAC repository-permissions mode, legacy AcrPush and AcrPull roles are not honored; the appropriate repository Writer and Reader roles must be used instead. This mode assumption is essential to the single best answer.

Incorrect Answers

A:

Creating a new registry does not automatically issue the identities the data-plane permissions they need to publish or consume OCI images. In the stated case, an existing registry and its network path are functioning. The required distinction is between the CI service principal, which must upload release image manifests and layers, and the production identity, which only downloads them. Changing the registry itself would introduce additional resources without fixing the authorization assignments. In this RBAC-only permissions mode, the correct action is separate scoped publisher and reader rights, followed by a controlled push and pull verification.

B:

Retaining a known-good image digest matters for rollback, especially before cleanup jobs delete old manifests or layers. However, image-retention policy does not grant a principal the permission to push an image or pull an authorized image from Azure Container Registry. Here the CI pipeline must publish, and the production managed identity must consume, under different access boundaries. Leaving their current roles unchanged does not answer that requirement. After assigning appropriate CI and runtime roles, retention remains a separate release-process control that can be verified with an image rollback exercise.

C:

Registry networking can block image pushes or pulls even when a principal has a valid Azure role assignment. That is a different failure category, involving the firewall, approved private endpoint, name resolution and client egress. The question explicitly says the existing registry network route and both workload identities have already been verified. Repeating those connectivity checks does not supply the missing differentiation between publisher and consumer permissions. The CI service principal must have image-write authority, while the production identity must have pull-only authority. Verify this by attempting an authorized CI push and a permitted runtime pull.

D:

AcrPull grants the production identity the needed image-read rights in a registry configured for the legacy RBAC Registry Permissions authorization mode. It does not grant the separate CI service principal permission to upload release images, so this single assignment leaves half of the stated deployment requirement unsatisfied. The scenario asks for a complete split between the CI publisher and the production consumer, not only a remedy for an isolated runtime ImagePullBackOff error. For an ABAC-enabled registry, even this role would be invalid; supported Container Registry Repository Reader/Writer permissions must be evaluated instead.

Question 286

An Azure Container Apps revision pulls from an Azure Container Registry configured for the non-ABAC 'RBAC Registry Permissions' authorization mode. The revision uses an approved managed identity and fails with ImagePullBackOff. Registry diagnostics confirm the identity lacks registry pull permissions; network routing and image name are correct. Which change directly fixes that authorization failure?

  1. Give the managed identity the generic Azure Reader management role on the registry and assume it grants image-pull data access
  2. Validate approved registry network path and runtime outbound reachability
  3. Create Azure Container Registry with appropriate authentication and network controls
  4. Grant the runtime identity AcrPull access to the correct registry scope

Explanation

Correct Answer

D:

For an ACR instance configured in RBAC Registry Permissions mode rather than repository ABAC mode, the built-in AcrPull role authorizes an identity to retrieve repository image manifests and layers. The runtime already uses the correct managed identity and has a valid network path and image reference, so the missing effective pull assignment is the named root cause of ImagePullBackOff. Assign AcrPull to that identity at the registry's supported scope, allow assignment propagation, and validate an actual image pull. Do not grant subscription Contributor or assume control-plane Reader is enough. In ABAC mode the corresponding repository role would be Container Registry Repository Reader, which this stem excludes.

Incorrect Answers

A:

Azure Reader permits inspection of management-plane settings, not necessarily the image-manifest and layer downloads that authenticate a container runtime to Azure Container Registry. The failure is not inability to view the registry resource in ARM; diagnostics show that the managed identity lacks the registry data-plane pull role. Since the registry is explicitly in the legacy RBAC Registry Permissions mode, assign AcrPull to the identity at the proper registry scope. Reader alone does not confer those pull operations. For an ABAC-enabled registry the role choice would differ, but that is ruled out here.

B:

The nearby action 'Validate approved registry network path and runtime outbound reachability' is associated with this separate need: a registry is private and network restricted; a container service can authenticate but still cannot pull images. That is because ACR role assignment does not by itself open a blocked firewall or private endpoint path. Here a deployment fails with ImagePullBackOff because its managed identity lacks registry pull permission, so 'Validate approved registry network path and runtime outbound reachability' misses the fact that registry authentication to retrieve images differs from container app compute permissions. 'Grant the runtime identity AcrPull access to the correct registry scope' is the more defensible action; confirm its behavior in the target service before calling the task complete.

C:

'Create Azure Container Registry with appropriate authentication and network controls' solves another task because ACR holds OCI container images; repository access and pull authorization are separate concerns. For the situation where a deployment fails with ImagePullBackOff because its managed identity lacks registry pull permission, this distractor misses the requirement that registry authentication to retrieve images differs from container app compute permissions. Unlike 'Create Azure Container Registry with appropriate authentication and network controls', 'Grant the runtime identity AcrPull access to the correct registry scope' directly targets that requirement; its success must be confirmed at the authorized resource scope.

Question 287

A production deployment must pull exactly the same container-image manifest months later even if any human-readable tag, including `latest`, is reassigned. What identifier should the deployment pin?

  1. Create Azure Container Registry with appropriate authentication and network controls
  2. Reference the ACR image by its immutable manifest SHA-256 digest
  3. Provide valid registry pull credentials or identity permissions for the image
  4. Use managed secrets and references through Container Apps configuration or identity
  5. Retain image versions needed for tested rollback before applying registry cleanup

Explanation

Correct Answer

B:

Use the image repository together with its immutable manifest digest, for example `myregistry.azurecr.io/api@sha256:<digest>`, in the deployment configuration. A digest identifies the specific image manifest even if `latest` or a version tag is later reassigned to newly pushed content. A unique nonreused tag is a useful release-management convention, but a human-readable tag is not intrinsically immutable: its target can change unless separately governed. Digest pinning supplies the stronger content identity this question explicitly asks for. Also retain that manifest in ACR so a rollback months later doesn't fail because registry cleanup removed the referenced artifact.

Incorrect Answers

A:

An Azure Container Registry provides repositories, image manifests and authentication controls, but simply creating the registry does not identify which of several image builds should run in production. Even a secured registry can contain a `latest` tag that later points to a different manifest after another push. The requirement is an exact, reproducible image selection months after the original release. Pin the deployment to the manifest's SHA-256 digest and ensure the referenced manifest remains retained. Registry network policies and repository authorization remain important, but they answer who can pull images rather than which content is pinned.

C:

ACR pull authentication controls whether a container runtime or workload identity may download an authorized repository. Without the correct permissions, a perfectly pinned image can still fail to start, so the permission is an operational prerequisite. But a successful authorized pull by a mutable tag such as `latest` may still fetch a different manifest after someone republishes the tag. The situation asks how to bind a deployment to exactly the same image content despite tag movement, not how to fix a 401 Unauthorized registry error. Use the manifest digest as the deployment reference, with least-privilege pull rights handled separately.

D:

Secrets and managed-identity references are appropriate for authenticating Azure Container Apps or other workloads to their configured services. They avoid embedding credentials in image layers or source repositories, but they do not constrain which ACR manifest a tag resolves to. An application could have perfect secret hygiene and still be redeployed with a different build because `latest` was repointed. The reproducible-content requirement needs an immutable digest reference. Identity and secret controls should accompany the deployment, not be mistaken for the artifact-identity mechanism that pins a particular set of image layers.

E:

Retaining old registry manifests is necessary for rollback availability: a digest cannot be pulled if the registry policy already purged its image. However, retention alone does not specify the manifest that the deployment should choose. If the deployment points to a mutable tag, it may select the new build even while the old manifest remains stored. Pin the manifest digest at deployment time and protect that artifact from unintended cleanup through appropriate lifecycle policies. The first action establishes exact content identity; retention is a separate condition for whether that identity remains retrievable later.

Question 288

A Container Apps workload has a private Azure Container Registry. Its managed identity already has verified AcrPull permissions, but image pulls fail with a TCP connection timeout and registry DNS resolves to a public address that the workload cannot reach. Which next check best targets the failure?

  1. Create Azure Container Registry with appropriate authentication and network controls
  2. Grant another duplicate AcrPull assignment without testing private DNS or registry network reachability
  3. Validate approved registry network path and runtime outbound reachability
  4. Assign push/write authority to CI and pull-only authority to production identities

Explanation

Correct Answer

C:

Azure Container Registry requires both the appropriate image-pull authorization and a reachable registry endpoint. Here AcrPull is explicitly confirmed, while the client receives a TCP connection timeout and the registry hostname resolves to a public endpoint outside the approved private route. Those observations point to private DNS, private endpoint connectivity, firewall, egress or registry data-endpoint reachability rather than a missing role. Check DNS records and VNet links for the registry FQDN and its data endpoints, then trace network traffic from the Container Apps environment and retest the pull. Do not broaden registry permissions to compensate for a path failure.

Incorrect Answers

A:

'Create Azure Container Registry with appropriate authentication and network controls' solves another task because ACR holds OCI container images; repository access and pull authorization are separate concerns. For the situation where a registry is private and network restricted; a container service can authenticate but still cannot pull images, this distractor misses the requirement that ACR role assignment does not by itself open a blocked firewall or private endpoint path. Unlike 'Create Azure Container Registry with appropriate authentication and network controls', 'Validate approved registry network path and runtime outbound reachability' directly targets that requirement; its success must be confirmed at the authorized resource scope.

B:

AcrPull is needed for image reading under the compatible Azure Container Registry permission model, but the scenario states the workload identity already has that permission. A TCP timeout and registry DNS resolving to an unreachable public address indicate a path or name-resolution problem before successful image transfer. Repeating the same role cannot create private endpoint routing, a valid private DNS zone link or approved egress to the registry endpoints. Verify the actual endpoint resolution and network path, using ACR health diagnostics where supported, before changing permissions.

D:

The nearby action 'Assign push/write authority to CI and pull-only authority to production identities' is associated with this separate need: a CI publisher must push images, while production containers only pull. That is because acrPush and AcrPull capabilities are distinct; runtime does not need publication privileges. Here a registry is private and network restricted; a container service can authenticate but still cannot pull images, so 'Assign push/write authority to CI and pull-only authority to production identities' misses the fact that ACR role assignment does not by itself open a blocked firewall or private endpoint path. 'Validate approved registry network path and runtime outbound reachability' is the more defensible action; confirm its behavior in the target service before calling the task complete.

Question 289

A cleanup task deletes old container images while the rollback plan still references them. What must be preserved?

  1. Deploy using an immutable image digest or controlled version tag
  2. Create Azure Container Registry with appropriate authentication and network controls
  3. Retain image versions needed for tested rollback before applying registry cleanup
  4. Grant the runtime identity AcrPull access to the correct registry scope

Explanation

Correct Answer

C:

'Retain image versions needed for tested rollback before applying registry cleanup' fits the case in which a cleanup task deletes old container images while the rollback plan still references them because removing a referenced digest can prevent redeployment of a known-good build. By contrast, 'Deploy using an immutable image digest or controlled version tag' addresses a different condition: a mutable tag can resolve to different image content over time, obscuring rollback identity; it would not establish the outcome needed for this particular Azure resource. For 'Retain image versions needed for tested rollback before applying registry cleanup', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

When a production deployment should be reproducible even if the `latest` tag is repointed, the action 'Deploy using an immutable image digest or controlled version tag' can be relevant: a mutable tag can resolve to different image content over time, obscuring rollback identity. For the different problem of a cleanup task deletes old container images while the rollback plan still references them, 'Deploy using an immutable image digest or controlled version tag' misses the mechanism that removing a referenced digest can prevent redeployment of a known-good build. Choosing 'Deploy using an immutable image digest or controlled version tag' would address that other need, whereas 'Retain image versions needed for tested rollback before applying registry cleanup' is intended to solve the stated condition.

B:

'Create Azure Container Registry with appropriate authentication and network controls' applies to a different feature boundary because ACR holds OCI container images; repository access and pull authorization are separate concerns. In the stated scenario where a cleanup task deletes old container images while the rollback plan still references them, 'Create Azure Container Registry with appropriate authentication and network controls' does not satisfy the mechanism that removing a referenced digest can prevent redeployment of a known-good build. The necessary action is 'Retain image versions needed for tested rollback before applying registry cleanup', which should be checked against this Azure resource's actual permissions and state.

D:

'Grant the runtime identity AcrPull access to the correct registry scope' solves another task because registry authentication to retrieve images differs from container app compute permissions. For the situation where a cleanup task deletes old container images while the rollback plan still references them, this distractor misses the requirement that removing a referenced digest can prevent redeployment of a known-good build. Unlike 'Grant the runtime identity AcrPull access to the correct registry scope', 'Retain image versions needed for tested rollback before applying registry cleanup' directly targets that requirement; its success must be confirmed at the authorized resource scope.

Question 290

A nightly batch job processes one file, then exits; the team wants no long-lived app hosting platform. Which service fits?

  1. Inspect container termination status, logs and expected output artifacts
  2. Evaluate Container Apps replica scaling versus fixed ACI group sizing
  3. Run the isolated task in Azure Container Instances where appropriate
  4. Provide valid registry pull credentials or identity permissions for the image
  5. Restrict ingress and expose only required ports through approved network configuration

Explanation

Correct Answer

C:

'Run the isolated task in Azure Container Instances where appropriate' fits the case in which a nightly batch job processes one file, then exits; the team wants no long-lived app hosting platform because ACI provisions a container group directly without requiring full managed microservice revision features. By contrast, 'Inspect container termination status, logs and expected output artifacts' addresses a different condition: scheduling a container is not evidence its batch logic completed or wrote the intended result; it would not establish the outcome needed for this particular Azure resource. For 'Run the isolated task in Azure Container Instances where appropriate', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

'Inspect container termination status, logs and expected output artifacts' applies to a different feature boundary because scheduling a container is not evidence its batch logic completed or wrote the intended result. In the stated scenario where a nightly batch job processes one file, then exits; the team wants no long-lived app hosting platform, 'Inspect container termination status, logs and expected output artifacts' does not satisfy the mechanism that ACI provisions a container group directly without requiring full managed microservice revision features. The necessary action is 'Run the isolated task in Azure Container Instances where appropriate', which should be checked against this Azure resource's actual permissions and state.

B:

The nearby action 'Evaluate Container Apps replica scaling versus fixed ACI group sizing' is associated with this separate need: a team proposes a single large ACI container for intermittent unpredictable HTTP demand rather than using managed autoscaling. That is because ACI sizes a container group; Container Apps can add replicas based on configured triggers. Here a nightly batch job processes one file, then exits; the team wants no long-lived app hosting platform, so 'Evaluate Container Apps replica scaling versus fixed ACI group sizing' misses the fact that ACI provisions a container group directly without requiring full managed microservice revision features. 'Run the isolated task in Azure Container Instances where appropriate' is the more defensible action; confirm its behavior in the target service before calling the task complete.

D:

When an ACI container group repeatedly fails to start with unauthorized image errors, the action 'Provide valid registry pull credentials or identity permissions for the image' can be relevant: container group startup requires image authorization; increasing CPU won't fix a registry rejection. For the different problem of a nightly batch job processes one file, then exits; the team wants no long-lived app hosting platform, 'Provide valid registry pull credentials or identity permissions for the image' misses the mechanism that ACI provisions a container group directly without requiring full managed microservice revision features. Choosing 'Provide valid registry pull credentials or identity permissions for the image' would address that other need, whereas 'Run the isolated task in Azure Container Instances where appropriate' is intended to solve the stated condition.

E:

'Restrict ingress and expose only required ports through approved network configuration' applies to a different feature boundary because container group endpoint design should not publish unrelated debugging services. In the stated scenario where a nightly batch job processes one file, then exits; the team wants no long-lived app hosting platform, 'Restrict ingress and expose only required ports through approved network configuration' does not satisfy the mechanism that ACI provisions a container group directly without requiring full managed microservice revision features. The necessary action is 'Run the isolated task in Azure Container Instances where appropriate', which should be checked against this Azure resource's actual permissions and state.


Microsoft Azure Administrator (AZ-104) Practice Tests

Purchase Individually

AZ-104 Premium File

Premium File
AZ-104 Premium File
606 Q&A
$76.99$69.99

AZ-104 Training Video Course

Training Course
AZ-104 Training Video Course
132 Lectures
$27.49$24.99

AZ-104 Study Guide

Study Guide
AZ-104 Study Guide
458 PDF Pages
$27.49$24.99

Site Search:

 

VISA, MasterCard, AmericanExpress, UnionPay

SPECIAL OFFER: GET 10% OFF

ExamCollection Premium

ExamCollection Premium Files

Pass your Exam with ExamCollection's PREMIUM files!

  • ExamCollection Certified Safe Files
  • Guaranteed to have ACTUAL Exam Questions
  • Up-to-Date Exam Study Material - Verified by Experts
  • Instant Downloads
Enter Your Email Address to Receive Your 10% Off Discount Code
A Confirmation Link will be sent to this email address to verify your login
We value your privacy. We will not rent or sell your email address

SPECIAL OFFER: GET 10% OFF

Use Discount Code:

MIN10OFF

A confirmation link was sent to your e-mail.
Please check your mailbox for a message from support@examcollection.com and follow the directions.

Next

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your e-mail address below to get started with our interactive software demo of your free trial.

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.