ASSOCIATE-CLOUD-ENGINEER · Question #64
You have deployed a Django 1.5 Python application to App Engine. This version of Django requires Python 3. Due to some issues, App Engine is trying to run the application using Python 2. Which of the
The correct answer is C. app.yaml. This question asks which configuration file in App Engine determines the Python runtime version for a deployed application.
Question
Options
- Aapp.config
- Bservices.yaml
- Capp.yaml
- Dcron.yaml
How the community answered
(53 responses)- A2% (1)
- B4% (2)
- C87% (46)
- D8% (4)
Why each option
This question asks which configuration file in App Engine determines the Python runtime version for a deployed application.
`app.config` is not a standard App Engine configuration file for runtime specification.
`services.yaml` is not a standard App Engine configuration file for specifying the main application runtime, though service-specific configurations might reside there.
The `app.yaml` file is the primary configuration file for Google App Engine applications, where you define various settings including the runtime environment and version, such as specifying `runtime: python3` for a Python 3 application.
`cron.yaml` is used for scheduling periodic tasks (cron jobs) for an App Engine application, not for specifying its runtime version.
Concept tested: App Engine app.yaml Configuration
Source: https://cloud.google.com/appengine/docs/standard/python3/config/appref
Topics
Community Discussion
No community discussion yet for this question.