Google App Engine Flashcards

1
Q

How many App Engine applications can be hosted per project?

A

Only one per project. Versions are served to the End User based on the network traffic configuration, making rollouts and roll backs easy.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How are applications deployed?

A

Applications are deployed regionally making it highly available across zones in that region but also needs to be in the same regions as the resources you are using.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do you deploy an App Engine instance?

A

Define an app.yaml, then develop the nessasary code for the application. Then use “gcloud app deploy” command to deploy it to app engine.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

App Engine Standard

A

Uses containers running in GCP standardize for each available execution enviornment, and traffic to your application is distributed via load balancing. Sometimes considered a sandbox for developers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What execution enviornments are included in App Engine Standard?

A

Python 2.7 and 3.7, Java 8 and 11, Node.js 8 and 10, PHP 5.5/7.2/7.3, and Go 1.9/1.11/1.12

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

App Engine Flexible

A

Uses GCE virtual machine instances, autoscales and uses load balancing but always requires at least a single instance to run. Starting an instance can also take minutes rather than seconds. Instances are restored on a weekly basis to apply nessasary patches.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What execution enviornments are included in App Engine Flexible?

A

Java 8, Python 2.7/3.6, Node.js, Ruby, PHP 5.6/7.0/7.1/7.2, .NET core, Go 1.9/1.10/1.11, or custom options

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does it mean to Split Traffic?

A

Where you can decide what percentage of traffic goes to which version of an application before fully deploying to a new version. Used to test before full deployment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the default firewall rules for App Engine?

A

Allows traffic from all IP ranges and allows it to be lowest priority (evaluated after any rules you create)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Custom Domain

A

A custom domain can be created for your appplication by inputing one you already have or by registering a new one through the Google Domains service (does come with additional cost)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

SSL Certificates

A

GCP offers globally distributed SSL endpoints so that you can serve your application users, but a custom domain has a managed SSL certificate by default that is provisioned and renewed automatically. If you remove the custom domain the certificate is automatically revoked. If you use your own certificate, you must also manage it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Manual Scaling

A

App scaling can be set where you specify the number of running instances no matter the load. SInce instances keep the memory state, it can be used for applications that depend on it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Automatic Scaling

A

The number of instances that will run depends on the request rate, response latency, and other application metrics. It also allows you to specify a number of instances that should always run independantly of the load.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Basic Scaling

A

An instance is created when a request is recieved by the application and shuts down when app is idle. Great for apps driven by user activity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Cron Jobs

A

A scheduled task that runs a defined time or regular intervals. Uses include admin tasks that need to reoccur. Configured differently based on the language and are defined in cron.yaml. Alternative to using Compute Engine with native third-party tools.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Cache

A

Caching is a common way of speeding up access to frequently accessed data. This includes session data, user preferences and other queries that don’t change often.

17
Q

Memcache

A

A built in service for App Engine that allows you to keep key value pairs in memory that’s faster than querying a database.

18
Q

Shared Memcache

A

Free default version of memcache that is provided on best effort and shared with multiple applications within App Engine. Might not fit all use cases.

19
Q

Dedicated Memcache

A

Optional paid version of memcache that provides a fixed cache capacity dedicated to your application. It’s paid GB per hour for apps that require predictable performance.