AWS AWS DevOps and Developer Tools 2 — Questions and Answers
Question 1: What is AWS X-Ray used for?
- To analyze and debug distributed applications by tracing requests as they travel through services (Correct answer)
- To monitor infrastructure metrics
- To log all API calls in an AWS account
- To scan for security vulnerabilities
Correct answer: To analyze and debug distributed applications by tracing requests as they travel through services
AWS X-Ray helps you analyze and debug production applications by tracing requests as they flow through your distributed microservices.
Question 2: Which AWS service provides a managed continuous integration service that stores and manages Docker container images?
- Amazon ECR (Correct answer)
- Amazon ECS
- AWS CodeBuild
- AWS CodeArtifact
Correct answer: Amazon ECR
Amazon ECR (Elastic Container Registry) is a fully managed Docker container registry that stores, manages, and deploys container images.
Question 3: What is the AWS CDK (Cloud Development Kit)?
- A framework that lets you define cloud infrastructure using familiar programming languages like Python, TypeScript, or Java (Correct answer)
- A command-line tool for managing AWS accounts
- A managed IDE for cloud development
- A visual interface for building CloudFormation templates
Correct answer: A framework that lets you define cloud infrastructure using familiar programming languages like Python, TypeScript, or Java
AWS CDK lets you define cloud infrastructure using programming languages like TypeScript, Python, or Java, which are then synthesized into CloudFormation templates.
Question 4: Which AWS service provides a central artifact repository for software packages like npm, Maven, or PyPI?
- AWS CodeArtifact (Correct answer)
- Amazon ECR
- AWS CodeBuild
- AWS CodeCommit
Correct answer: AWS CodeArtifact
AWS CodeArtifact is a fully managed artifact repository that works with common package managers like npm, Maven, and pip to store dependencies.
Question 5: What is Amazon CloudWatch Alarms used for?
- To monitor metrics and trigger notifications or automated actions when thresholds are breached (Correct answer)
- To log application events
- To trace distributed requests
- To audit API calls
Correct answer: To monitor metrics and trigger notifications or automated actions when thresholds are breached
CloudWatch Alarms watch a single metric and send notifications or trigger actions like Auto Scaling when the metric crosses a defined threshold.
Question 6: Which AWS service provides a managed Apache Kafka-compatible streaming data service?
- Amazon MSK (Correct answer)
- Amazon Kinesis
- Amazon SQS
- Amazon SNS
Correct answer: Amazon MSK
Amazon MSK (Managed Streaming for Apache Kafka) is a fully managed service that makes it easy to build and run Apache Kafka streaming applications.
What is AWS X-Ray used for?