GCP_App_Engine_MCQ_Flashcards
(20 cards)
Which GCP product was the first to launch?
App Engine
What is the main difference between App Engine Standard and Flexible?
Standard uses sandboxed env, Flexible uses Docker containers on Compute Engine
Which App Engine environment can scale down to 0?
Standard
Which environment supports custom runtime versions?
Flexible
Which App Engine environment is better for bursty, lightweight apps?
Standard
Which App Engine environment provides full access to Compute Engine features?
Flexible
Where do you access GCP’s web interface?
console.cloud.google.com
Which CLI command enables APIs for GCP?
gcloud services enable [api-name]
What is the command to create a SQL database instance?
gcloud sql instances create $DB_INSTANCE_NAME –region=$REGION
What is the command to connect to a SQL instance?
gcloud sql connect $DB_INSTANCE_NAME –user=$DB_USER –quiet
What format is used to configure your App Engine app?
app.yaml
What does the –promote flag do in gcloud app deploy?
Routes all traffic to the new version of the app
What version control command is used to clone the WordPress sample?
git clone https://github.com/GoogleCloudPlatform/php-docs-samples.git
Which file contains DB credentials in the WordPress deployment?
wp-config.php
Which command installs PHP zip and curl modules?
sudo apt install php-zip php-curl
What does App Engine provide for free automatically?
SSL and domain
What should you do with unused GCP resources?
Turn them off to avoid unnecessary charges
Is the App Engine region changeable after creation?
No, it’s permanent after initial setup
Which environment allows gradual scaling and longer startup times?
Flexible
Which environment supports more programming language versions?
Flexible