GCP_App_Engine_MCQ_Flashcards

(20 cards)

1
Q

Which GCP product was the first to launch?

A

App Engine

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

What is the main difference between App Engine Standard and Flexible?

A

Standard uses sandboxed env, Flexible uses Docker containers on Compute Engine

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

Which App Engine environment can scale down to 0?

A

Standard

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

Which environment supports custom runtime versions?

A

Flexible

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

Which App Engine environment is better for bursty, lightweight apps?

A

Standard

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

Which App Engine environment provides full access to Compute Engine features?

A

Flexible

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

Where do you access GCP’s web interface?

A

console.cloud.google.com

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

Which CLI command enables APIs for GCP?

A

gcloud services enable [api-name]

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

What is the command to create a SQL database instance?

A

gcloud sql instances create $DB_INSTANCE_NAME –region=$REGION

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

What is the command to connect to a SQL instance?

A

gcloud sql connect $DB_INSTANCE_NAME –user=$DB_USER –quiet

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

What format is used to configure your App Engine app?

A

app.yaml

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

What does the –promote flag do in gcloud app deploy?

A

Routes all traffic to the new version of the app

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

What version control command is used to clone the WordPress sample?

A

git clone https://github.com/GoogleCloudPlatform/php-docs-samples.git

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

Which file contains DB credentials in the WordPress deployment?

A

wp-config.php

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

Which command installs PHP zip and curl modules?

A

sudo apt install php-zip php-curl

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

What does App Engine provide for free automatically?

A

SSL and domain

17
Q

What should you do with unused GCP resources?

A

Turn them off to avoid unnecessary charges

18
Q

Is the App Engine region changeable after creation?

A

No, it’s permanent after initial setup

19
Q

Which environment allows gradual scaling and longer startup times?

20
Q

Which environment supports more programming language versions?