الفلاتر
طريقة البحث
  • الكلمات العادية تجد الأسماء والنصوص والأمثلة.
  • "كلمتان" تجد العبارة بالضبط.
  • --name أو -x تجد خيارًا.
  • #كلمة تبحث داخل الأوامر فقط.
  • @grep تجد الدروس والمعامل التي تستخدم grep.
  • الفلاتر: cat:network · in:labs · level:rhcsa · ch:8 · root:yes. ضع ! قبل كلمة لاستبعادها. OR بين الكلمات تعني إحداها.
  • ↑ ↓ للتنقل · Enter للفتح · Esc للإغلاق · / للبحث

الفصل 13الاسم في الدورة: Exam preparation

Review Terraform and get ready for the exam

The Terraform Associate exam is multiple choice (with some multi-select and "fill in" answers), 1 hour. Check yourself with these tasks, then do practice questions until you are sure.

  • 4 الدروس
  • 2 الأوامر

هذا الجزء لم يُترجم بعد. أنت ترى النص الإنجليزي.

$ مستخدم عادي# بصلاحية root (أو مع sudo)

13.1

Workflow and fundamentals

Commands and what they do.

QuestionShort answer
Which command downloads providers?terraform init — lesson
Which file pins the exact provider versions?.terraform.lock.hcl — commit it — lesson
~> 4.20 allows which versions?4.20 and newer 4.x, not 5.0 — lesson
Use a second Azure subscription in one configA provider block with alias, provider = azurerm.dr — lesson
Check the style in CI without changing filesterraform fmt -check — lesson
Apply exactly the reviewed planplan -out=tfplan, then apply tfplan — lesson

13.2

Configuration

Blocks, types, expressions, conditions and secrets.

QuestionShort answer
Read an existing resource group without managing itdata "azurerm_resource_group" — lesson
Which variable value wins: tfvars or -var?-var on the command line — lesson
One subnet per map entry, stable addressesfor_each — lesson
Repeat NSG rule blocks from a listdynamic "security_rule" — lesson
Never let Terraform delete the databaselifecycle { prevent_destroy = true } — lesson
Warn (not fail) when a health URL is downA check block — lesson
Does sensitive = true encrypt the state?No, it only hides output — lesson

13.3

Modules, state and maintenance

Reuse, state, import and debugging.

QuestionShort answer
Can a child module read var.env of the root?No — pass it as an input — lesson
Pin a Git module to a version?ref=v1.2.0 in the source — lesson
Two people run apply at onceState locking blocks the second — lesson
Only update state with real valuesterraform apply -refresh-only — lesson
Bring an existing VNet under Terraformimport block (+ -generate-config-out) — lesson
Rename a resource without destroying itmoved block (or state mv) — lesson
See provider API errors in detailTF_LOG=DEBUG — lesson
Block plans with public IPs in a teamPolicy as code in HCP Terraform — lesson

الأوامر في هذا الدرس

13.4

Plan the exam day

Online proctored exam, about 57 questions in 60 minutes.

  • Read every word: "which is NOT", "choose two".
  • Many questions are about what a command does and where a setting lives.
  • Hands-on practice beats reading: if you built the Azure project, most answers come from memory.

Next: Git and GitHub Actions for the pipeline around the code.

كل الأوامر في هذا الفصل