100% Latest & Updated Microsoft AZ-104 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 300
A team wants to replicate block blob changes automatically from one Azure Storage account to another account across regions. It has already enabled blob versioning and change feed as required. What remaining configuration establishes the source-to-destination mapping?
- Enable the source change feed and destination versioning without defining the source and destination container pair in a replication policy
- Configure a destination lifecycle management policy to copy new source versions into the target container
- Create an object replication policy identifying the source and destination containers
- Create a Geo-redundant storage account and assume its paired-region replica is the separate destination account named in this requirement
Explanation
Correct Answer
C:Object replication requires a policy/rule linking source and destination containers in compatible accounts. Versioning and change feed alone do not specify where a particular blob change should be copied.
Incorrect Answers
A:Versioning and change feed are prerequisites but not the rule mapping. Object replication requires a policy defining the eligible source and destination containers.
B:Blob lifecycle management transitions or deletes objects by policy; it does not define cross-account object replication mappings. A source-to-destination object replication policy is required.
D:GRS supplies platform-managed asynchronous durability replicas, not a configured independent object-replication policy between the two named storage accounts and containers.
Question 301
A storage team configured object replication between two versioning-enabled accounts but a virtual-machine VHD stored as a page blob does not appear at the destination. Other eligible objects replicate. What explains this specific gap?
- Change the object replication rule container prefix to include the VHD name
- Object replication supports eligible block blobs, not page blob VHDs
- Enable the change feed on both accounts and retry page blob replication
- Turn on versioning for the destination account only
Explanation
Correct Answer
B:Azure Blob object replication applies to supported block blobs, not page blobs used for VHDs. Healthy replication of other eligible blobs does not change the unsupported blob-type boundary.
Incorrect Answers
A:A rule prefix cannot override the service restriction to supported blob types, even if the page blob matches a prefix.
C:Change feed is required for supported object replication configurations, but it does not make page blob VHDs eligible for the feature.
D:Versioning is a prerequisite for supported cases, not an extension of object replication to unsupported page blob types.
Question 302
A workload writes a block blob to a source account and immediately checks a destination account linked by standard Blob object replication. The destination sometimes lacks the newest version for several minutes. What reliability assumption must the application change?
- Object replication is synchronous and the destination should be updated in the same transaction
- Ordinary object replication is asynchronous; consumers must tolerate lag or verify replication status instead of assuming immediate visibility
- Use only a VNet service endpoint to accelerate object replication after source write
- Use a Storage account replication policy and assume reads block until destination copy finishes
Explanation
Correct Answer
B:Standard object replication processes changes asynchronously without an immediate completion guarantee. Applications should design for eventual arrival and assess any special priority mode guarantees separately.
Incorrect Answers
A:The source upload can succeed before the destination copy completes. Assuming same-transaction consistency incorrectly treats asynchronous replication as synchronous storage.
C:Service endpoints affect network reachability and authorization boundaries, not the schedule for asynchronous replication between storage accounts.
D:Creating a standard replication policy does not turn source writes into synchronous transactions or guarantee a zero-lag destination view.
Question 303
A company replicates selected Blob objects from a source account to a recovery account. Only objects under records/ should be copied; archived blobs and temporary exports must not be selected. What object-replication configuration is relevant?
- Enable anonymous access for the temporary exports
- Use the Blob lifecycle-management prefix filter alone and assume it automatically governs which objects a separate replication policy copies
- Configure source and destination container rules with a suitable prefix filter for eligible objects
- Configure a Blob object-replication policy for all source containers, then rely on an account-level metadata tag to limit it to the requested prefix
Explanation
Correct Answer
C:Object replication rules can restrict copied objects by supported path prefixes. That makes replication selective instead of blindly including unrelated records within a configured container.
Incorrect Answers
A:Public access settings govern who can read blobs, not object-replication selection. They also introduce unnecessary disclosure.
B:Lifecycle management rules govern tiering or deletion, not the source/destination object-replication policy's inclusion criteria. A replication policy must carry its own supported container and prefix rules for the selected objects.
D:A broad object-replication rule cannot use an arbitrary account-level Resource Manager tag as the per-object prefix filter. Use the supported source/destination container rules and object-name prefix selection instead.
Question 304
An object replication policy is created for two containers that already hold thousands of older block blobs. Days later, the destination contains only newly created blobs. Which rule setting should the architect verify?
- Configure the replication policy's eligible copy scope to include the preexisting source blobs
- Change the object-replication destination container prefix filter to include all names while leaving the copy scope on new objects only
- Enable blob change feed on the source account again without reviewing whether the replication policy copies objects predating its creation
- Recreate the destination container with the same name but retain the replication rule’s new-objects-only copy scope
Explanation
Correct Answer
A:By default, replication after a new rule can focus on new objects. Copying the historical inventory may require a specified existing-object scope; merely waiting for newer writes will not necessarily backfill it.
Incorrect Answers
B:A broader prefix match selects names but does not backfill preexisting blobs when the copy scope still excludes old objects. Review the eligible copy scope for the original source inventory.
C:The scenario already has a functioning rule that copies new objects. Re-enabling a prerequisite does not change the configured eligibility of older blobs; choose the copy scope that includes them.
D:A new destination container does not alter an unchanged rule that selects only new source objects. The missing operation is a configuration change that makes historical source blobs eligible for copying.
Question 305
An application wants to write audit records directly into a destination container currently receiving blobs from an active object replication policy. Writes return HTTP 409 Conflict even though the application has a data Contributor role. What restriction explains the conflict?
- Enable Blob versioning on the replication destination and assume it removes the active replication rule’s write lock
- An active object replication policy can lock its destination container against direct application writes
- Grant the application subscription Owner and retry in the same locked container
- Set Blob soft delete retention to zero
Explanation
Correct Answer
B:The application has Contributor permissions, but the object replication policy protects the target container against direct client writes, so the service returns HTTP 409 Conflict. Use an independently writable container for application audit records, or remove/reconfigure the destination replication rule through approved change control. Granting additional RBAC rights or enabling versioning does not override this replication-state restriction.
Incorrect Answers
A:Blob versioning is a prerequisite for object replication and provides historical versions, but it does not authorize direct writes to a destination container while an object replication rule locks it. The 409 is caused by the active policy, not a lack of blob versions. Use another container or remove the rule through approved change control.
C:Owner increases management privileges but does not make the replication destination accept incompatible direct writes. The service returns a conflict based on policy state.
D:Soft-delete retention concerns recovery after deletion, not the destination's replication write restriction. Removing protection would not allow the conflicting upload.
Question 306
A source block blob is replicated successfully to another storage account. An administrator later changes the source blob's access tier from Hot to Cool without modifying its content. The destination retains its prior tier. Why?
- Enable change feed on the destination account and expect the existing object replication policy to replay source tier-only changes
- Disable and recreate the object replication policy to backfill all previously changed blob access-tier settings
- Manage destination tier policy independently when access tier parity is required
- Assume replication automatically copies every source storage account setting
Explanation
Correct Answer
C:Object replication copies eligible blob versions, not every account-specific storage property transition. A source blob tier change is not necessarily replicated as a destination tier change.
Incorrect Answers
A:Object replication depends on change tracking for eligible blob content and versions, but a destination-side change feed does not transform a source-only Hot-to-Cool tier update into a replicated data version. Access tier is a separate lifecycle choice at the destination and may require its own policy.
B:Recreating a replication policy does not convert source tier metadata transitions into supported replicated object versions. It may disrupt replication or require fresh initial copying, while tier parity still needs independent destination management.
D:Replication rules operate at the object level and have defined supported behavior. Account settings and tier policies are not a general bidirectional mirror.
Question 307
A compliance standard requires the organization, rather than Microsoft alone, to control the cryptographic key used for supported Azure Storage encryption at rest. The storage account must still use the service’s encryption capabilities. Which approach fits?
- Use customer-managed keys backed by an appropriate Azure Key Vault key
- Retain Microsoft-managed keys and give the security team a Reader role on the storage account
- Require HTTPS for every Storage request without changing the encryption-key source
- Rotate storage account authentication keys and treat them as the at-rest encryption master keys
Explanation
Correct Answer
A:Customer-managed keys integrate Azure Storage encryption with a supported key held in Azure Key Vault or managed HSM. The organization controls the key lifecycle and must maintain key availability and required access.
Incorrect Answers
B:Read access to the storage configuration does not transfer cryptographic key custody. Microsoft-managed keys remain controlled by Microsoft rather than the organization.
C:TLS protects data while transmitted. The compliance constraint concerns who controls encryption keys for data at rest, which HTTPS-only transport cannot satisfy.
D:Storage account access keys sign requests; they are not the same as the customer-managed encryption key used by the Azure Storage encryption service. Rotating them does not establish key custody.
Question 308
A storage account encrypts data at rest using a customer-managed key in Azure Key Vault. A key administrator disables the key version that Storage uses, and data operations begin failing. Which dependency explains the outage?
- Rotate the application’s Storage account access key and retry without restoring the disabled Key Vault key
- Azure Storage encryption is disabled whenever a customer-managed key is selected
- Assign Storage Blob Data Contributor to the affected client identity without re-enabling the Key Vault key
- Storage needs authorized access to an enabled encryption key to perform its encryption operations
Explanation
Correct Answer
D:Customer-managed key encryption establishes an external key-lifecycle dependency. Disabling the key used by Storage can prevent the service from decrypting or processing protected data.
Incorrect Answers
A:Rotating a client authentication credential can change access-key authorization, but encryption of the stored data still depends on an enabled, accessible customer-managed key. As long as the version required by Storage is disabled, changing an unrelated Storage account key cannot unblock the envelope-encryption operation.
B:Customer-managed keys change who controls the key lifecycle; they do not turn off encryption at rest. The key dependency remains necessary.
C:Blob data-plane RBAC can authorize a client operation, but the service must still unwrap the account’s encryption key using an enabled Key Vault key. The given outage follows disabling the key version, so increasing client RBAC cannot restore the cryptographic dependency.
Question 309
A storage account must use a customer-managed key held in a Key Vault, and credentials must not be pasted into deployment scripts. Which principal should be authorized to access the key for encryption?
- Grant Key Vault get/wrap/unwrap permissions only to the human operator running the deployment while leaving the storage account identity without key access
- The storage account’s supported managed identity with the required key permissions
- An unauthenticated public identity for the Key Vault key
- Grant Key Vault unwrap permissions only to the deployed application's VM managed identity while omitting the storage-account managed identity
Explanation
Correct Answer
B:A managed identity lets the storage service authenticate to Key Vault without embedding long-lived secrets in configuration. The identity must have the necessary key access for encryption and decryption.
Incorrect Answers
A:Customer-managed encryption requires the authorized storage-account managed identity to access the configured Key Vault key. The operator's deployment identity does not become the ongoing encryption principal; giving permissions to the human alone leaves the storage service unable to use the key.
C:Key Vault should not expose encryption keys anonymously. Granting public access would destroy the intended controlled key-management boundary.
D:The encryption operation is performed by Azure Storage on behalf of its configured storage-account identity. Granting permissions to an unrelated VM identity does not let the storage service unwrap its customer-managed key.
Question 310
A security engineer is preparing an Azure Key Vault key as a customer-managed key for Storage encryption. The storage account will authenticate through a managed identity. Which vault-protection configuration must be checked before activation?
- Enable Key Vault soft delete and purge protection as required for storage encryption integration
- Grant the storage managed identity Key Vault Crypto User but disable purge protection
- Rotate the key monthly without enabling the required Key Vault protection settings
- Enable soft delete on blobs in the storage account instead of on the key vault
Explanation
Correct Answer
A:Storage customer-managed key integration expects protected key lifecycle, including soft delete and purge protection, so accidental or malicious key deletion does not permanently strand encrypted data.
Incorrect Answers
B:Cryptographic permission alone is not sufficient to meet the key lifecycle safeguards for the integrated encryption design.
C:Rotation can be valuable but does not replace recovery safeguards if a key version or vault is accidentally deleted.
D:Blob soft delete protects storage objects and cannot recover a deleted Key Vault encryption key needed to decrypt those objects.
Microsoft Azure Administrator (AZ-104) Practice Tests