programming
beginner
10 sample questions
Cloud Services MCQ Practice Test
Understanding SaaS (Software as a Service) models like AWS, Azure, or Google Cloud.
Setting up serverless functions for event-driven architecture.
Q1. Which AWS service provides a fully managed, serverless data warehousing service that allows you to easily analyze large datasets across multiple data sources and provides features like column-level security and data skipping?
-
A. Amazon Redshift ✓
-
B. Amazon QuickSight
-
C. Amazon Elasticsearch Service
-
D. Amazon Aurora
Explanation: Amazon Redshift is a fully managed, petabyte-scale data warehouse service in the cloud that makes it easy to analyze large datasets. It provides features like column-level security and data skipping to improve query performance.
Q2. In an AWS Lambda function, which of the following is a valid use of the $LATEST alias?
-
A. To invoke the latest version of the function ✓
-
B. To invoke a specific version of the function
-
C. To enable event source mapping
-
D. To configure a VPC for the function
Explanation: The $LATEST alias in AWS Lambda refers to the unpublished version of the function, which is the latest version that has been deployed but not yet published. It can be used to invoke the latest version of the function.
Q3. In an AWS Lambda function, what is the purpose of the "dead letter queue" feature in the event of a function execution failing due to an unhandled exception?
-
A. To automatically retry the failed function invocation with a different set of input parameters
-
B. To forward the failed event to an Amazon SNS topic for further analysis
-
C. To store the failed event in an Amazon SQS queue for debugging purposes ✓
-
D. To terminate the function execution and discard the event without any further action
Explanation: The dead letter queue feature in AWS Lambda is used to store events that failed to process due to an unhandled exception. This allows developers to debug and analyze the failed events, and take corrective action to prevent similar failures in the future.
Q4. What is the primary purpose of using AWS CodePipeline in a CI/CD pipeline for a serverless application?
-
A. To perform automated testing and validation of code changes
-
B. To manage and deploy serverless functions to multiple AWS accounts
-
C. To automate the building and packaging of serverless application code ✓
-
D. To monitor and troubleshoot serverless application performance
Explanation: AWS CodePipeline is a service that automates the build, test, and deployment of serverless applications. It integrates with AWS CodeBuild, which is responsible for building and packaging the serverless application code.
Q5. What is the primary function of AWS CloudFormation's "Change Set" feature?
-
A. Automate the deployment of AWS resources through a series of scripts
-
B. Validate and preview changes to be made to existing AWS resources before applying them ✓
-
C. Create a backup of existing AWS resources
-
D. Provision and manage AWS resources through a human-readable text file
Explanation: AWS CloudFormation's Change Set feature allows users to validate and preview the changes to be made to existing AWS resources before applying them. This feature is particularly useful for testing and validation purposes, enabling users to catch any potential issues before making the changes live.
Q6. Which AWS service provides a fully managed load balancing solution for containerized applications running on Amazon Elastic Container Service (ECS) and Amazon Elastic Container Service for Kubernetes (EKS)?
-
A. Amazon Elastic Load Balancer (ELB)
-
B. Amazon Route 53
-
C. AWS Application Load Balancer (ALB) ✓
-
D. AWS Network Load Balancer (NLB)
Explanation: AWS Application Load Balancer (ALB) provides a fully managed load balancing solution for containerized applications running on Amazon ECS and Amazon EKS. It supports HTTP/HTTPS load balancing and can be used to distribute traffic to multiple targets, such as containers or instances, based on user-defined policies.
Q7. Which AWS service provides a fully managed container orchestration platform that can run both in the cloud and on-premises?
-
A. Amazon Elastic Container Service for Kubernetes (EKS) ✓
-
B. Amazon Elastic Container Service (ECS)
-
C. Amazon Elastic Container Service for Windows (ECS-W)
-
D. AWS Lambda
Explanation: Amazon EKS is a managed container service that allows you to deploy, manage, and scale containerized applications running on Kubernetes. It provides a managed control plane for running Kubernetes clusters in the cloud or on-premises, allowing users to focus on their application code rather than the underlying infrastructure. While ECS can run on-premises, EKS is better suited for this use case.
Q8. Which AWS service provides a fully managed container orchestration service to run Docker containers at scale, and is designed to make it easy for developers to create, deploy, and manage scalable applications?
-
A. Amazon Elastic Container Service for Kubernetes (EKS)
-
B. Amazon Elastic Container Service (ECS) ✓
-
C. AWS Lambda
-
D. Amazon Elastic Beanstalk
Explanation: Amazon Elastic Container Service (ECS) is a highly scalable, fast, container management service that makes it easy to run, stop, and manage containers on a Docker-compatible environment. It allows you to run any Docker container on a highly scalable and reliable infrastructure.
Q9. Which AWS service provides a fully managed container orchestration service for Docker containers, that allows you to automate the deployment, scaling, and management of containerized applications?
-
A. Amazon Elastic Container Service (ECS) ✓
-
B. Amazon Elastic Container Service for Kubernetes (EKS)
-
C. Amazon Elastic Beanstalk
-
D. AWS Lambda
Explanation: Amazon Elastic Container Service (ECS) is a fully managed container orchestration service that makes it easy to deploy, manage, and scale containerized applications on AWS. It eliminates the need to manage the underlying infrastructure, providing a simplified experience for container management.
Q10. Which AWS service provides fully managed, serverless databases that automatically scale up or down based on traffic changes?
-
A. Amazon DynamoDB
-
B. Amazon DocumentDB
-
C. Amazon Aurora Serverless ✓
-
D. Amazon Elastic Block Store
Explanation: Amazon Aurora Serverless is a fully managed, serverless database service that automatically scales up or down based on traffic changes. It provides a database engine that is compatible with MySQL and PostgreSQL, and it can handle large amounts of data and traffic without requiring manual scaling or provisioning.
That was just a sample. Sign up to unlock the full question bank with timed tests and certificates.
Sign Up Free