D276 ITSW 2120
Web Development Foundations
Latest Objective Assessment Review
(With Solutions)
2026
1
,Multiple Choice (15 Questions)
A company wants to deploy a highly available web application using AWS
Elastic Beanstalk. Which of the following configurations best ensures high
availability?
A) Single EC2 instance in one Availability Zone
B) Multiple EC2 instances behind an Elastic Load Balancer across multiple
Availability Zones
C) One EC2 instance with Auto Scaling enabled in one Availability Zone
D) Using Amazon S3 to host the application’s source code
Answer: B
Rationale: Elastic Load Balancer distributes traffic across multiple EC2
instances in different Availability Zones, providing high availability and
fault tolerance. A single instance in one zone is a single point of failure.
Which AWS service is most appropriate for hosting a static website with
minimal backend logic?
A) Amazon EC2
B) AWS Lambda
C) Amazon S3
D) Amazon RDS
Answer: C
Rationale: Amazon S3 supports static website hosting, which is cost-
effective and scalable for static content like HTML, CSS, and JavaScript
files.
When performing client-server communication, which HTTP method is
idempotent and safe to be retried without side effects?
A) POST
B) PUT
C) GET
2
, D) DELETE
Answer: C
Rationale: GET requests retrieve data without side effects and are safe to
retry, whereas POST changes server state.
Which AWS service manages domain registration and DNS routing for
your web applications?
A) Amazon Route 53
B) AWS CloudFront
C) Amazon VPC
D) AWS IAM
Answer: A
Rationale: Route 53 is AWS’s domain name system and routing service.
An application stores session information in a stateless environment
using JWT tokens. What is the primary advantage of this approach?
A) Sessions are stored on the server for scalability
B) Sessions can be validated without storing server-side session data
C) JWT tokens increase server memory utilization
D) JWT tokens require an AWS RDS backend
Answer: B
Rationale: JWT tokens carry session information client-side and are
validated server-side without storing session data in memory or DB.
In a RESTful architecture on AWS, which HTTP status code indicates that
a resource was created successfully?
A) 200 OK
B) 201 Created
C) 400 Bad Request
D) 404 Not Found
3
Web Development Foundations
Latest Objective Assessment Review
(With Solutions)
2026
1
,Multiple Choice (15 Questions)
A company wants to deploy a highly available web application using AWS
Elastic Beanstalk. Which of the following configurations best ensures high
availability?
A) Single EC2 instance in one Availability Zone
B) Multiple EC2 instances behind an Elastic Load Balancer across multiple
Availability Zones
C) One EC2 instance with Auto Scaling enabled in one Availability Zone
D) Using Amazon S3 to host the application’s source code
Answer: B
Rationale: Elastic Load Balancer distributes traffic across multiple EC2
instances in different Availability Zones, providing high availability and
fault tolerance. A single instance in one zone is a single point of failure.
Which AWS service is most appropriate for hosting a static website with
minimal backend logic?
A) Amazon EC2
B) AWS Lambda
C) Amazon S3
D) Amazon RDS
Answer: C
Rationale: Amazon S3 supports static website hosting, which is cost-
effective and scalable for static content like HTML, CSS, and JavaScript
files.
When performing client-server communication, which HTTP method is
idempotent and safe to be retried without side effects?
A) POST
B) PUT
C) GET
2
, D) DELETE
Answer: C
Rationale: GET requests retrieve data without side effects and are safe to
retry, whereas POST changes server state.
Which AWS service manages domain registration and DNS routing for
your web applications?
A) Amazon Route 53
B) AWS CloudFront
C) Amazon VPC
D) AWS IAM
Answer: A
Rationale: Route 53 is AWS’s domain name system and routing service.
An application stores session information in a stateless environment
using JWT tokens. What is the primary advantage of this approach?
A) Sessions are stored on the server for scalability
B) Sessions can be validated without storing server-side session data
C) JWT tokens increase server memory utilization
D) JWT tokens require an AWS RDS backend
Answer: B
Rationale: JWT tokens carry session information client-side and are
validated server-side without storing session data in memory or DB.
In a RESTful architecture on AWS, which HTTP status code indicates that
a resource was created successfully?
A) 200 OK
B) 201 Created
C) 400 Bad Request
D) 404 Not Found
3