Bird
Raised Fist0
GCPcloud~30 mins

Well-Architected Framework review in GCP - Mini Project: Build & Apply

Choose your learning style10 modes available
Well-Architected Framework Review on GCP
📖 Scenario: You are a cloud architect helping a small company understand how to review their Google Cloud Platform (GCP) setup using the Well-Architected Framework. This framework helps ensure their cloud infrastructure is reliable, secure, efficient, and cost-effective.
🎯 Goal: Build a simple checklist in code that represents the five pillars of the Well-Architected Framework on GCP. Then, add a configuration to mark which pillars have been reviewed. Finally, create logic to list the pillars that still need review and complete the checklist by marking all pillars as reviewed.
📋 What You'll Learn
Create a dictionary with the five Well-Architected Framework pillars as keys and their descriptions as values.
Add a configuration variable to track which pillars have been reviewed.
Write code to find and list pillars that are not yet reviewed.
Complete the checklist by marking all pillars as reviewed.
💡 Why This Matters
🌍 Real World
Cloud architects use the Well-Architected Framework to review and improve cloud infrastructure setups, ensuring they meet best practices for reliability, security, and cost.
💼 Career
Understanding how to represent and track cloud architecture reviews programmatically is useful for cloud engineers and architects managing GCP environments.
Progress0 / 4 steps
1
Create the Well-Architected Framework pillars dictionary
Create a dictionary called pillars with these exact entries: 'Operational Excellence' with value 'Focus on operations and monitoring', 'Security' with value 'Protect information and systems', 'Reliability' with value 'Ensure workload availability', 'Performance Efficiency' with value 'Use resources efficiently', and 'Cost Optimization' with value 'Manage costs effectively'.
GCP
Hint

Use a Python dictionary with the exact pillar names as keys and their descriptions as values.

2
Add a reviewed pillars set
Create a set called reviewed_pillars that contains exactly these two strings: 'Security' and 'Reliability' to represent the pillars already reviewed.
GCP
Hint

Use a Python set with the exact pillar names 'Security' and 'Reliability'.

3
List pillars not yet reviewed
Create a list called pending_review that contains all keys from pillars which are not in reviewed_pillars. Use a list comprehension with variables pillar for iteration.
GCP
Hint

Use a list comprehension to select pillars not in the reviewed_pillars set.

4
Mark all pillars as reviewed
Update the reviewed_pillars set to include all keys from pillars by assigning it to a set of all keys from pillars.
GCP
Hint

Assign reviewed_pillars to a set of all keys from pillars using set(pillars.keys()).

Practice

(1/5)
1. Which of the following is NOT one of the five pillars of the GCP Well-Architected Framework?
easy
A. Security
B. Reliability
C. Creativity
D. Cost Optimization

Solution

  1. Step 1: Recall the five pillars of the Well-Architected Framework

    The five pillars are Security, Reliability, Performance Efficiency, Cost Optimization, and Operational Excellence.
  2. Step 2: Identify the option that is not part of these pillars

    Creativity is not one of the five pillars.
  3. Final Answer:

    Creativity -> Option C
  4. Quick Check:

    Five pillars exclude Creativity [OK]
Hint: Remember the five pillars; anything outside is incorrect [OK]
Common Mistakes:
  • Confusing Performance Efficiency with Creativity
  • Thinking Creativity is a pillar
  • Mixing up Operational Excellence with Creativity
2. Which GCP service is primarily used to monitor and improve the reliability pillar in the Well-Architected Framework?
easy
A. Cloud Storage
B. Cloud Monitoring
C. Cloud Functions
D. Cloud Pub/Sub

Solution

  1. Step 1: Understand the role of Cloud Monitoring

    Cloud Monitoring helps track system health and uptime, which directly supports reliability.
  2. Step 2: Match the service to the reliability pillar

    Cloud Monitoring is designed to monitor and alert on system reliability issues.
  3. Final Answer:

    Cloud Monitoring -> Option B
  4. Quick Check:

    Monitoring = Reliability tool [OK]
Hint: Monitoring tools support reliability checks [OK]
Common Mistakes:
  • Choosing Cloud Storage which is for data storage
  • Selecting Cloud Functions which is for serverless compute
  • Picking Cloud Pub/Sub which is for messaging
3. Consider this snippet of a GCP infrastructure review checklist:
{"Security": "High", "Reliability": "Medium", "Cost Optimization": "Low"}
What does this output indicate about the system's cost management?
medium
A. Cost management needs improvement
B. Cost management is excellent and well optimized
C. Cost management is not evaluated
D. Cost management is irrelevant

Solution

  1. Step 1: Analyze the cost optimization value

    The value for Cost Optimization is "Low", indicating poor performance in this area.
  2. Step 2: Interpret what "Low" means for cost management

    Low means the system is not managing costs well and needs improvement.
  3. Final Answer:

    Cost management needs improvement -> Option A
  4. Quick Check:

    Low cost optimization = needs improvement [OK]
Hint: Low rating means improvement needed [OK]
Common Mistakes:
  • Assuming Low means good
  • Ignoring the cost optimization field
  • Confusing Low with Medium or High
4. You have a GCP deployment that fails to recover quickly from outages. Which pillar of the Well-Architected Framework is most likely not well implemented?
medium
A. Operational Excellence
B. Security
C. Cost Optimization
D. Reliability

Solution

  1. Step 1: Understand the meaning of recovery from outages

    Recovery from outages relates to system availability and fault tolerance.
  2. Step 2: Identify the pillar focused on availability and fault tolerance

    The Reliability pillar ensures systems recover quickly and remain available.
  3. Final Answer:

    Reliability -> Option D
  4. Quick Check:

    Recovery issues = Reliability problem [OK]
Hint: Recovery speed relates to reliability pillar [OK]
Common Mistakes:
  • Confusing Security with recovery
  • Choosing Cost Optimization which is about cost
  • Selecting Operational Excellence which is about processes
5. A company wants to improve their cloud system's security and cost efficiency simultaneously. According to the Well-Architected Framework, which two pillars should they focus on together to achieve this?
hard
A. Security and Cost Optimization
B. Reliability and Performance Efficiency
C. Operational Excellence and Reliability
D. Performance Efficiency and Security

Solution

  1. Step 1: Identify pillars related to security and cost

    Security pillar focuses on protecting data and systems; Cost Optimization focuses on managing expenses.
  2. Step 2: Match the pillars that address both goals

    Focusing on Security and Cost Optimization together addresses both security and cost efficiency.
  3. Final Answer:

    Security and Cost Optimization -> Option A
  4. Quick Check:

    Security + Cost Optimization = Both goals met [OK]
Hint: Match goals to pillars directly: security and cost [OK]
Common Mistakes:
  • Mixing unrelated pillars
  • Choosing only one pillar
  • Confusing Performance Efficiency with cost
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard