nerdexam
MicrosoftMicrosoft

DP-420 · Question #77

DP-420 Question #77: Real Exam Question with Answer & Explanation

The correct answer is A: The account will be unavailable to writes during the change. {"question_number": 4, "correct_answer": "A", "explanation": "The PowerShell command Update-AzCosmosDBAccountFailoverPriority with East US at priority 0 and West US at priority 1 initiates a manual regional failover, promoting East US to the read-write region. During this transit

Maintain an Azure Cosmos DB solution

Question

You have an Azure Cosmos DB Core (SQL) API account named account1 that is configured for automatic failover. The account1 account has a single read-write region in West US and a read region in East US. You run the following PowerShell command. Update-AzCosmosDBAccountFailoverPriority -ResourceGroupName `rg1` -Name `account1` -FailoverPolicy @(`East US`, `West US`) What is the effect of running the command?

Options

  • AThe account will be unavailable to writes during the change
  • BThe provisioned throughput for account1 will increase
  • CThe account will be configured for multi-region writes
  • DA manual failover will occur

Explanation

{"question_number": 4, "correct_answer": "A", "explanation": "The PowerShell command Update-AzCosmosDBAccountFailoverPriority with East US at priority 0 and West US at priority 1 initiates a manual regional failover, promoting East US to the read-write region. During this transition, the account must hand off write responsibility from West US to East US. Cosmos DB guarantees strong internal consistency during the handoff, but writes are briefly unavailable while the new write region is established. The account is NOT configured for multi-region writes (that requires a separate setting), throughput is not changed, and while a failover does occur, the direct observable effect the question tests is the temporary write unavailability.", "generated_by": "claude-sonnet", "llm_judge_score": 4}

Topics

#Azure Cosmos DB#Failover#Regional Replication#PowerShell

Community Discussion

No community discussion yet for this question.

Full DP-420 PracticeBrowse All DP-420 Questions