All Coursera Quiz Answers

Reliable Google Cloud Infrastructure: Design and Process Coursera Quiz Answers

In this article i am gone to share Understanding Reliable Google Cloud Infrastructure: Design and Process | All Weeks Quiz Answers | Reliable Google Cloud Infrastructure: Design and Process Coursera Quiz Answers with you..

Enrol Link:  Reliable Google Cloud Infrastructure: Design and Process

Reliable Google Cloud Infrastructure: Design and Process Coursera Quiz Answers


 

Defining Services Quiz Answers

Question 1)
Which best describes an SLO?

  • It is a target reliability you want your service to achieve.
  • It is a contract with end users that guarantees service quality
  • It is a short, measurable description of an application feature.
  • It is a measurable, time bound key performance indicator for your application.

Question 2)
Using SMART criteria, which below would be the least effective KPI?

  • Page views per hour
  • User experience design
  • Clicks per session
  • User signups per month

Question 3)
Which best describes a user story?

  • It is a requirement of the system you are developing.
  • It is a short description of a feature written from the user’s point of view.
  • It is a narrative that describes the sequence of steps a typical user would perform to accomplish some task or goal when using the system.
  • It is a short description of a typical person using the system.

 


 

Microservice Design and Architecture Quiz Answers

Question 1)
You’re building a RESTful microservice. Which would be a valid data format for returning data to the client?

  • XML
  • JSON
  • HTML
  • All of the above.

Question 2)
You’re writing a service, and you need to handle a client sending you invalid data in the request. What should you return from the service?

  • A 500 error code
  • A 200 error code
  • A 400 error code
  • An XML exception

Question 3)
Which below would violate 12-factor app best practices?

  • Store configuration information in your source repository for easy versioning.
  • Explicitly declare and isolate dependencies.
  • Treat logs as event streams and aggregate logs into a single source.
  • Keep development, testing, and production as similar as possible.

Question 4)
You’ve re-architected a monolithic web application so 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?

  • Increase the number of CPUs in the database server.
  • Make sure all web servers are in the same zone as the database.
  • Move session state back onto the web servers and use sticky sessions in the load balancer.
  • Use a caching service like Redis or Memorystore.

 


 

DevOps Automation Quiz Answers

Question 1)
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
  • Cloud Functions
  • App Engine
  • Cloud Scheduler

Question 2)
Which Google Cloud tools can be used to build a continuous integration pipeline?

  • All of the these
  • Cloud Build
  • Container Registry
  • Cloud Source Repositories

 


 

Choosing Storage Solutions Quiz Answers

Question 1)
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?

  • Move the data to Spanner.
  • Move the data to BigQuery.
  • Move the data to Cloud Bigtable.
  • Cache the data using Memorystore.

Question 2)
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?

  • BigQuery
  • Spanner
  • Cloud SQL
  • Firestore

Question 3)
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?

  • Cloud SQL
  • Spanner
  • Firestore
  • BigQuery

Question 4)
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?

  • Cloud SQL.
  • Spanner.
  • BigQuery.
  • Firestore.

 


 

Google Cloud and Hybrid Network Architecture Quiz Answers

Question 1)
You want a secure, private connection between your network and a Google Cloud network. There is not a lot of volume, but the connection needsto be extremely reliable. Which configuration below would you choose?

  • VPN
  • VPN with high availability and Cloud Router.
  • Cloud Interconnect
  • VPC peering

Question 2)
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
  • VPN with high availability and Cloud Router.
  • VPN
  • Cloud Interconnect

Question 3)
You are a large bank deploying an online banking service to Google Cloud. The services needs high volume access to mainframe data on-premises. Which connectivity option would likely be best?

  • VPN
  • Peering
  • Cloud Interconnect
  • HTTPS

Question 4)
You are deploying a 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?

  • UDP load balancer with SSL configured and the CDN enabled.
  • HTTP load balancer with SSL configured and the CDN enabled.
  • TCP load balancer with SSL configured.
  • HTTP load balancer with SSL configured.

 


 

Deploying Applications to Google Cloud Quiz Answers

Question 1)
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?

  • GKE
  • App Engine
  • Cloud Functions
  • Compute Engine

Question 2)
You have containerized multiple applications using Docker and have deployed them using Compute Engine VMs. You want to save cost and simplify container management. What might you do.

  • Rewrite the applications to run in App Engine.
  • Rewrite the applications to run in Cloud Functions.
  • Migrate the containers to GKE.
  • Write Terraform scripts for all deployment.

Question 3)
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
  • GKE
  • Cloud Functions
  • App Engine

 


 

Designing Reliable Systems Quiz Answers

Question 1)
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
  • Overload feedback repudiation
  • Truncated exponential backoff
  • Lazy caching

Question 2)
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?

  • Spanner
  • Firestore
  • Cloud SQL
  • BigQuery

 


 

Security Quiz Answers

Question 1)
What do you have to do to enable encryption when using Cloud Storage?

  • Create an encryption key using Cloud Key Management Service, and selectit when creating a Cloud Storage bucket.
  • Enable encryption and upload a key.
  • Simply enable encryption when configuring a bucket.
  • Nothing as encryption is enabled by default.

Question 2)
Which Google Cloud features could help prevent DDoS attacks?

  • Google Cloud Armor
  • Cloud CDN
  • HTTP global load balancer
  • All of the these

Question 3)
You don’t want programmers to have access to production resources. What’s the easiest way to do this in Google Cloud?

  • Set up private access and Identity-Aware Proxy.
  • Create development and production projects, and don’t give developers access to production.
  • Use different service accounts for production and development resourceswith your project.
  • Create a firewall rule that blocks developer access to production servers and databases.

Question 4)
What Google Cloud service can you use to enforce the principle of least privilege when using Google Cloud?

  • Firewall rules
  • IAM members and roles
  • Encryption keys
  • SSL certificates

 


 

Maintenance and Monitoring Quiz Answers

Question 1)
Your service has an availability SLO of 99%. What could you use to monitor whether you are meeting it?

  • Uptime check
  • Readiness probe
  • Health check
  • Liveness probe

Question 2)
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?

  • Sustained use discount
  • Sole tenant nodes
  • Committed use discount
  • Preemptible machines

Question 3)
You made a minor update to a 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
  • A/B testing
  • Rolling update
  • Blue/green deployment

Question 4)
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?

  • Canary deployment
  • A/B test
  • Blue/green deployment
  • Rolling update