Week 5 - Design

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Which most accurately describes a user story? a) It is a requirement of the system you are developing. b) It is a short description of a feature written from the user's point of view. c) 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. d) It is a short description of a typical person using the system.

b) It is a short description of a feature written from the user's point of view.

Which best describes an SLO? a) It is a short, measurable description of an application feature. b) It is a target measure you want your service to achieve. c) It is a measurable, time bound key performance indicator for your application. d) It is a contract with end users that guarantees service quality

b) It is a target measure you want your service to achieve.

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? a) Increase the number of CPUs in the database server. b) Use a caching service like Memorystore for Redis. c) Move session state back onto the web servers and use sticky sessions in the load balancer. d) Make sure all web servers are in the same zone as the database.

b) Use a caching service like Memorystore for Redis.

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? a) Firestore b) Cloud SQL c) BigQuery d) Spanner

c) BigQuery

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? a) Move the data to BigQuery. b) Move the data to Cloud Bigtable. c) Cache the data using Memorystore. d) Move the data to Spanner.

c) Cache the data using Memorystore.

You're building a RESTful microservice. Which would be a valid data format for returning data to the client? a) HTML b) XML c) JSON d) All options are correct.

d) All options are correct.

You have containerized multiple applications using Docker and have deployed them using Compute Engine VMs. You want to save on costs and simplify container management. What might you do? a) Write Terraform scripts for all deployment. b) Rewrite the applications to run in App Engine standard environment. c) Rewrite the applications to run in Cloud Functions. d) Migrate the containers to GKE.

d) Migrate the containers to GKE.

Using SMART criteria, which below would be the least effective KPI? a) Clicks per session b) Page views per hour c) User sign ups per month d) User experience design

d) User experience design

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) A 400 error code b) A 500 error code c) A 200 error code d) An XML exception

a) A 400 error code

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? a) Cloud Functions b) App Engine c) Compute Engine d) GKE

a) Cloud Functions

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? a) Compute Engine b) GKE c) App Engine d) Cloud Functions

a) Compute Engine

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? a) Firestore b) BigQuery. c) Spanner d) Cloud SQL

a) Firestore

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? a) Spanner b) Cloud SQL c) BigQuery d) Firestore

a) Spanner

Which below would violate 12-factor app best practices? a) Store configuration information in your source repository for easy versioning. b) Keep development, testing, and production as similar as possible. c) Explicitly declare and isolate dependencies. d) Treat logs as event streams and aggregate logs into a single source.

a) Store configuration information in your source repository for easy versioning.


Kaugnay na mga set ng pag-aaral

Marketing 3310 Chapters 1-5 questions

View Set

What does it mean to be an outsider

View Set

Nociones básicas de Estadísticas

View Set

Chapter 3 Expressions and Interactivity

View Set

Life and Health Insurance (Florida) ExamFX Simulation Questions

View Set