StudyByteLearn
← AZ-305: Azure Infrastructure Solutions
AZ-305 · Application architecture

Practice question 308 of 400 · medium

Two engineers deploy shared Terraform-managed infrastructure. Their local state files diverge and may contain secrets. Which design change fits?

Choose the single best answer.

  1. A.Replace state locking with a shorter DNS TTL
  2. B.Use a secured shared remote state backend with locking
  3. C.Commit plaintext state with credentials to a public repository
  4. D.Give each engineer an independent uncoordinated state file for the same resources
Show the answer and explanation

✓ Correct answer

  • Use a secured shared remote state backend with locking

Secured shared state and locking coordinate resource tracking and protect sensitive content. Public plaintext state exposes secrets, divergent local state permits conflicting changes, and DNS TTL does not serialize infrastructure operations. Source guide: PDF page(s) 54.

Read the source reference

This item is flagged for content review.

Read and review here, or open the app to practise and save your results on this device.

Unofficial study aid; not affiliated with or endorsed by Microsoft. Original practice questions are not real examination questions and do not guarantee an exam result.