Amazon AWS Certified DevOps Engineer - Professional (DOP-C02)
Get full access to the updated question bank and pass on your first attempt.
Vendor
Amazon
Certification
Professional Certifications
Content
469 Qs
Status
Verified
Updated
3 days ago
Test the Practice Engine
Experience our real exam environment with free demo questions
Premium Bundle
Complete Success Suite
Save $44 Instantly
-
โFull PDF + Interactive Engine Everything you need to pass
-
โAll Advanced Question Types Drag & Drop, Hotspots, Case Studies
-
โPriority 24/7 Expert Support Direct line to certification leads
-
โ90 Days Free Priority Updates Stay current as exams change
Success Metric
98.4% Pass Rate
Standard Simulation
Practice Engine
One-Time Payment
-
Web-Based (Zero Install)
-
Real Testing Environment Virtual & Practice Modes
-
Interactive Engine Drag & Drop, Hotspots
-
60 Days Free Updates
Compatible with All Devices
Basic Tier
PDF Study Guide
Digital Access
- โ Exam Questions (PDF)
- โ Mobile Friendly
- โ 60 Days Updates
Verified 94-Question Preview (DOP-C02)
Verified Community
The CertoMetrics Standard.
Recommend the #1 platform for verified Amazon certification resources.
Success Network
Help a Colleague Succeed.
Invite a peer to get their own updated DOP-C02 prep kit.
Exam Overview
The AWS Certified DevOps Engineer - Professional certification is a highly esteemed credential validating advanced expertise in provisioning, operating, and managing distributed application systems on the AWS platform. This certification signifies a deep understanding of implementing and managing continuous delivery systems and methodologies, automation, security controls, governance processes, and robust logging and monitoring solutions. Achieving this professional-level certification demonstrates your ability to operate, scale, and secure complex AWS environments, positioning you as a critical asset for organizations striving for operational excellence and rapid innovation. It significantly enhances career opportunities, recognizing your capability to bridge development and operations for optimized software delivery pipelines.
Questions
65
Passing Score
750/1000
Duration
180 Minutes
Difficulty
Expert
Level
Professional
Skills Measured
Career Path
Target Roles
Common Questions
Is the material up to date?
Yes. We update our question bank weekly to match the latest Amazon standards. You get free updates for 90 days.
What format do I get?
You get instant access to both the **PDF** (for reading) and our **Premium Test Engine** (for exam simulation).
Is there a guarantee?
Absolutely. If you fail the DOP-C02 exam using our materials, we offer a full money-back guarantee.
When do I get the download?
Instantly. The download link is available in your dashboard immediately after payment is confirmed.
Free Study Guide Samples
Previewing updated DOP-C02 bank (94 Questions).
A company requires its developers to tag all Amazon Elastic Block Store (Amazon EBS) volumes in an account to indicate a desired backup frequency. This requirement Includes EBS volumes that do not require backups. The company uses custom tags named Backup_Frequency that have values of none, daily, or weekly that correspond to the desired backup frequency. An audit finds that developers are occasionally not tagging the EBS volumes.
A DevOps engineer needs to ensure that all EBS volumes always have the Backup_Frequency tag so that the company can perform backups at least weekly unless a different value is specified.
Which solution will meet these requirements?
Correct Option: B
โ
Option B (Correct)
Reasoning: AWS Config with a managed rule for EC2::Volume continuously monitors compliance, identifying untagged EBS volumes. A custom AWS Systems Manager Automation runbook configured as a remediation action will automatically apply the Backup_Frequency tag with a value of weekly, ensuring all volumes are tagged as required.
โ Why the other choices are incorrect:
- Option A is incorrect: Using a custom Config rule for "all EC2 resources" is less precise than a managed rule specifically for
EC2::Volume. While it could work, a managed rule is simpler and often preferred when available for specific resource types. - Options C and D are incorrect: CloudTrail/EventBridge are event-driven, reacting only to
CreateVolumeorModifyVolumeevents. They won't continuously monitor for compliance across all existing volumes or detect if tags are removed later. AWS Config provides the necessary continuous audit and remediation for all volumes, regardless of creation/modification events.
A company has an organization in AWS Organizations. The organization has all features enabled and has AWS CloudTrail trusted access configured for the management account. An Amazon Simple Notification Service (Amazon SNS) topic is configured for notifications.
The company needs all AWS events in all AWS Regions in the organization to be recorded and retained in an audit account, The company needs near real-time notifications of any failed login attempts.
A DevOps engineer has created an organization trail in the management account to log events for all Regions,
Which solution will meet these requirements with the LEAST operational effort?
Correct Option: A
โ Option A (Correct) Reasoning: An organization trail publishing to an audit account S3 bucket meets the logging requirement. EventBridge natively integrates with CloudTrail for near real-time event filtering (like failed logins) and direct notification to an SNS topic, providing the least operational effort for real-time alerts.
โ Why the other choices are incorrect:
- Option B is incorrect: Polling Athena with Lambda is not real-time, introduces significant operational overhead (Athena table, Lambda function, scheduled rule), and is less efficient than EventBridge's native event-driven capabilities.
- Option C is incorrect: Publishing logs to a CloudWatch log group in the management account contradicts the requirement to retain logs in the audit account. While metric filters and alarms can work, EventBridge is more direct for CloudTrail events.
- Option D is incorrect: Kinesis Data Stream and Amazon Managed Service for Apache Flink add significant complexity and operational overhead for simply filtering CloudTrail events. EventBridge offers a much simpler, serverless approach for this specific notification.
A company is using an Amazon Aurora cluster as the data store for its application. The Aurora cluster is configured with a single DB instance. The application performs read and write operations on the database by using the cluster's instance endpoint.
The company has scheduled an update to be applied to the cluster during an upcoming maintenance window. The cluster must remain available with the least possible interruption during the maintenance window.
What should a DevOps engineer do to meet these requirements?
Correct Option: B
โ
Option B: Add a reader instance to the Aurora cluster. Create a custom ANY endpoint for the cluster. Update the application to use the Aurora cluster's custom ANY endpoint for read and write operations.
Reasoning: Adding a reader instance allows for failover. A custom ANY endpoint intelligently routes both read and write traffic to any available instance. During primary instance maintenance, a reader is promoted, and the ANY endpoint ensures continuous operation with minimal application interruption.
A company used a lift and shift to migrate a workload to AWS. The company has an Auto Scaling group of Amazon EC2 instances. Each EC2 instance runs a web application, a database, and a Redis cache.
Users are experiencing large variations in the web application's response times. Requests to the web application go to a single EC2 instance that is under significant load. The company wants to separate the application components to improve availability and performance.
Which solution will meet these requirements?
Correct Option: D
โ Option D (Correct) Reasoning: This solution correctly separates the components. An ALB with an ASG provides scalable and highly available web application frontend. Aurora Multi-AZ delivers a resilient, high-performance database. ElastiCache for Redis creates a fully managed, highly available, and performant cache, addressing all stated requirements for improved availability and performance.
โ Why the other choices are incorrect:
- Option A is incorrect: Using an NLB for a web application is less suitable than an ALB, which offers Layer 7 features. Putting an ALB in front of a Redis cache is an incorrect architectural pattern; applications connect directly to the ElastiCache endpoint.
- Option B is incorrect: Deploying the Redis cache in a single Availability Zone compromises availability, directly contradicting the requirement to improve availability.
- Option C is incorrect: An NLB for a web application lacks the Layer 7 features beneficial for HTTP traffic. While ElastiCache for Redis is correct, the proposed integration with a target group/DNS target type for Redis is an unusual and generally unnecessary pattern, as applications typically connect directly to the ElastiCache endpoint.
A company must encrypt all AMIs that the company shares across accounts. A DevOps engineer has access to a source account where an unencrypted custom AMI has been built. The DevOps engineer also has access to a target account where an Amazon EC2 Auto Scaling group will launch EC2 instances from the AMI. The DevOps engineer must share the AMI with the target account.
The company has created an AWS Key Management Service (AWS KMS) key in the source account.
Which additional steps should the DevOps engineer perform to meet the requirements? (Choose three.)
Correct Option: A,D,F
โ Option A (Correct) Reasoning: The initial AMI is unencrypted, but the requirement is to encrypt all shared AMIs. Copying the unencrypted AMI to an encrypted version using the specified KMS key in the source account is the necessary first step to meet the encryption mandate.
โ Option D (Correct) Reasoning: For cross-account KMS key usage, the source key policy must permit the target account to create grants. This allows the target account to then create a grant for its Auto Scaling group service-linked role, enabling instance launch while maintaining proper access control.
โ Option F (Correct) Reasoning: After the AMI is encrypted (as per step A), it must be explicitly shared with the target account to make it available for use by the Auto Scaling group. Sharing the encrypted AMI is crucial to satisfy the security requirement.
โ Why the other choices are incorrect:
- Option B is incorrect: The problem states the company created and will use "an AWS Key Management Service (AWS KMS) key in the source account," not the default Amazon EBS encryption key.
- Option C is incorrect: Creating a KMS grant for a service-linked role in another account directly from the source account is not the standard or secure cross-account KMS sharing mechanism. It typically requires an intermediary step via the key policy.
- Option E is incorrect: This violates the core requirement to "encrypt all AMIs that the company shares across accounts." The AMI must be encrypted before sharing.
A company uses AWS CodePipeline pipelines to automate releases of its application. A typical pipeline consists of three stages build, test, and deployment. The company has been using a separate AWS CodeBuild project to run scripts for each stage. However, the company now wants to use AWS CodeDeploy to handle the deployment stage of the pipelines.
The company has packaged the application as an RPM package and must deploy the application to a fleet of Amazon EC2 instances. The EC2 instances are in an EC2 Auto Scaling group and are launched from a common AMI.
Which combination of steps should a DevOps engineer perform to meet these requirements? (Choose two.)
Correct Option: A,D
โ Option A (Correct) Reasoning: The CodeDeploy agent must be installed on target EC2 instances for deployments to occur; baking it into the common AMI ensures all ASG instances have it. The EC2 instance IAM role requires permissions to interact with CodeDeploy and retrieve application revisions (e.g., from S3). These are foundational prerequisites.
โ Option D (Correct) Reasoning: A CodeDeploy application is the top-level container. "In-place" deployment is appropriate for updating an RPM package on existing EC2 instances. Specifying the Auto Scaling Group as the target robustly manages deployments across the fleet. The CodePipeline must be updated to use the CodeDeploy action.
โ Why the other choices are incorrect:
- Option B is incorrect: While the CodeDeploy agent and AppSpec file are needed, the AppSpec file defines deployment hooks and file locations, it does not "grant access to CodeDeploy"; that's handled by IAM roles.
- Option C is incorrect: This describes deploying new AMIs, often for immutable infrastructure or blue/green, not deploying an RPM package "in-place" to existing instances using CodeDeploy. CodeDeploy's "in-place" type updates the application on existing servers.
- Option E is incorrect: Targeting individual EC2 instances is less robust than targeting the Auto Scaling group. CodeDeploy's integration with ASGs ensures that all instances in the group, including newly launched ones, are correctly managed within the deployment.
A company uses an Amazon Aurora PostgreSQL global database that has two secondary AWS Regions. A DevOps engineer has configured the database parameter group to guarantee an RPO of 60 seconds. Write operations on the primary cluster are occasionally blocked because of the RPO setting.
The DevOps engineer needs to reduce the frequency of blocked write operations,
Which solution will meet these requirements?
Correct Option: B
โ Option B (Correct) Reasoning: Enabling write forwarding allows applications in secondary regions to issue write operations locally, which are then asynchronously forwarded to the primary. This can optimize the write path, reduce direct cross-region application traffic to the primary, and potentially stabilize the primary's write and replication workload. A more stable primary workload can help it better maintain replication lag within the RPO, thereby reducing the frequency of RPO-induced write blocks.
โ Why the other choices are incorrect:
- Option A is incorrect: Adding more secondary clusters increases the number of replication targets, potentially increasing the burden on the primary and making it harder to meet the RPO, thus likely increasing write blocks.
- Option C is incorrect: While removing a secondary cluster might reduce the overall replication load and help meet RPO, it compromises disaster recovery capabilities. The question seeks to reduce blocks, implying a solution that doesn't reduce resilience if possible.
- Option D is incorrect: Aurora Global Database uses asynchronous replication for cross-region communication. Synchronous replication is not a supported feature for Aurora Global Database and would introduce significant latency, worsening write blocking.
A companyโs security team requires that all external Application Load Balancers (ALBs) and Amazon API Gateway APIs are associated with AWS WAF web ACLs. The company has hundreds of AWS accounts, all of which are included in a single organization in AWS Organizations. The company has configured AWS Config for the organization. During an audit, the company finds some externally facing ALBs that are not associated with AWS WAF web ACLs.
Which combination of steps should a DevOps engineer take to prevent future violations? (Choose two.)
Correct Option: A,C
โ Option A (Correct) Reasoning: Delegating AWS Firewall Manager to a security account establishes a centralized administration point. This is crucial for managing WAF policies across "hundreds of AWS accounts" within an organization, enabling consistent security enforcement without requiring access to individual member accounts.
โ Option C (Correct) Reasoning: An AWS Firewall Manager policy can automatically deploy and attach AWS WAF web ACLs to resources like ALBs and API Gateway APIs across all accounts in an organization. This prevents "future violations" by ensuring newly created resources are compliant from inception, and can also remediate existing non-compliant resources.
โ Why the other choices are incorrect:
- Option B is incorrect: Amazon GuardDuty is a threat detection service. Delegating it to a security account is good practice but does not prevent missing WAF associations or attach WAFs to resources.
- Option D is incorrect: Amazon GuardDuty's function is threat detection, not creating, managing, or attaching AWS WAF web ACLs to services like ALBs or API Gateway APIs.
- Option E is incorrect: AWS Config managed rules detect non-compliance but do not automatically attach WAF web ACLs. While they can identify violations, they require additional remediation mechanisms. AWS Firewall Manager is purpose-built for this enforcement.
A company has deployed an application in a production VPC in a single AWS account. The application is popular and is experiencing heavy usage, The companyโs security team wants to add additional security, such as AWS WAF. to the application deployment However. the application's product manager is concerned about cost and does not want to approve the change unless the security team can prove that additional security is necessary.
The security team believes that some of the application's demand might come from users that have IP addresses that are on a deny list. The security team provides the deny list to a DevOps engineer. If any of
the IP addresses on the deny list access the application, the security team wants to receive automated notification in near real time so that the security team can document that the application needs additional
security. The DevOps engineer creates a VPC flow log for the production VPC,
Which set of additional steps should the DevOps engineer take to meet these requirements MOST cost-effectively?
Correct Option: A
โ Option A (Correct) Reasoning: This approach uses CloudWatch Logs, Metric Filters, and Alarms, which are native, highly integrated, and cost-effective for near real-time log analysis and notification. Capturing "accepted" traffic is sufficient, and the 5-minute period/1 datapoint alarm meets the near real-time requirement efficiently.
โ Why the other choices are incorrect:
- Option B is incorrect: Using Athena and QuickSight for near real-time alerts is overly complex and less cost-effective. Athena is query-on-demand, incurring costs per query, and QuickSight adds significant BI tool overhead not needed for a simple alert.
- Option C is incorrect: Deploying an OpenSearch Service cluster is expensive and operationally complex for this specific, simple alerting need. The S3-Lambda-OpenSearch pipeline is overkill compared to CloudWatch's direct capabilities.
- Option D is incorrect: While using CloudWatch Logs, this option introduces an Athena CloudWatch connector via Lambda and periodic Athena queries. This adds complexity and cost for continuous monitoring, making it less cost-effective than direct CloudWatch Metric Filters and Alarms.
A security review has identified that an AWS CodeBuild project is downloading a database population script from an Amazon S3 bucket using an unauthenticated request. The security team does not allow unauthenticated requests to S3 buckets for this project.
How can this issue be in the MOST secure manner?
Correct Option: C
โ Option C (Correct) Reasoning: Removing unauthenticated access with a bucket policy directly resolves the security issue. Granting CodeBuild's service role S3 access via IAM is the secure, recommended method for AWS service-to-service communication. Using AWS CLI then automatically authenticates with this role.
โ Why the other choices are incorrect:
- Option A is incorrect:
AllowedBucketsis for output artifacts, not input. It doesn't secure the download if the bucket remains unauthenticated, nor does it provide the necessary authentication/authorization. - Option B is incorrect: S3 does not support "HTTPS basic authentication" with a custom token. This approach attempts to implement a non-standard and less secure authentication mechanism outside of AWS's native IAM.
- Option D is incorrect: While removing unauthenticated access is correct, using hardcoded IAM access keys and secret access keys directly in CodeBuild is an anti-pattern and a major security risk. IAM roles are the secure alternative.
A company wants to use AWS development tools to replace its current bash deployment saipts- The company currently deploys a LAMP application to a group of Amazon EC2 instances behind an Application Load Balancer (ALB). During the deployments. The company unit tests the committed application, stops and starts services. unregisters and reregisters instances with the load balancer, and updates file permissions. The company wants to maintain the samo deployment functionality through tho shift to using AWS services.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
An ecommerce company is receiving reports that its order history page is experiencing delays in reflecting the processing status of orders. The order processing system consists of an AWS Lambda function that uses reserved concurrency. The Lambda function processes order messages from an Amazon Simple Queue Service (Amazon SQS) queue and inserts processed orders into an Amazon DynamoDB table. The DynamoDB table has auto scaling enabled for read and write capacity.
Which actions should a DevOps engineer take to resolve this delay? (Choose two.)
Premium Solution Locked
Unlock all 469 answers & explanations
A company's DevOps engineer uses AWS Systems Manager to perform maintenance tasks. The company has a few Amazon EC2 instances that require a restart after notifications from AWS Health. The DevOps engineer must implement an automated solution that uses Amazon EvontBridge to remediate tho notifications during the companyโs scheduled maintenance windows.
How should the DevOps engineer configure an Eventbridge rule to meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A company has a single AWS account that runs hundreds of Amazon EC2 instances in a single AWS Region. New EC2 instances are launched and terminated each hour in the account. The account also includes existing EC2 instances that have been running for longer than a week.
The company's security policy requires all running EC2 instances to use an EC2 instance profile. If an EC2 instance does not have an instance profile attached, the EC2 instance must use a default instance profile that has no IAM permissions assigned.
A DevOps engineer reviews the account and discovers EC2 instances that are running without an instance profile. During the review, the DevOps engineer also observes that new EC2 instances are being launched without an instance profile.
Which solution will ensure that an instance profile is attached to all existing and future EC2 instances in the Region?
Premium Solution Locked
Unlock all 469 answers & explanations
A DevOps engineer uses AWS CodeBuild to frequently produce software packages. The CodeBuild project builds large Docker images that the DevOps can use across multiple builds. The DevOps engineer wants to improve build performance and minimize costs.
Which solution will moot those requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A development team is using AWS CodeCommit to version control application code and AWS CodePipeline to orchestrate software deployments. The team has decided to use a remote main branch as the trigger for the pipeline to integrate code changes. A developer has pushed code changes to the CodeCommit repository, but noticed that the pipeline had no reaction, even after 10 minutes.
Which of the following actions should be taken to troubleshoot this issue?
Premium Solution Locked
Unlock all 469 answers & explanations
A DevOps engineer at a company is supporting an AWS environment in which all users use AWS IAM Identity Center. The company wants to immediately disable credentials of any new IAM user and wants the security team to receive a notification.
Which combination of steps should the DevOps engineer take to meet these requirements? (Select THREE, )
Premium Solution Locked
Unlock all 469 answers & explanations
A company uses AWS Organizations and AWS Control Tower to manage all the company's AWS accounts. The company uses the Enterprise Support plan.
A DevOps engineer is using Account Factory for Terraform (AFT) to provision new accounts. When new accounts are provisioned, the DevOps engineer notices that the support plan for the new accounts is set to the Basic Support plan. The DevOps engineer needs to implement a solution to provision the new accounts with the Enterprise Support plan.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A company has an application that stores data that includes personally identifiable information (PII) in an Amazon S3 bucket, all data encrypted with AWS Key Management Service (AWS KMS) customer managed keys All AWS resources are deployed from an AWS CloudFormation template. A DevOps engineer needs to set up a development environment for the application in a different AWS account.
The data in the development environment's S3 bucket needs to be updated once a week from the production environments S3 bucket the company must not move PII Trom the production environment workout anonymizing the PII first. The data in each environment must be encrypted with different KMS customยซ managed keys.
Which combination of steps should the DevOps engineer take to meet these requirements? (Select TWO.)
Premium Solution Locked
Unlock all 469 answers & explanations
A company's DevOps engineer uses AWS Systems Manager to perform maintenance tasks during maintenance windows. The company has a few Amazon EC2 instances that require a restart after notifications from AWS Health. The DevOps engineer needs to implement an automated solution to remediate these notifications. The DevOps engineer creates an Amazon EventBridge rule.
How should the DevOps engineer configure the EventBridge rule to meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A company's DevOps engineer is working in a multi-account environment. The company uses AWS Transit Gateway to route all outbound traffic through a network operations account. In the network operations account, all account traffic passes through a firewall appliance for inspection before the traffic goes to an internet gateway. The firewall appliance sends logs to Amazon CloudWatch Logs and includes event severities of CRITICAL, HIGH, MEDIUM, LOW. and INFO. The security team wants to receive an alert if any CRITICAL events occur
What should the DevOps engineer do to meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A company has an AWS CodePipeline pipeline that is configured with an Amazon S3 bucket in the eu-west-1 Region. The pipeline deploys an AWS Lambda application to the same Region. The pipeline consists of an AWS CodeBuild project build action and an AWS CloudFormation deploy action.
The CodeBuild project uses the aws cloudformation package AWS CLI command to build an artifact that contains the Lambda function codeโs .zip file and the CloudFormation template. The CloudFormation deploy action references the CloudFormation template from the output artifact of the CodeBuild projectโs build action.
The company wants to also deploy the Lambda application to the us-east-1 Region by using the pipeline in eu-west-1. A DevOps engineer has already updated the CodeBuild project to use the aws cloudformation package command to produce an additional output artifact for us-east-1.
Which combination of additional steps should the DevOps engineer take to meet these requirements? (Choose two.)
Premium Solution Locked
Unlock all 469 answers & explanations
A DevOps engineer uses a pipeline in AWS CodePipeline. The pipeline has a build action and a deploy action for a single-page web application that is delivered to an Amazon S3 bucket. Amazon CloudFront serves the web application- The build action creates an artifact for the web application.
The DevOps engineer has created an AWS CloudFormation template that defines the S3 bucket and configures the S3 bucket to host the application. The DevOps engineer has configured a CloudFormation deploy action before the S3 action. The CloudFormation deploy action creates the S3 bucket. The DevOps engineer needs to configure the S3 deploy action to use the S3 bucket from the CloudFormation template.
Which combination of steps will meet these requirements? (Select TWO.)
Premium Solution Locked
Unlock all 469 answers & explanations
A company hosts a security auditing application in an AWS account. The auditing application uses an IAM role to access other AWS accounts. All the accounts are in the same organization in AWS Organizations.
A recent security audit revealed that users in the audited AWS accounts could modify or delete the auditing application's IAM role. The company needs to prevent any modification to the auditing application's IAM role by any entity other than a trusted administrator IAM role.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A company's DevOps team uses Node Package Manager (NPM) open source libraries to build applications. The DevOps team runs its application build process in an AWS CodeBuild project that downloads the NPM libraries from public NPM repositor.
The company wants 00 host the NPM libraries in private NPM repositories, The company also needs to be able to run checks on new versions of the libraries before the DevOps team uses the libraries.
Which solution will meet these requirements with the LEAST operational effort?
Premium Solution Locked
Unlock all 469 answers & explanations
A company has an on-premises application that is written in Go. A DevOps engineer must move the application to AWS. The company's development team wants to enable blue/green deployments and perform A/B testing.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A company is using AWS Organizations and wants to implement a governance strategy with fee following requirements:
โข AWS resource access is restricted to the same two Regions for all accounts.
โข AWS services are limited to a specific group of authorized services for all accounts.
โข Authentication is provided by Active Directory.
โข Access permissions are organized by job function and are identical in each account.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A developer is maintaining a fleet of 50 Amazon EC2 Linux servers. The servers are part of an Amazon EC2 Auto Scaling group, and also use Elastic Load Balancing for load balancing.
Occasionally, some application servers are being terminated after failing ELB HTTP health checks. The developer would like to perform a root cause analysis on the issue, but before being able to access application logs, the server is terminated.
How can log collection be automated?
Premium Solution Locked
Unlock all 469 answers & explanations
A company runs a web application on Amazon Elastic Kubernetes Service (Amazon EKS). The company uses Amazon CloudFront to distribute the application. The company recently enabled AWS WAF. The company set up Amazon CloudWatch Logs to send logs to an aws-waf40gs log group.
The company wants a DevOps engineer to receive alerts if there are sudden changes in blocked traffic, The company does not want to receive alerts for other changes in AWS WAF log behavior. The company will tune AWS WAF rules over time.
The DevOps engineer is currently subscribed to an Amazon Simple Notification Service (Amazon SNS) topic in the environment.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A company has an organization in AWS Organizations. The organization includes workload accounts that contain enterprise applications. The company centrally manages users from an operations account. No users can be created in the workload accounts. The company recently added an operations team and must provide the operations team members with administrator access to each workload account.
Which combination of actions will provide this access? (Choose three.)
Premium Solution Locked
Unlock all 469 answers & explanations
A DevOps engineer needs to troubleshoot a pipeline that uses a GitHub code repository. The pipeline contains a source stage, a build stage, and a deploy stage. The pipeline also has an AWS Code Star connection to the GitHub code repository.
The build stage uses an AWS CodeBuild build project, The build project needs to perform a git done of the repository as part of the build process, The DevOps engineer validates that the source stage is working property. However, the build stage fails each time the pipeline runs.
What is the reason that the build stage fails In the pipeline?
Premium Solution Locked
Unlock all 469 answers & explanations
A company is implementing an Amazon Elastic Container Service (Amazon ECS) cluster to run its workload. The company architecture will run multiple ECS services on the cluster. The architecture includes an Application Load Balancer on the front end and uses multiple target groups to route traffic.
A DevOps engineer must collect application and access logs. The DevOps engineer then needs to send the logs to an Amazon S3 bucket for near-real-time analysis.
Which combination of steps must the DevOps engineer take to meet these requirements? (Choose three.)
Premium Solution Locked
Unlock all 469 answers & explanations
A company plans to use Amazon CloudWatch to monitor its Amazon EC2 instances. The company needs to stop EC2 instances when the average of the NetworkPacketsIn metric is less than 5 for at least 3 hours in a 12-hour time window. The company must evaluate the metrbc every hour. The EC2 instances must continue to run if there is missing data for the NetworkPacketsIn metric during the evaluation period.
A DevOps engineer creates a CloudWatch alarm for the NetworkPacketsIn metric. The DevOps engineer configures a threshold value of 5 and an evaluation period of 1 hour.
Which set of additional actions should the DevOps engineer take to meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A company that uses electronic health records is running a fleet of Amazon EC2 instances with an Amazon Linux operating system. As part of patient privacy requirements, the company must ensure continuous compliance for patches for operating system and applications running on the EC2 instances.
How can the deployments of the operating system and application patches be automated using a default and custom repository?
Premium Solution Locked
Unlock all 469 answers & explanations
A company is developing code and wants to use semantic versioning. The company's DevOps team needs to create a pipeline for compiling the code. The team also needs to manage versions of the compiled code. If the code uses any open source libraries, the libraries must also be cached in the build process.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A DevOps engineer needs to back up sensitive Amazon S3 objects that are stored within an S3 bucket with a private bucket policy using S3 cross-Region replication functionality. The objects need to be copied to a target bucket in a different AWS Region and account.
Which combination of actions should be performed to enable this replication? (Choose three.)
Premium Solution Locked
Unlock all 469 answers & explanations
A company's DevOps engineer uses AWS Systems Manager to perform maintenance tasks. The company has a few Amazon EC2 instances that require a restart after notifications from AWS Health.
The DevOps engineer must implement an automated solution that uses Amazon EventBridge to remediate the notifications during the company's scheduled maintenance windows.
How should the DevOps engineer configure an EventBridge rule to meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A company has an application that runs on Amazon EC2 instances that are in an Auto Scaling group. When the application starts up, the application needs to process data from an Amazon S3 bucket before the application can start to serve requests.
The size of the data that is stored in the S3 bucket is growing. When the Auto Scaling group adds new instances, the application now takes several minutes to download and process the data before the application can serve requests. The company must reduce the time that elapses before new EC2 instances are ready to serve requests.
Which solution is the MOST cost-effective way to reduce the application startup time?
Premium Solution Locked
Unlock all 469 answers & explanations
A company uses an HPC platform to run analysis jobs for data. The company uses AWS CodeBuild to create container images and store the images on Amazon Elastic Container Registry (Amazon ECR). The images are then deployed on Amazon Elastic Kubernetes Service (Amazon EKS).
To maintain compliance, the company needs to ensure that the images are signed before the images are deployed on Amazon EKS. The signing keys must be rotated periodically and must be managed automatically. The company needs to track who generates the signatures.
Which solution will meet these requirements with the LEAST operational effort?
Premium Solution Locked
Unlock all 469 answers & explanations
A development team uses AWS CodeCommit for version control for applications. The development team uses AWS CodePipeline, AWS CodeBuild. and AWS CodeDeploy for CI/CD infrastructure. In CodeCommit, the development team recently merged pull requests that did not pass long-running tests in the code base. The development team needed to perform rollbacks to branches in the codebase, resulting in lost time and wasted effort.
A DevOps engineer must automate testing of pull requests in CodeCommit to ensure that reviewers more easily see the results of automated tests as part of the pull request review.
What should the DevOps engineer do to meet this requirement?
Premium Solution Locked
Unlock all 469 answers & explanations
A development team wants to use AWS CloudFormation stacks to deploy an application. However, the developer LAM role does not have the required permissions to provision the resources that are specified in the AWS CloudFormation template. A DevOps engineer needs to implement a solution that allows the developers to deploy the stacks. The solution must follow the principle of least privilege.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A company has its AWS accounts in an organization in AWS Organizations. AWS Config is manually configured in each AWS account. The company needs to implement a solution to centrally configure AWS Config for all accounts in the organization. The solution also must record resource changes to a central account.
Which combination of actions should a DevOps engineer perform to meet these requirements? (Choose two.)
Premium Solution Locked
Unlock all 469 answers & explanations
A company uses an organization in AWS Organizations to manage many AWS accounts. The company has enabled all features for the organization. The company uses AWS CloudFormation StackSets to deploy configurations to the accounts. The company uses AWS Config to monitor an Amazon S3 bucket.
The company needs to ensure that all object uploads to the S3 bucket use AWS Key Management Service (AWS KMS) encryption,
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A company is performing vulnerability scanning for all Amazon EC2 instances across many accounts. The accounts are in an organization in AWS Organizations. Each account's VPCs are attached to a shared transit gateway. The VPCs send traffic to the internet through a central egress VPC. The company has enabled Amazon Inspector in a delegated administrator account and has enabled scanning for all member accounts.
A DevOps engineer discovers that some EC2 instances are listed in the "not scanning" tab in Amazon Inspector.
Which combination of actions should the DevOps engineer take to resolve this issue? (Choose three.)
Premium Solution Locked
Unlock all 469 answers & explanations
A company used a lift and shift strategy to migrate a workload to AWS. The company has an Auto Scaling group of Amazon EC2 instances. Each EC2 instance runs a web application, a database, and a Redis cache.
Users are experiencing large variations in the web application's response times, Requests to the web application go to a single EC2 instance that is cmder significant load, The company wants to separate the application components to improve availability and performance.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A space exploration company receives telemetry data from multiple satellites. Small packets of data are received through Amazon API Gateway and are placed directly into an Amazon Simple Queue Service (Amazon SQS) standard queue. A custom application is subscribed to the queue and transforms the data into a standard format.
Because of inconsistencies in the data that the satellites produce, the application is occasionally unable to transform the data. In these cases, the messages remain in the SQS queue. A DevOps engineer must develop a solution that retains the failed messages and makes them available to scientists for review and future processing.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A DevOps engineer deployed multiple AWS accounts by using AWS Control Tower to support different business, technical, and administrative I-nits in a company. A security team needs the DevOps engineer to automate AWS Control Tower guardrails for the company. The guardrails must be applied to all accounts In an OU of the company's organization in AWS Organizations.
The security team needs a solution that has version control and can be reviewed and rolled back if necessary. The security team will maintain the management of the solution in its 01.1. The security team wants to limit the type of guardrails Yat are allowed and allow only new guardrails that are approved by the security team.
Which solution will meet these requirements with the MOST operational efficiency?
Premium Solution Locked
Unlock all 469 answers & explanations
A company's production environment uses an AWS CodeDeploy blue/green deployment to deploy an application. The deployment includes Amazon EC2 Auto Scaling groups that launch instances that run Amazon Linux 2.
A working appspec.yml file exists in the code repository and contains the following text:

A DevOps engineer needs to ensure that a script downloads and installs a license file onto the instances before the replacement instances start to handle request traffic. The DevOps engineer adds a hooks section to the appspec.yml file.
Which hook should the DevOps engineer use to run the script that downloads and installs the license file?
Premium Solution Locked
Unlock all 469 answers & explanations
A company uses AWS CodeBuild projects to perform a process. At the end of the process, the CodeBuild projects log a summarized report to an Amazon CloudWatch log group.
The companyโs DevOps team needs to create a solution that will give team members access to view the summaries from the CodeBuild projects.
Which solution will meet these requirements in the MOST operationally efficient way?
Premium Solution Locked
Unlock all 469 answers & explanations
A company has an application that includes AWS Lambda functions. The Lambda functions run Python code that is stored in an AWS CodeCommit repository. The company has recently experienced failures in the production environment because of an error in the Python code. An engineer has written unit tests for the Lambda functions to help avoid releasing any future defects into the production environment.
The company's DevOps team needs to implement a solution to integrate the unit tests into an existing AWS CodePipeline pipeline. The solution must produce reports about the unit tests for the company to view.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A company runs an application in an Auto Scaling group of Amazon EC2 instances behind an Application Load Balancer (ALB). The EQ instances run Docker containers that make requests to a MySQL database that runs on separate EC2 instances.
A DevOps engineer needs to update the application to use a serverless architecture.
Which solution will meet this requirement with the FEWEST changes?
Premium Solution Locked
Unlock all 469 answers & explanations
A DevOps engineer is designing an application that integrates with a legacy REST API. The application has an AWS Lambda function that reads records from an Amazon Kinesis data stream. The function sends the records to the legacy REST API.
Approximately 10% of the records that the Lambda function sends the Kinesis data stream have data errors and must be processed manually. The function event source configuration has an Amazon Simple Queue Service (Amazon SQS) dead-letter queue as an on-failure destination. The DevOps engineer has configured the Lambda function to process records in batches and has Implemented retries in case of failure.
During testing, the DevOps engineer notices that the dead-letter queue contains many records that have no data errors and that already have been processed by the legacy REST API. The DevOps engineer needs to configure the Lambda function's event source options to reduce the number of errorless records that are sent to the dead-letter queue.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A company stores its Python-based application code in AWS CodeCommit. The company uses AWS CodePipeline to deploy the application. The CodeCommit repository and the CodePipeline pipeline are deployed to the same AWS account.
The company's security team requires all code to be scanned for vulnerabilities before the code is deployed to production. If any vulnerabilities are found, the deployment must stop.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A company has deployed an application in a production VPC in a Single AWS account. The application s popular and IS experiencing heavy usage The company's security team wants to add additional security, such as AWS WAF, to the application deployment However, the application's product manager is concerned about cost and does not want to approve the change unless the security team can prove that additional security is necessary.
The security team believes that some of the application's demand might come from users that have IP addresses that are on a deny list. The security team provides the deny list to a DevOps engineer. If any of the IP addresses on the deny list access the application, the security team wants to receive automated notification in near real time so that the security team can that the application needs additional security. The DevOps engineer creates a VPC flow log for the production VPC.
Which set of additional steps should the DevOps engineer take to meet these requirements MOST cost-effectively?
Premium Solution Locked
Unlock all 469 answers & explanations
A DevOps team supports an application that runs in an Amazon Elastic Container Service (Amazon ECS) cluster behind an Application Load Balancer (ALB). Currently, the DevOps team uses AWS CodeDeploy to
deploy the application by using a blue/green all-at-once strategy. Recently, the DevOps team had to roll back a deployment when a new version of the application dramatically increased response times for
requests.
The DevOps team needs use to a deployment strategy that will allow the team to monitor a new version of the application before the team shifts all traffic to the new version. If a new version of the
application increases response times, the deployment should be rolled back as quickly as possible.
Which combination of steps will meet these requirements? (Select Two.)
Premium Solution Locked
Unlock all 469 answers & explanations
A company uses AWS CloudFormation stacks to deploy updates to its ap include AWS Auto Scaling groups, Amazon EC2 instances, Application Load Balancers (ALBs). and other resources that are necessary to launch and maintain independent stacks. Changes to application resources outside of CloudFormation stack updates are not allowed.
The company recently attempted to update the application stack by using the AWS CLI. The stack failed to update and produced the following error message: "ERROR: both the deployment and the CloudFormation stack rollback failed. The deployment failed because the following resource(s) failed to update: [AutoScalingGroup1].โ
The stack remains in a status of UPDATE ROLLBACK FAILED.
Which solution will resolve this issue?
Premium Solution Locked
Unlock all 469 answers & explanations
A company uses an AWS CodeArtifact repository to store Python packages that the company developed intemally. A DevOps engineer needs to use AWS CodeDeploy to deploy an application to an Amazon EC2 instance. The application uses a Python package that is stored in the CodeArtifact repository. A Beforelnstall lifecycle event hook will install the package.
The DevOps engineer needs to grant the EC2 instance access to the CodeArtifact repository.
Which solution will meet this requirement?
Premium Solution Locked
Unlock all 469 answers & explanations
A company uses AWS Organizations to manage its AWS accounts. The organization has root has an OU that is named environments. The environments OU has two child OUS that are named Development and Production, respectively.
The Environments OU and the child OUs have the default FullAWSAccess policy in place. A DevOps engineer plans to remove the FullAWSAccess policy from the Development OU and replace the policy with a policy that allows all actions on Amazon EC2 resources.
What will be the outcome of this policy replacement?
Premium Solution Locked
Unlock all 469 answers & explanations
company's web application uses an Application Load Balancer (ALB) to direct traffic to Amazon EQ instances across three Availability Zones.
The company has deployed a newer version of the application to one Availability Zone for testing. If a problem is detected with the application, the company wants to direct traffic away from the affected Zone until the deployment has been rolled back. The application must remain available and maintain static stability during the rollback.
Which solution will meet these requirements with the MOST operational efficiency?
Premium Solution Locked
Unlock all 469 answers & explanations
A company manually provisions IAM access for its employees. The company wants to replace the manual process with an automated process. The company has an existing Active Directory system configured with an external SAML 2.0 identity provider (ldP).
The company wants employees to use their existing corporate credentials to access AWS. The groups from the existing Active Directory system must be available for permission management in AWS Identity and Access Management (IAM). A DevOps engineer has completed the initial configuration of AWS IAM Identity Center (AWS Single Sign-On) in the company's AWS account.
What should the DevOps engineer do next to meet the requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A company is using Amazon Elastic Kubernetes Service (Amazon EKS) to run its applications. The EKS cluster is successfully running multiple pods. The company stores the pod images in Amazon Elastic Container Registry (Amazon ECR).
The company needs to configure Pod Identity access for the EKS cluster. The company has already updated the node IAM role by using the permissions for Pod Identity access.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A company has chosen AWS to host a new application. The company needs to implement a multi-account strategy. A DevOps engineer creates a new AWS account and an organization in AWS Organizations. The DevOps engineer also creates the OU structure for the organization and sets up a landing zone by using AWS Control Tower.
The DevOps engineer must implement a solution that automatically deploys resources for new accounts that users create through AWS Control Tower Account Factory. When a user creates a new account, the solution must apply AWS CloudFormation templates and SCPs that are customized for the OU or the account to automatically deploy all the resources that are attached to the account. All the OUS are enrolled in AWS Control Tower.
Which solution will meet these requirements in the MOST automated way?
Premium Solution Locked
Unlock all 469 answers & explanations
A company is building a serverless application that uses AWS Lambda functions to process data. A BeginResponse Lambda function initializes data in response to specific application events. The company needs to ensure that a large number of Lambda functions are invoked after the BeginResponse Lambda function runs. Each Lambda function must be invoked in parallel and depends on only the outputs of the BeginResponse Lambda function. Each Lambda function has retry' logic for invocation and must be able to fine-tune concurrency without losing data.
Which solution will meet these requirements with the MOST operational efficiency?
Premium Solution Locked
Unlock all 469 answers & explanations
A company is using AWS Organizations to centrally manage its AWS account by using AWS CloudFormation StackSets. The company has configured trusted access in Organizations for AWS Config and has configured a member account as a delegated administrator account for AWS Config.
A DevOps engineer needs to implement a new security policy. The policy must require all current and future AWS member accounts to use a common baseline of AWS Contig rules that contain remediation actions that are managed from a central account. Non-administrator users who can access member accounts must not be able to modify this common baseline of AWS Config rules that are deployed into each member account.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A company runs several applications in the same AWS account. The applications send logs to Amazon CloudWatch.
A data analytics team needs to collect performance metrics and custom metrics from the applications. The analytics team needs to transform the metrics data before storing the data in an Amazon S3 bucket.
The analytics team must automatically collect any new metrics that are added to the CloudWatch namespace.
Which solution will meet these requirements with the LEAST operational overhead?
Premium Solution Locked
Unlock all 469 answers & explanations
A company wants to use a grid system for a proprietary enterprise in-memory data store on top of AWS. This system can run in multiple server nodes in any Linux-based distribution. The system must be able to reconfigure the entire cluster every time a node is added or removed. When adding or removing nodes, an / etc./cluster/nodes.config file must be updated, listing the IP addresses of the current node members of that cluster. The company wants to automate the task of adding new nodes to a cluster.
What can a DevOps Engineer do to meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A DevOps engineer needs to design a cloud-based solution to standardize deployment artifacts for AWS Cloud deployments and on-premises deployments. There is currently no routing traffic between the on-premises data center and the AWS environment.
The solution must be able to consume downstream packages from public repositories and must be highly available. Data must be encrypted in transit and at rest. The solution must store the deployment artifacts in object storage and deploy the deployment artifacts into Amazon Elastic Container Service (Amazon ECS). The deployment artifacts must be encrypted in transit if the deployment artifacts travel across the public internet.
The DevOps engineer needs to deploy this solution in less than two weeks.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
An online retail company based in the United States plans to expand its operations to Europe and Asia in the next six months. Its product currently runs on Amazon EC2 instances behind an Application Load Balancer. The instances run in an Amazon EC2 Auto Scaling group across multiple Availability Zones. All data is stored in an Amazon Aurora database instance.
When the product is deployed in multiple regions, the company wants a single product catalog across all regions, but for compliance purposes, its customer information and purchases must be kept in each region.
How should the company meet these requirements with the LEAST amount of application changes?
Premium Solution Locked
Unlock all 469 answers & explanations
A company has an application that receives file uploads from users. The application processes the uploads in multiple threads. An Amazon Elastic Container Service (Amazon ECS) service runs multiple instances of the application task. The task publishes an Application File Upload custom metric each time a file is uploaded to be processed.
Each file can take a while to process. The company wants to ensure that the tasks scale based on the number of files for each available task. Recently many uploads in a short amount of time took a long time to process because individual tasks became overloaded with too many files.
Which solution will fix the problem with the LEAST operational effort?
Premium Solution Locked
Unlock all 469 answers & explanations
A DevOps Engineer is working on a project that is hosted on Amazon Linux and has failed a security review. The DevOps Manager has been asked to review the company buildspec.yaml file for an AWS CodeBuild project and provide recommendations. The buildspec.yaml file is configured as follows:

What changes should be recommended to comply with AWS security best practices? (Choose three.)
Premium Solution Locked
Unlock all 469 answers & explanations
A company is migrating an application to Amazon Elastic Container Service (Amazon ECS). The company wants to consolidate log data in Amazon CloudWatch in the us-west-2 Region. No CloudWatch log groups currently exist for Amazon ECS
The company receives the following error code when an ECS task attempts to launch. "service my-service-name was unable to place a task because no container instance met all of its requirements." The ECS task definition includes the following container log configuration:

The ECS cluster uses an Amazon EC2 Auto Scaling group to provide capacity for tasks. EC2 instances launch an Amazon ECS-optimized AMI.
Which solution will fix the problem?
Premium Solution Locked
Unlock all 469 answers & explanations
A company is implementing AWS CodePipeline to automate its testing process. The company wants to be notified when the execution state fails and used the following custom event pattern in Amazon EventBridge:

Which type of events will match this event pattern?
Premium Solution Locked
Unlock all 469 answers & explanations
A company deploys its application by using AWS Code Pipeline. The pipeline deploys to a staging environment and then to a production environment if the staging deployment succeeds.
A recent production deployment was manually rolled back because a large amount of customer traffic caused unexpected system behavior. The company needs to configure the pipeline to prevent this issue in future deployments
Which solution will meet these requirements with the LEAST operational overhead?
Premium Solution Locked
Unlock all 469 answers & explanations
A business has an application that consists of five independent AWS Lambda functions. The DevOps Engineer has built a CI/CD pipeline using AWS CodePipeline and AWS CodeBuild that builds, tests, packages, and deploys each Lambda function in sequence. The pipeline uses an Amazon CloudWatch Events rule to ensure the pipeline execution starts as quickly as possible after a change is made to the application source code.
After working with the pipeline for a few months, the DevOps Engineer has noticed the pipeline takes too long to complete.
What should the DevOps Engineer implement to BEST improve the speed of the pipeline?
Premium Solution Locked
Unlock all 469 answers & explanations
A company's applications run on Amazon EC2 instances and use AWS Lambda functions in multiple AWS accounts. All EC2 instances have the Amazon CloudWatch agent installed. All accounts belong to the same organization in AWS Organizations. The company has created a dedicated central log account.
All logs that the applications produce must be sent to a central location. The logs must be encrypted with keys that the company manages.
Which solution meets these requirements with the LEAST operational overhead?
Premium Solution Locked
Unlock all 469 answers & explanations
An Amazon EC2 instance with no internet access is running in a Virtual Private Cloud (VPC) and needs to download an object from a restricted Amazon S3 bucket. When the DevOps Engineer tries to gain access to the object, an AccessDenied error is received.
What are the possible causes for this error? (Choose three.)
Premium Solution Locked
Unlock all 469 answers & explanations
A DevOps engineer needs to configure an AWS CodePipeline pipeline that publishes container images to an Amazon Elastic Container Registry (Amazon ECR) repository. The pipeline must wait for the previous run to finish and must run when new Git tags are pushed to a Git repository that is connected to AWS CodeConnections. An existing deployment pipeline needs to run in response to the publication of new container images.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A large enterprise is deploying a web application on AWS. The application runs on Amazon EC2 instances behind an Application Load Balancer. The instances run in an Auto Scaling group across multiple Availability Zones. The application stores data in an Amazon RDS Oracle DB instance and Amazon DynamoDB. There are separate environments for development, testing, and production.
What is the MOST secure and flexible way to obtain password credentials during deployment?
Premium Solution Locked
Unlock all 469 answers & explanations
A company is building a web application on AWS. The application uses AWS CodeConnections to access a Git repository The company sets up a pipeline in AWS CodePipeline that automatically builds and deploys the application to a staging environment when the company pushes code to the main branch. Bugs and integration issues sometimes occur in the main branch because there is no automated testing integrated into the pipeline.
The company wants to automatically run tests when code merges occur in the Git repository and to prevent deployments from reaching the staging environment if any test fails. Tests can run up to 20 minutes.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
The Security team depends on AWS CloudTrail to detect sensitive security issues in the companyโs AWS account. The DevOps Engineer needs a solution to auto-remediate CloudTrail being turned off in an AWS account.
What solution ensures the LEAST amount of downtime for the CloudTrail log deliveries?
Premium Solution Locked
Unlock all 469 answers & explanations
A development team manually builds a local artifact. The development team moves the artifact to an Amazon S3 bucket to support an application. The application has a local cache that must be cleared when the development team deploys the application to Amazon EC2 instances. For each deployment, the development team runs a command to clear the cache, download the artifact from the S3 bucket, and unzip the artifact to complete the deployment.
The development team wants to migrate the deployment process to a CI/CD process and to track the progress of each deployment.
Which combination of actions will meet these requirements with the MOST operational efficiency? (Select THREE.)
A Set up an AWS CodeConnections compatible Git repository. Allow developers to merge code into the repository. Use AWS CodeBuild to build an artifact and copy the object into the S3 bucket. Configure CodeBuild to run for every merge into the main branch.
Premium Solution Locked
Unlock all 469 answers & explanations
A company is testing a web application that runs on Amazon EC2 instances behind an Application Load Balancer. The instances run in an Auto Scaling group across multiple Availability Zones. The company uses a blue/green deployment process with immutable instances when deploying new software.
During testing, users are being automatically logged out of the application at random times. Testers also report that, when a new version of the application is deployed, all users are logged out. The Development team needs a solution to ensure users remain logged in across scaling events and application deployments.
What is the MOST efficient way to ensure users remain logged in?
Premium Solution Locked
Unlock all 469 answers & explanations
A company has an application that streams logs to an Amazon CloudWatch Logs log group. The logs must be available for the team to search in CloudWatch for at least 30 days. Logs must be accessible with low latency for at least 90 days. After 180 days, log retrieval is rare and latency is not important.
A DevOps engineer creates an Amazon S3 bucket to store the logs. Log availability metrics and data protection are important to the company.
Which solution will meet these requirements in the MOST cost-effective way?
Premium Solution Locked
Unlock all 469 answers & explanations
A DevOps Engineer manages a large commercial website that runs on Amazon EC2. The website uses Amazon Kinesis Data Streams to collect and process web logs. The DevOps Engineer manages the Kinesis consumer application, which also runs on Amazon EC2.
Sudden increases of data cause the Kinesis consumer application to fall behind, and the streams drop records before they can be processed. The DevOps engineer must implement a solution to improve stream handling.
What is the FASTEST method to improve stream handling?
Premium Solution Locked
Unlock all 469 answers & explanations
A company is developing a mobile app that requires extensive automated testing across multiple device types. The company is using AWS CodePipeline for its CI/CD pipeline.
The company must implement a scalable testing solution that can handle increased test loads as the app grows.
Which solution will meet these requirements with the LEAST management overhead?
Premium Solution Locked
Unlock all 469 answers & explanations
A company is using an AWS CodeBuild project to build and package an application. The packages are copied to a shared Amazon S3 bucket before being deployed across multiple AWS accounts.
The buildspec.yml file contains the following:

The DevOps Engineer has noticed that anybody with an AWS account is able to download the artifacts.
What steps should the DevOps Engineer take to stop this?
Premium Solution Locked
Unlock all 469 answers & explanations
A company uses Amazon Elastic Kubernetes Services (Amazon EKS) to host containerized applications that are available in Amazon Elastic Container Registry (Amazon ECR).
The company currently launches EKS clusters in the company's development environment by using the AWS CLI aws eks create-cluster command. The company uses the aws eks create-addon command to install required add-ons. All installed add-ons are currently version compatible with the version of Kubernetes that the company uses. All clusters exclusively use managed node groups for compute capacity.
Some of the EKS clusters require a version upgrade. A DevOps engineer must ensure that upgrades continuously occur within the AWS standard support schedule.
Which solution will meet this requirement with the LEAST operational overhead?
Premium Solution Locked
Unlock all 469 answers & explanations
A company has developed an AWS Lambda function that handles orders received through an API. The company is using AWS CodeDeploy to deploy the Lambda function as the final stage of a CI/CD pipeline.
A DevOps Engineer has noticed there are intermittent failures of the ordering API for a few seconds after deployment. After some investigation, the DevOps Engineer believes the failures are due to database changes not having fully propagated before the Lambda function begins executing.
How should the DevOps Engineer overcome this?
Premium Solution Locked
Unlock all 469 answers & explanations
A DevOps engineer is building a photo sharing website that gives users the ability to upload photos and to view photos that other users share. Users upload photos to an Amazon S3 bucket by using presigned URLs.
The DevOps engineer must ensure that photos are scanned for malware before the website returns the photos to other users.
Which combination of steps will meet these requirements? (Select TWO.)
Premium Solution Locked
Unlock all 469 answers & explanations
A company uses Amazon S3 to store proprietary information. The Development team creates buckets for new projects on a daily basis. The Security team wants to ensure that all existing and future buckets have encryption, logging, and versioning enabled. Additionally, no buckets should ever be publicly read or write accessible.
What should a DevOps Engineer do to meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A company is running an application on Amazon Elastic Kubernetes Service (Amazon EKS). The company needs to implement comprehensive logging for the control plane and the nodes. The company must analyze API requests to the Kubernetes control plane and must monitor container performance on the nodes.
Which solution will meet these requirements with the LEAST operational overhead?
Premium Solution Locked
Unlock all 469 answers & explanations
A highly regulated company has a policy that DevOps Engineers should not log in to their Amazon EC2 instances except in emergencies. If a DevOps Engineer does log in, the Security team must be notified within 15 minutes of the occurrence.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
A DevOps engineer needs to implement a CI/CD pipeline that uses AWS CodeBuild to run a test suite. The test suite contains many test cases and takes a long time to finish running. The DevOps engineer wants to reduce the duration to run the tests. However, the DevOps engineer still wants to generate a single test report for all the test cases.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 469 answers & explanations
An application runs on Amazon EC2 instances behind an Application Load Balancer (ALB). A DevOps Engineer is using AWS CodeDeploy to release a new version. The deployment fails during the AllowTraffic lifecycle event, but a cause for the failure is not indicated in the deployment logs.
What would cause this?
Premium Solution Locked
Unlock all 469 answers & explanations
Full Question Bank Locked
You have reached the end of the free study guide preview. Upgrade now to unlock all 469 questions and the full simulation engine.
Certification Path
Related Certifications
Customer Reviews
Global Community Feedback
David M.
"The practice engine is incredible. It feels exactly like the real testing environment and helped me build so much confidence."
Sarah J.
"The PDF is very well organized and the explanations for the answers are actually helpful, not just random text."
Michael C.
"I was skeptical, but the content is high quality and definitely worth the price. I passed on my first try!"