Table of Contents
Reliable Google Cloud Infrastructure: Design and Process Week 01 Quiz Answers
Q1. Which best describes an SLO?
- It is a target reliability you want your service to achieve.
Q2. Using SMART criteria, which below would be the least effective KPI?
- User experience design
Q3. Which best describes a user story?
- It is a short description of a feature written from the user’s point of view.
Microservice Design and Architecture Quiz Answers
Q1. You’re building a RESTful microservice. Which would be a valid data format for returning data to the client?
- All of the above.
Q2. You’re writing service, and you need to handle a client sending you invalid data in the request. What should you return from the service?
- A 400 error code
Q3. Which below would violate 12-factor app best practices?
- Store configuration information in your source repository for easy versioning.
Q4. You’ve re-architected a monolithic web application so the state is not stored in memory on the web servers, but in a database instead. This has caused slow performance when retrieving user sessions though. What might be the best way to fix this?
- Use a caching service like Redis or Memorystore.
DevOps Automation Quiz Answers
Q1. What Google Cloud feature would be easiest to use to automate a build in response to code being checked into your source code repository?
- Build triggers
Q2. Which Google Cloud tools can be used to build a continuous integration pipeline?
- All of the these
Choosing Storage Solutions Quiz Answers
Q1. Currently, you are using Firestore to store information about products, reviews, and user sessions. You’d like to speed up data access in a simple, cost-effective way. What would you recommend?
- Cache the data using Memorystore.
Q2. You want to analyze sales trends. To help achieve this, you want to combine data from your on-premises Oracle database with Google Analytics data and your web server logs. Where might you store the data so it is both easy to query and cost-effective?
Q3. You are a global financial services company with users all over the world. You need a database service that can provide low latency worldwide with strong consistency. Which service might you choose?
Q4. You need to store user preferences, product information, and reviews for a website you are building. There won’t be a huge amount of data. What would be a simple, cost-effective, managed solution?
Google Cloud and Hybrid Network Architecture Quiz Answers
Q1. You want a secure, private connection between your network and a Google Cloud network. There is not a lot of volumes, but the connection needs to be extremely reliable. Which configuration below would you choose?
- VPN with high availability and Cloud Router.
Q2. You have a contract with a service provider to manage your Google VPC networks. You want to connect a network they own to your VPC. Both networks are in Google Cloud. Which Connection option should you choose?
- VPC peering
Q3. You are a large bank deploying an online banking service to Google Cloud. The services need high volume access to mainframe data on-premises. Which connectivity option would likely be best?
- Cloud Interconnect
Q4. You are deploying large-scale web applications with users all over the world and a lot of static content. Which load balancer configuration would likely be the best?
- HTTP load balancer with SSL configured and the CDN enabled.
Reliable Google Cloud Infrastructure: Design and Process Week 02 Quiz Answers
Q1. You’ve been asked to write a program that uses Vision API to check for inappropriate content in photos that are uploaded to a Cloud Storage bucket. Any photos that are inappropriate should be deleted. What might be the simplest, cheapest way to deploy in this program?
- Cloud Functions
Q2. You have containerized multiple applications using Docker and have deployed them using Compute Engine VMs. You want to save costs and simplify container management. What might you do?
- Migrate the containers to GKE.
Q3. You need to deploy an existing application that was written in .NET version 4. The application requires Windows servers, and you don’t want to change it. Which should you use?
- Compute Engine
Designing Reliable Systems Quiz Answers
Q1. You’re creating a service and you want to protect it from being overloaded by too many client retries in the event of a partial outage. Which design pattern would you implement?
- Circuit breaker
Q2. You need a relational database for a system that requires extremely high availability (99.999%). The system must run uninterrupted even in the event of a regional outage. Which database would you choose?
Security Quiz Answers
Q1. What do you have to do to enable encryption when using Cloud Storage?
- Nothing as encryption is enabled by default.
Q2. Which Google Cloud features could help prevent DDoS attacks?
- All of the these
Q3. You don’t want programmers to have access to production resources. What’s the easiest way to do this in Google Cloud?
- Create development and production projects, and don’t give developers access to production.
Q4. What Google Cloud service can you use to enforce the principle of least privilege when using Google Cloud ?
- IAM members and roles
Maintenance and Monitoring Quiz Answers
Q1. Your service has an availability SLO of 99%. What could you use to monitor whether you are meeting it?
- Uptime check
Q2. You’re deploying test environments using Compute Engine VMs. Some downtime is acceptable, and it is very important to deploy them as inexpensively as possible. What single thing below could save you the most money?
- Preemptible machines
Q3. You made a minor update to the service and would like to test it in production by sending a small portion of requests to the new version. Which would you choose?
- Canary deployment
Q4. You’ve made a minor fix to one of your services. You want to deploy the new version with no downtime. Which would you choose ?
- Rolling update
All Course Quiz Answers of Preparing for Google Cloud Certification: Cloud Architect Professional Certificate
Preparing for the Google Cloud Professional Cloud Architect Exam Quiz Answers