ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 205 - Professional Cloud Developer discussion

Report
Export

You are using Cloud Run to host a web application. You need to securely obtain the application project ID and region where the application is running and display this information to users. You want to use the most performant approach. What should you do?

A.
Use HTTP requests to query the available metadata server at the http://metadata.google.internal/ endpoint with the Metadata-Flavor: Google header.
Answers
A.
Use HTTP requests to query the available metadata server at the http://metadata.google.internal/ endpoint with the Metadata-Flavor: Google header.
B.
In the Google Cloud console, navigate to the Project Dashboard and gather configuration details. Navigate to the Cloud Run ''Variables & Secrets'' tab, and add the desired environment variables in Key:Value format.
Answers
B.
In the Google Cloud console, navigate to the Project Dashboard and gather configuration details. Navigate to the Cloud Run ''Variables & Secrets'' tab, and add the desired environment variables in Key:Value format.
C.
In the Google Cloud console, navigate to the Project Dashboard and gather configuration details. Write the application configuration information to Cloud Run's in-memory container filesystem.
Answers
C.
In the Google Cloud console, navigate to the Project Dashboard and gather configuration details. Write the application configuration information to Cloud Run's in-memory container filesystem.
D.
Make an API call to the Cloud Asset Inventory API from the application and format the request to include instance metadata.
Answers
D.
Make an API call to the Cloud Asset Inventory API from the application and format the request to include instance metadata.
Suggested answer: B
asked 18/09/2024
SANGEETH N
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first