D335 ITSW 3126
Introduction to Programming
with Python
LATEST FA REVIEW
Q&S
©2024/2025
,1. **Which Python module is commonly used to interact with
AWS services?**
- A) boto3
- B) pandas
- C) numpy
- D) scikit-learn
**Answer: A) boto3**
_Rationale: boto3 is the Amazon Web Services (AWS) Software
Development Kit (SDK) for Python, facilitating the communication
between Python applications and AWS services._
2. **What is the primary benefit of using virtual environments in
Python?**
- A) Improved network security
- B) Isolated project dependencies
- C) Faster execution time
- D) Enhanced data storage capabilities
**Answer: B) Isolated project dependencies**
_Rationale: Virtual environments help manage dependencies for
different projects by providing isolated environments for Python
applications, preventing conflicts._
©2024/2025
, 3. **In AWS Lambda, which Python version is currently
supported as of October 2023?**
- A) Python 2.7
- B) Python 3.6
- C) Python 3.8
- D) Python 3.10
**Answer: D) Python 3.10**
_Rationale: AWS Lambda supports several Python versions, with
Python 3.10 being one of the latest as of October 2023. Using the
latest version is often recommended to leverage new features and
improvements._
Fill-in-the-Blank Questions
4. **The concept of ________________ involves writing smaller
functions that are executed independently and scaled automatically,
a common practice in serverless computing.**
**Answer: microservices**
_Rationale: Microservices architecture breaks down applications
into independent functions or services, ideal for serverless
environments like AWS Lambda._
©2024/2025
Introduction to Programming
with Python
LATEST FA REVIEW
Q&S
©2024/2025
,1. **Which Python module is commonly used to interact with
AWS services?**
- A) boto3
- B) pandas
- C) numpy
- D) scikit-learn
**Answer: A) boto3**
_Rationale: boto3 is the Amazon Web Services (AWS) Software
Development Kit (SDK) for Python, facilitating the communication
between Python applications and AWS services._
2. **What is the primary benefit of using virtual environments in
Python?**
- A) Improved network security
- B) Isolated project dependencies
- C) Faster execution time
- D) Enhanced data storage capabilities
**Answer: B) Isolated project dependencies**
_Rationale: Virtual environments help manage dependencies for
different projects by providing isolated environments for Python
applications, preventing conflicts._
©2024/2025
, 3. **In AWS Lambda, which Python version is currently
supported as of October 2023?**
- A) Python 2.7
- B) Python 3.6
- C) Python 3.8
- D) Python 3.10
**Answer: D) Python 3.10**
_Rationale: AWS Lambda supports several Python versions, with
Python 3.10 being one of the latest as of October 2023. Using the
latest version is often recommended to leverage new features and
improvements._
Fill-in-the-Blank Questions
4. **The concept of ________________ involves writing smaller
functions that are executed independently and scaled automatically,
a common practice in serverless computing.**
**Answer: microservices**
_Rationale: Microservices architecture breaks down applications
into independent functions or services, ideal for serverless
environments like AWS Lambda._
©2024/2025