CT071-3-3-DDAC-Class Test Paper #2-Answer

Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

CT071-3-3 DDAC Marking Scheme Page 1 of 12

Explain the core concepts of the cloud computing paradigm and its
CLO1 Class Tests
future challenges. (C2, PLO1)

Design an application using recommended performance criteria that is


CLO2 Presentation
suitable for deployment in a cloud platform. (C6, PLO2)

Combine all the related cloud services to build a high-availability


CLO3 Group Project
application. (A4, PLO6)

Class Test 2 (20%):


Question Vs Taxonomy
Cognitive Level
Section Question No. PLO
1 2 3 4 5 6
SQ SQ SQ SQ SQ SQ
A&B Amazon Cloud Services 100% 1

Total 100%

Level 3 Asia Pacific University of Technology & Innovation 2022


CT071-3-3 DDAC Marking Scheme Page 2 of 12

Section A – Multiple Choice Questions


Answer ALL questions in this section.
This section carries 30 Marks.

1. Among the following services, which may be used to call AWS services from
programming languages?

A. AWS SDK
B. AWS Console
C. AWS CLI
D. AWS IAM

2. A company wants to host a NoSQL database on the AWS Cloud, but doesn't have the
necessary people to manage the underlying infrastructure. Which of the following
options is BEST for this requirement?

A. AWS Aurora
B. AWS RDS
C. AWS DynamoDB
D. AWS Redshift

3. Any data transferred between an EC2 instance and an Amazon EBS volume needs to
be secured for a doctor's office management application.

Which of the following approaches meets this criterion?

I. Create encrypted snapshots into Amazon S3.


II. Use Amazon RDS with encryption.
III. Use IAM roles to limit access to the Amazon EBS volume.
IV. Enable EBS encryption.

A. I, III
B. III, IV
C. I, IV
D. I, III, IV

4. James' company wants to reduce the latency and cost of all future requests, so his
company wants to develop a website that keep their static promotional videos in an
Amazon S3 bucket. As his friend, which of the following service configuration would
you recommend to him?

A. Deploy a NAT server in front of Amazon S3.


B. Deploy Amazon CloudFront in front of Amazon S3.
C. Deploy a Network Load Balancer in front of Amazon S3.
D. Configure Auto Scaling to automatically adjust the capacity of the website.

Level 3 Asia Pacific University of Technology & Innovation 2022


CT071-3-3 DDAC Marking Scheme Page 3 of 12

5. Amazon Elastic Block Store (EBS) Snapshots are a convenient way to back up the
EBS volumes. Which of the following statements are true in relation to Amazon EBS
Snapshots?

I. All the Amazon EBS Snapshots are automatically saved to Amazon S3 for
short-term retention.
II. Deleting an Amazon EBS snapshot has no effect on the volume.
III. Amazon EBS Snapshots can be integrated with AWS X-ray, so that users can
log, monitor and maintain account activity related to actions taken for their
snapshots.
IV. Amazon EBS Snapshots provide a simple and secure data protection solution
that is designed to protect users’ block storage data.

A. I, IV
B. II, IV
C. I, III, IV
D. I, II, III, IV

6. An enterprise is developing a web application that will be hosted in AWS. This


application needs a data store for session data. As one of the IT staff in this company,
which of the following would you recommend as the best option to store session data?

I. CloudWatch
II. DynamoDB
III. Elastic Load Balancing
IV. ElastiCache

A. IV
B. II, IV
C. III, IV
D. II, III, IV

7. As an IT professional, what workloads would you recommend to use with Elastic


Beanstalk?

I. A Web application using Amazon RDS


II. An Enterprise Data Warehouse
III. A long running worker process
IV. A static website

A. I, II
B. I, IV
C. I, III
D. III, IV

Level 3 Asia Pacific University of Technology & Innovation 2022


CT071-3-3 DDAC Marking Scheme Page 4 of 12

8. A database is being hosted using the AWS RDS service. This database is to be made
into a production database and is required to have high availability. Which of the
following can be used to achieve this requirement?

A. Use Multi-AZ for the RDS instance to ensure that a secondary database is created
in another region.
B. Use the Read Replica feature to create another instance of the DB in another region.
C. Use Multi-AZ for the RDS instance to ensure that a secondary database is created
in another Availability Zone.
D. Use the Read Replica feature to create another instance of the DB in another
Availability Zone.

9. A company is planning on building a 2-tier architecture which consists of a web server


and a database server. This will be hosted on EC2 Instances accordingly. The database
server will experience a lot of read/write operations whereas the web server will have
a standard workload.

Which of the following underlying Amazon Elastic Block Store (EBS) volumes are
optimum to use for the underlying EC2 Instances?

I. General Purpose SSD for the web server


II. Provisioned IOPS for the web server
III. General Purpose SSD for the database server
IV. Provisioned IOPS for the database server

A. I, II
B. I, IV
C. II, III
D. III, IV

10. Amazon DynamoDB is used by a corporation to manage and track orders. The order
date is used to split the DynamoDB table. During a sales event, the company receives
a large spike in orders, forcing DynamoDB writes to choke, and the used throughput
is considerably lower than the permitted throughput.

How can this issue be addressed with MINIMUM expenditures, based on AWS best
practices?

A. Create a new DynamoDB table for every order date.


B. Increase the read and write capacity units of the DynamoDB table.
C. Add a random number suffix to the partition key values.
D. Add a global secondary index to the DynamoDB table.

Level 3 Asia Pacific University of Technology & Innovation 2022


CT071-3-3 DDAC Marking Scheme Page 5 of 12

11. Which of the following is a critical design concept for architecting cloud applications?

A. Use the largest instance possible.


B. Provision capacity for peak load.
C. Use the Scrum development process.
D. Implement elasticity.

12. A company needs to monitor the read and write IOPS metrics for their AWS MySQL
RDS instance and send real-time alerts to their Operations team. Which AWS services
can accomplish this?

I. Amazon CloudWatch
II. Amazon Simple Email Service
III. Amazon Simple Notification Service
IV. Amazon Simple Queue Service

A. I, II
B. I, III
C. II, III
D. III, IV

13. What is your responsibility when using Amazon RDS?

A. Patching and maintenance of the underlying operating system.


B. Replacing failed instances in the event of a hardware failure.
C. Managing automatic backups of the database.
D. Controlling network access through security groups.

14. You are required to host a subscription service in AWS. Users can subscribe to the
same and get notifications on new updates to this service. Which of the following
services can be used to fulfill this requirement?

A. Use the Amazon SQS Service to send the notification.


B. Host an Amazon EC2 Instance and use the Rabbit-MQ Service to send the
notification.
C. Use the Amazon SNS Service to send the notification.
D. Use the Amazon DynamoDB streams to send the notification.

15. What workloads does Amazon Elastic Compute Cloud (Amazon EC2) Spot Instances
fit for?

A. Workloads that are only run in the morning and stopped at night
B. Workloads where the availability of the Amazon EC2 instances can be flexible
C. Workloads that need to run for long periods of time without interruption
D. Workloads that are critical and need Amazon EC2 instances with termination
protection

Level 3 Asia Pacific University of Technology & Innovation 2022


CT071-3-3 DDAC Marking Scheme Page 6 of 12

16. A solutions architect must create a system for archiving client case files. The files are
critical corporate assets. The file count will increase over time. Multiple application
servers running on Amazon EC2 instances must be able to access the files
concurrently. There must be built-in redundancy in the solution. What solution meets
these requirements?

A. Amazon Elastic Block Store (Amazon EBS)


B. Amazon S3 Glacier Deep Archive
C. Amazon Elastic File System (Amazon EFS)
D. AWS Backup

17. Which of the following security requirements are managed by AWS customers?

I. Password Policies
II. User permissions
III. Physical security
IV. Disk disposal

A. I, II
B. II, III
C. I, III
D. II, IV

18. A disaster recovery strategy on AWS should be based on launching infrastructure in a


separate __________.

A. subnet
B. AWS Region
C. AWS edge location
D. Amazon Virtual Private Cloud (Amazon VPC)

19. Which AWS service is used to as a global content delivery network (CDN) service in
AWS?

A. Amazon CloudWatch
B. Amazon CloudFront
C. Amazon CloudTrail
D. Amazon Route 53

20. There is a requirement for 500 messages to be sent and processed in order. Which
service can be used in this regard?

A. Amazon SNS FIFO


B. Amazon SQS FIFO
C. AWS Auto Scaling
D. Elastic Load Balancing

Level 3 Asia Pacific University of Technology & Innovation 2022


CT071-3-3 DDAC Marking Scheme Page 7 of 12

21. Amazon Elastic Block Store (Amazon EBS) volumes are used by a media organization
to store video material. A certain video file has grown in popularity, and a significant
number of individuals from around the world are viewing at it now. This has resulted
in increased costs.

Which step will lead to cost reduction without compromising user accessibility?

A. Change the EBS volume to Provisioned IOPS (PIOPS).


B. Store the video in an Amazon S3 bucket and create an Amazon CloudFront
distribution.
C. Split the video into multiple, smaller segments so users are routed to the requested
video segments only.
D. Clear an Amazon S3 bucket in each Region and upload the videos so users are
routed to the nearest S3 bucket.

22. When creating security groups, which of the following is a responsibility of the
customer?

I. Ensure the security groups are linked to the Elastic Network interface
II. Giving a name and description for the security group
III. Ensure the rules are applied immediately
IV. Defining the rules as per the customer requirements.

A. I, II
B. II, III
C. II, IV
D. III, IV

23. A considerable amount of read capacity is being used by queries to an Amazon


DynamoDB database. There are a high number of huge characteristics in the table.
The program does not need the whole set of attribute data. How to reduce DynamoDB
expenses while maximizing the performance of the application?

A. Create a global secondary index with a minimum set of projected attributes.


B. Batch all the writes, and perform the write operations when no or few reads are
being performed.
C. Implement exponential backoffs in the application.
D. Load balance the reads to the table using an Application Load Balancer.

24. Which function adds elasticity to Amazon EC2 instances to cope with changing
workload demands?

A. Amazon EC2 Auto Scaling


B. Resource groups
C. Lifecycle policies
D. Application Load Balancer

Level 3 Asia Pacific University of Technology & Innovation 2022


CT071-3-3 DDAC Marking Scheme Page 8 of 12

25. Which are the benefits of AWS Cloud elasticity?

A. Ensure web traffic is automatically spread across multiple AWS Regions.


B. Automatically adjust the required compute capacity to maintain consistent
performance.
C. Minimize storage costs by automatically archiving log data.
D. Enable AWS to automatically select the most cost-effective services.

26. Which of the following options can be used to safeguard EC2 instances that reside on
AWS?

I. Security Groups
II. Amazon Machine Images
III. Internet gateway
IV. Network Access Control Lists

A. I, II
B. I, III
C. I, IV
D. III, IV

27. On an Amazon Linux EC2 instances' cluster, an application is run by an enterprise.


The organization must retain all application log files for 7 years for compliance
purposes. Log files will be assessed by a reporting program, which will require
simultaneous access to all files.Which storage system best fulfils these requirements
in terms of cost-effectiveness?

A. Amazon Elastic Block Store (Amazon EBS)


B. Amazon Elastic File System (Amazon EFS)
C. Amazon S3
D. Amazon EC2 instance store

28. An enterprise would like to host a self-administered database in AWS. How should
the solution ideally be implemented?

A. Using the AWS DynamoDB service


B. Using the AWS RDS service
C. Hosting a database on an EC2 Instance
D. Using the Amazon Aurora service

29. Which of the following needs a user name and password to access AWS resources?

A. AWS Management Console


B. AWS Application Programming Interface (API)
C. AWS Software Development Kit (SDK)
D. AWS CLI

Level 3 Asia Pacific University of Technology & Innovation 2022


CT071-3-3 DDAC Marking Scheme Page 9 of 12

30. Mandy's company plans to host resources within the AWS cloud. They want to use
services which can be used to decouple resources hosted on the cloud. Which of the
following services can contribute to satisfying this requirement?

A. AWS EBS Volumes


B. AWS SQS
C. AWS EBS Snapshots
D. AWS Glacier
(Total: 30 marks)

Section B – Case Study Questions


Answer ALL questions in this section.
This section carries 20 Marks.

1. According to your understanding, make a distinction between monolithic architecture


and microservice architecture.

Sample Answer:

i. Monolithic architecture

The monolithic architecture is considered to be a traditional way of building applications. A


monolithic application is built as a single and indivisible unit. Usually, such a solution
comprises a client-side user interface, a server side-application, and a database. It is unified
and all the functions are managed and served in one place.

Normally, monolithic applications have one large code base and lack modularity. If
developers want to update or change something, they access the same code base. So, they
make changes in the whole stack at once.

ii. Microservice architecture

While a monolithic application is a single unified unit, a microservices architecture breaks


it down into a collection of smaller independent units. These units carry out every application
process as a separate service. So all the services have their own logic and the database as
well as perform the specific functions.
Within a microservices architecture, the entire functionality is split up into independently
deployable modules which communicate with each other through defined methods called
APIs (Application Programming Interfaces). Each service covers its own scope and can be
updated, deployed, and scaled independently.

Level 3 Asia Pacific University of Technology & Innovation 2022


CT071-3-3 DDAC Marking Scheme Page 10 of 12

Suggested Marking scheme:

• Award 5 marks for the excellent explanation and awesome ideas towards the Monolithic
architecture OR
Award 4 marks for the excellent explanation about the Monolithic architecture OR
Award 3 marks for the good explanation about the Monolithic architecture OR
Award 2 marks for the average explanation about the Monolithic architecture OR
Award 1 mark for the poor explanation about the Monolithic architecture
[Total = 5m x 1= 5m]

• Award 5 marks for the excellent explanation and awesome ideas towards the
Microservice architecture OR
Award 4 marks for the excellent explanation about the Microservice architecture OR
Award 3 marks for the good explanation about the Microservice architecture OR
Award 2 marks for the average explanation about the Microservice architecture OR
Award 1 mark for the poor explanation about the Microservice architecture
[Total = 5m x 1= 5m]

* Remarks: Any similar / logical answer is also acceptable.

Maximum: 10 marks
(10 marks)

Level 3 Asia Pacific University of Technology & Innovation 2022


CT071-3-3 DDAC Marking Scheme Page 11 of 12

2. Explain in detail the types of AWS cloud services we can use to support the
implementation of the core microservice architecture. You can include a real-life
example for your interpretation.

Microservices Architecture on AWS

The basic microservice architecture on AWS looks like this:

1. User instances run on AWS CloudFront CDN; static content is stored at Amazon S3.
2. Incoming traffic goes to Amazon Automatic Load Balancer (ALB), which routes it to the
Kubernetes cluster with Docker containers running microservices at Amazon ECS.
3. The data is cached by ElastiCache and stored at any database like Aurora, RDS, or
DynamoDB.

This workflow ensures unlimited front-end scalability through CloudFront CDN, back-end
scalability using ECS, and application resilience with caching and secure data storage.

Let’s take a closer look at the main stages of app development using microservices:

• User Interface

The JavaScript framework is mostly used for building web apps. They are developed as single-
page apps, communicating via REST or RESTful APIs. AWS suggests using Amazon
CloudFront and S3 for hosting static web content.

• Microservices

AWS offers powerful building blocks to make microservices development easier. The most
widely used approaches are microservices AWS Lambda, AWS Fargate, and Enterprise
Kubernetes (used for running Kubernetes clusters on AWS).

With AWS Lambda microservices, developers can load code, check performance, and adapt
the app to real demands. Lambda can be used with many programming languages.

Fargate (a well-known container management service from AWS) performs one goal — run
serverless containers. Besides, with this tool, there’s no need to scale a cluster.

• Data storage

In this case, relational databases are used to store formatted data for microservices. Mostly,
microservices apps are based on AWS database services, including Oracle, Amazon’s RDS,
MySQL, PostgreSQL.

Level 3 Asia Pacific University of Technology & Innovation 2022


CT071-3-3 DDAC Marking Scheme Page 12 of 12

Suggested Marking scheme:

• Award 10 marks for the excellent explanation and providing awesome ideas towards the
Microservices Architecture on AWS OR
Award 8 - 9 marks for the excellent explanation towards the Microservices Architecture
on AWS OR
Award 6 - 7 marks for the good explanation towards the Microservices Architecture on
AWS OR
Award 5 marks for the moderate explanation towards the Microservices Architecture on
AWS OR
Award 3 - 4 marks for the poor explanation towards the Microservices Architecture on
AWS OR
Award 1 - 2 marks for the incorrect explanation towards the Microservices Architecture
on AWS
[Total =10m x 1= 10m]

* Remarks: Any similar / logical answer is also acceptable.

Maximum: 10 marks
(10 marks)

(Total: 20 marks)

--------------- END OF PAPER ----------------

Level 3 Asia Pacific University of Technology & Innovation 2022

You might also like