You have found an error in your App Engine application caused by missing Cloud Datastore indexes. You have created a YAML file with the required indexes and want to deploy these new indexes to Cloud Datastore.
What should you do?
Suggested Answer: D
Get Premium Professional Cloud Architect Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
28 comments · newest first
LU
Luisa
1 year ago
I had no idea there was a built-in python module for this!
AN
Andrew
1 year ago
Wait, D? That seems overly complicated for this task.
LA
Laquanda
1 year ago
C sounds risky, deleting current indexes could cause issues.
RA
Raylene
1 year ago
I think B might be easier, just upload it to Cloud Storage.
BA
Basilia
1 year ago
A is the way to go for deploying indexes!
IR
Irma
1 year ago
I don’t recall seeing anything about using an HTTP request for this, so option D seems unlikely to be the right choice.
LA
Launa
1 year ago
I’m a bit confused about option C; I thought we didn’t need to delete existing indexes to add new ones, but maybe I’m mistaken.
AR
Art
1 year ago
I remember practicing a question similar to this, and I feel like uploading to the Cloud Storage bucket might be the way to go, so option B could be correct.
SH
Shizue
1 year ago
I think option A sounds familiar, but I'm not entirely sure if that's the right command to use for deploying indexes.
SI
Simona
1 year ago
Ah, I think I've got it! The term they're looking for is "Guaranteed Late Arrival."
FR
Frederica
1 year ago
I'm a little confused by the wording here. Does the fact that the "Product" object was extended mean we need to access the attribute through some kind of wrapper or subclass? I'm leaning towards B or D, but I'm not entirely sure.
VA
Vallie
2 years ago
If only there was a 'None of the above' option. That would be my pick for this question.
CA
Carlene
2 years ago
Creating an HTTP request to a Python module? That's just weird. Definitely not the correct approach here.
AL
Alishia
1 year ago
A) Point gcloud datastore create-indexes to your configuration file
JO
Jolene
1 year ago
C) In the GCP Console, use Datastore Admin to delete the current indexes and upload the new configuration file
DE
Derick
1 year ago
B) Upload the configuration file the App Engine's default Cloud Storage bucket, and have App Engine detect the new indexes
TA
Tayna
1 year ago
A) Point gcloud datastore create-indexes to your configuration file
ST
Steffanie
2 years ago
Using the Datastore Admin in the GCP Console to delete current indexes and upload a new configuration file is overkill for this task.
RO
Rolland
2 years ago
Uploading the configuration file to the App Engine's default Cloud Storage bucket doesn't seem right, since that's not how you deploy indexes.
PA
Pa
1 year ago
B) Upload the configuration file the App Engine's default Cloud Storage bucket, and have App Engine detect the new indexes
LA
Lamonica
1 year ago
C) In the GCP Console, use Datastore Admin to delete the current indexes and upload the new configuration file
JO
Josue
1 year ago
A) Point gcloud datastore create-indexes to your configuration file
MI
Misty
2 years ago
Option A is the correct answer. The gcloud datastore create-indexes command allows you to deploy new indexes defined in a YAML file.
VE
Venita
2 years ago
Option A is the correct answer. The gcloud datastore create-indexes command allows you to deploy new indexes defined in a YAML file.
CL
Claudia
2 years ago
A) Point gcloud datastore create-indexes to your configuration file
MA
Marion
2 years ago
But wouldn't it be easier to just use Datastore Admin in the GCP Console to delete the current indexes and upload the new configuration file?
DO
Dominic
2 years ago
I disagree, I believe the answer is B) Upload the configuration file to the App Engine's default Cloud Storage bucket.
MA
Marion
2 years ago
I think the correct answer is A) Point gcloud datastore create-indexes to your configuration file.