ASSOCIATE-CLOUD-ENGINEER · Question #64
ASSOCIATE-CLOUD-ENGINEER Question #64: Real Exam Question with Answer & Explanation
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
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 following file would you check and modify (if required) to ensure that Python 3 is used with the application?
Options
- Aapp.config
- Bservices.yaml
- Capp.yaml
- Dcron.yaml
Explanation
This question asks which configuration file in App Engine determines the Python runtime version for a deployed application.
Common mistakes.
- A.
app.configis not a standard App Engine configuration file for runtime specification. - B.
services.yamlis not a standard App Engine configuration file for specifying the main application runtime, though service-specific configurations might reside there. - D.
cron.yamlis 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
Reference. https://cloud.google.com/appengine/docs/standard/python3/config/appref
Community Discussion
No community discussion yet for this question.