D276 ITSW 2120 Web Development Foundations
Final Assessment Review (Qns & Ans)
2025
1. Scenario – Global Static Website Delivery
A startup wants to host its marketing website on AWS with fast
load times for users around the world. The site is composed
entirely of static HTML, CSS, and JavaScript assets. Which
option is most optimal for achieving low-latency global delivery?
- A. Deploying on Amazon EC2 behind an Elastic Load Balancer
- B. Hosting the site on Amazon S3 and distributing it via
Amazon CloudFront
- C. Using AWS Amplify Console with dynamic server-side
rendering
©2025
,- D. Running the site from an Amazon Lightsail instance
Correct ANS: B. Hosting the site on Amazon S3 and
distributing it via Amazon CloudFront
Rationale: Using Amazon S3 for static website hosting
combined with CloudFront as a Content Delivery Network (CDN)
ensures that the content is cached at edge locations worldwide,
significantly reducing latency and improving user experience.
---
2. Scenario – Serverless Backend for Dynamic Content
A developer is building a dynamic web application that processes
API requests and returns computed HTML responses. To
minimize server management overhead and handle sporadic
traffic, which AWS service combination is most suitable?
- A. AWS Elastic Beanstalk with EC2 instances
- B. Amazon EC2 with Auto Scaling Groups
- C. AWS Fargate containers managed by ECS
- D. AWS Lambda behind API Gateway
Correct ANS: D. AWS Lambda behind API Gateway
©2025
, Rationale: AWS Lambda provides a serverless compute
environment that scales automatically in response to incoming
API requests, while API Gateway serves as the interface to trigger
Lambda functions securely. This combination is both cost-
effective and highly scalable for dynamic content generation.
---
3. Scenario – Deploying a Progressive Web Application (PWA)
An organization is developing a Progressive Web App (PWA)
that requires fast load times, offline availability, and near-native
performance. Which AWS services should be combined to deliver
the static assets with offline support?
- A. AWS Amplify and AWS AppSync
- B. Amazon EC2 with a custom CDN solution
- C. Amazon S3 hosting, CloudFront distribution, and client‑side
service workers
- D. AWS Lightsail with preconfigured caching
Correct ANS: C. Amazon S3 hosting, CloudFront distribution,
and client‑side service workers
Rationale: Amazon S3 provides cost-effective, highly durable
static site hosting; CloudFront enhances global distribution; and
service workers in the PWA provide offline capabilities and
©2025
, caching—collectively ensuring fast, reliable, and offline-capable
performance.
---
4. Scenario – Integrating Independent UI Components
A multinational enterprise is developing a complex web
application where different teams are responsible for distinct user
interface modules. To allow independent development,
deployment, and seamless integration of these modules, which
architecture is most appropriate?
- A. Monolithic application architecture
- B. Microservices architecture
- C. Micro-frontend architecture
- D. Client-server architecture
Correct ANS: C. Micro-frontend architecture
Rationale: A micro-frontend architecture enables teams to
develop, test, and deploy independent UI components. These
components are later shell-integrated to form a complete
application, promoting scalability, maintainability, and team
autonomy.
---
©2025
Final Assessment Review (Qns & Ans)
2025
1. Scenario – Global Static Website Delivery
A startup wants to host its marketing website on AWS with fast
load times for users around the world. The site is composed
entirely of static HTML, CSS, and JavaScript assets. Which
option is most optimal for achieving low-latency global delivery?
- A. Deploying on Amazon EC2 behind an Elastic Load Balancer
- B. Hosting the site on Amazon S3 and distributing it via
Amazon CloudFront
- C. Using AWS Amplify Console with dynamic server-side
rendering
©2025
,- D. Running the site from an Amazon Lightsail instance
Correct ANS: B. Hosting the site on Amazon S3 and
distributing it via Amazon CloudFront
Rationale: Using Amazon S3 for static website hosting
combined with CloudFront as a Content Delivery Network (CDN)
ensures that the content is cached at edge locations worldwide,
significantly reducing latency and improving user experience.
---
2. Scenario – Serverless Backend for Dynamic Content
A developer is building a dynamic web application that processes
API requests and returns computed HTML responses. To
minimize server management overhead and handle sporadic
traffic, which AWS service combination is most suitable?
- A. AWS Elastic Beanstalk with EC2 instances
- B. Amazon EC2 with Auto Scaling Groups
- C. AWS Fargate containers managed by ECS
- D. AWS Lambda behind API Gateway
Correct ANS: D. AWS Lambda behind API Gateway
©2025
, Rationale: AWS Lambda provides a serverless compute
environment that scales automatically in response to incoming
API requests, while API Gateway serves as the interface to trigger
Lambda functions securely. This combination is both cost-
effective and highly scalable for dynamic content generation.
---
3. Scenario – Deploying a Progressive Web Application (PWA)
An organization is developing a Progressive Web App (PWA)
that requires fast load times, offline availability, and near-native
performance. Which AWS services should be combined to deliver
the static assets with offline support?
- A. AWS Amplify and AWS AppSync
- B. Amazon EC2 with a custom CDN solution
- C. Amazon S3 hosting, CloudFront distribution, and client‑side
service workers
- D. AWS Lightsail with preconfigured caching
Correct ANS: C. Amazon S3 hosting, CloudFront distribution,
and client‑side service workers
Rationale: Amazon S3 provides cost-effective, highly durable
static site hosting; CloudFront enhances global distribution; and
service workers in the PWA provide offline capabilities and
©2025
, caching—collectively ensuring fast, reliable, and offline-capable
performance.
---
4. Scenario – Integrating Independent UI Components
A multinational enterprise is developing a complex web
application where different teams are responsible for distinct user
interface modules. To allow independent development,
deployment, and seamless integration of these modules, which
architecture is most appropriate?
- A. Monolithic application architecture
- B. Microservices architecture
- C. Micro-frontend architecture
- D. Client-server architecture
Correct ANS: C. Micro-frontend architecture
Rationale: A micro-frontend architecture enables teams to
develop, test, and deploy independent UI components. These
components are later shell-integrated to form a complete
application, promoting scalability, maintainability, and team
autonomy.
---
©2025