Module 1 Quiz :DevOps and AI on AWS: CI/CD for Generative AI Applications (DevOps and AI on AWS Specialization) Answers 2025
1. Question 1
Purpose of Infrastructure as Code (IaC)
-
❌ Eliminates testing
-
❌ Requires manual configuration
-
✅ IaC automates infrastructure management, enabling repeatable deployments
-
❌ Only for version control
Explanation:
IaC lets you define and deploy infrastructure automatically and consistently using code.
2. Question 2
Purpose of AWS CloudFormation in DevOps
-
✅ Automate provisioning of AWS infrastructure resources
-
❌ Monitor performance
-
❌ Secure EC2 access
-
❌ Test AI models
Explanation:
CloudFormation is an Infrastructure as Code (IaC) service.
3. Question 3
What does AWS CodeBuild automate?
-
❌ Infra monitoring
-
✅ Build process: compiling source code + creating artifacts
-
❌ Secure EC2 access
-
❌ Infra configuration management
Explanation:
CodeBuild runs builds, executes tests, and outputs artifacts automatically.
4. Question 4
Why is prompt variability important in generative AI testing?
-
❌ Prompts give identical results
-
❌ Responses are deterministic
-
✅ Small changes in prompts can produce very different outputs
-
❌ Prompts tested only post-deployment
Explanation:
Generative AI is non-deterministic, so prompt changes affect results.
5. Question 5
Which AWS service compiles code, runs tests, creates artifacts?
-
❌ CloudFormation
-
❌ Systems Manager
-
✅ AWS CodeBuild
-
❌ AWS X-Ray
🧾 Summary Table
| Q# | Correct Answer | Key Concept |
|---|---|---|
| 1 | IaC automates infra & enables repeatability | IaC fundamentals |
| 2 | CloudFormation | Infra automation |
| 3 | CodeBuild | Build automation |
| 4 | Small changes → different outputs | AI prompt variability |
| 5 | CodeBuild | CI automation |