[Apr 13, 2025] Fully Updated Dumps PDF - Latest DOP-C01 Exam Questions and Answers
100% Free DOP-C01 Exam Dumps to Pass Exam Easily from Exams-boost
NEW QUESTION # 204
You are building a Ruby on Rails application for internal, non-production use which uses MySQL as a database. You want developers without very much AWS experience to be able to deploy new code with a single command line push. You also want to set this up as simply as possible.
Which tool is ideal for this setup?
- A. AWS CloudFormation
- B. AWS OpsWorks
- C. AWS ELB + EC2 with CLI Push
- D. AWS Elastic Beanstalk
Answer: D
Explanation:
Elastic Beanstalk's primary mode of operation exactly supports this use case out of the box. It is simpler than all the other options for this question.
With Elastic Beanstalk, you can quickly deploy and manage applications in the AWS cloud without worrying about the infrastructure that runs those applications. AWS Elastic Beanstalk reduces management complexity without restricting choice or control. You simply upload your application, and Elastic Beanstalk automatically handles the details of capacity provisioning, load balancing, scaling, and application health monitoring.
http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Ruby_rails.html
NEW QUESTION # 205
You have an application running a specific process that is critical to the application's functionality, and have added the health check process to your Auto Scaling Group. The instances are showing healthy but the application itself is not working as it should. What could be the issue with the health check, since it is still showing the instances as healthy.
- A. The health check is not configured properly
- B. It is not possible for a health check to monitor a process that involves the application
- C. You do not have the time range in the health check properly configured
- D. The health check is not checking the application process
Answer: D
Explanation:
Explanation
If you have custom health checks, you can send the information from your health checks to Auto Scaling so that Auto Scaling can use this information. For example, if you determine that an instance is not functioning as expected, you can set the health status of the instance to Unhealthy. The next time that Auto Scaling performs a health check on the instance, it will determine that the instance is unhealthy and then launch a replacement instance For more information on Autoscaling health checks, please refer to the below document link: from AWS
* http://docs.aws.a
mazon.com/autoscaling/latest/userguide/healthcheck.html
*
NEW QUESTION # 206
Which of the following features of the Elastic Beanstalk service will allow you to perform a Blue Green
Deployment
- A. Environment Configuration
- B. Rebuild Environment
- C. Swap Environment
- D. Swap URL's
Answer: D
Explanation:
Explanation
With the Swap url feature, you can keep a version of your environment ready. And when you are ready to cut
over, you can just use the swap url feature to switch over
to your new environment
For more information on swap url feature, please refer to the below link:
* http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.CNAM
CSwap.html
NEW QUESTION # 207
A company's application is currently deployed to a single AWS Region. Recently, the company opened a new office on a different continent. The users in the new office are experiencing high latency. The company's application runs on Amazon EC2 instances behind an Application Load Balancer (ALB) and uses Amazon DynamoDB as the database layer. The instances run in an EC2 Auto Scaling group across multiple Availability Zones. A DevOps Engineer is tasked with minimizing application response times and improving availability for users in both Regions.
Which combination of actions should be taken to address the latency issues? (Choose three.)
- A. Convert the DynamoDB table to a global table.
- B. Create Amazon Route 53 records, health checks, and latency-based routing policies to route to the AL
- C. Create new ALB and Auto Scaling group global resources and configure the new ALB to direct traffic to the new Auto Scaling group.
- D. Create Amazon Route 53 aliases, health checks, and failover routing policies to route to the ALB.
- E. Create new ALB and Auto Scaling group resources in the new Region and configure the new ALB to direct traffic to the new Auto Scaling group.
- F. Create a new DynamoDB table in the new Region with cross-Region replication enabled.
Answer: A,B,E
NEW QUESTION # 208
How does Amazon RDS multi Availability Zone model work?
- A. A second, standby database is deployed and maintained in a different region from master using asynchronous replication.
- B. A second, standby database is deployed and maintained in a different availability zone from master using asynchronous replication.
- C. A second, standby database is deployed and maintained in a different region from master using synchronous replication.
- D. A second, standby database is deployed and maintained in a different availability zone from master, using synchronous replication.
Answer: D
Explanation:
In a Multi-AZ deployment, Amazon RDS automatically provisions and maintains a synchronous standby replica in a different Availability Zone.
http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.MultiAZ.html
NEW QUESTION # 209
Using the AWS CLI, which command would you use to change the configuration settings for a CloudTrail trail?
- A. update-trail
- B. set-trail
- C. modify-trail
- D. change-trail
Answer: A
Explanation:
The update-trail command is used to change the configuration settings for a trail. You can only run update-trail command from the region in which the trail was created.
Reference:
http://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-create-and-update-a-trail- by-using-the-aws-cli.html
NEW QUESTION # 210
You have a high security requirement for your AWS accounts. What is the most rapid and sophisticated
setup you can use to react to AWS API calls to your account?
- A. Global AWS CloudTrail setup delivering to S3 with an SNS subscription to the deliver notifications,
pushing into a Lambda, which inserts records into an ELK stack for analysis. - B. Subscription to AWS Config via an SNS Topic. Use a Lambda Function to perform in-flight analysis
and reactivity to changes as they occur. - C. Use a CloudWatch Rule ScheduleExpression to periodically analyze IAM credential logs. Push the
deltas for events into an ELK stack and perform ad-hoc analysis there. - D. CloudWatch Events Rules which trigger based on all AWS API calls, submitting all events to an AWS
Kinesis Stream for arbitrary downstream analysis.
Answer: D
Explanation:
CloudWatch Events allow subscription to AWS API calls, and direction of these events into Kinesis
Streams. This allows a unified, near real-time stream for all API calls, which can be analyzed with any
tool(s) of your choosing downstream.
Reference:
http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/EventTypes.html#api_event_type
NEW QUESTION # 211
A DevOps Engineer is deploying an Amazon API Gateway API with an AWS Lambda function providing the backend functionality. The Engineer needs to record the source IP address and response status of every API call.
Which combination of actions should the DevOps Engineer take to implement this functionality?
(Choose three.)
- A. Grant API Gateway permission to read and write logs to Amazon CloudWatch through an IAM role.
- B. Create a new Amazon CloudWatch Logs log group or choose an existing log group to store the logs.
- C. Configure the API Gateway stage to enable access logging and choose a logging format.
- D. Configure AWS X-Ray to enable access logging for the API Gateway requests.
- E. Create a new Amazon S3 bucket or choose an existing S3 bucket to store the logs.
- F. Configure API Gateway to stream its log data to Amazon Kinesis.
Answer: A,B,C
Explanation:
https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-logging.html
NEW QUESTION # 212
You have an application hosted in AWS, which sits on EC2 Instances behind an Elastic Load Balancer. You have added a new feature to your application and are now receving complaints from users that the site has a slow response. Which of the below actions can you carry out to help you pinpoint the issue
- A. Use Cloudwatch, monitor the CPU utilization to see the times when the CPU peaked
- B. Create some custom Cloudwatch metrics which are pertinent to the key features of your application
- C. Use Cloudtrail to log all the API calls, and then traverse the log files to locate the issue
- D. Reviewthe Elastic Load Balancer logs
Answer: B
Explanation:
Explanation
Since the issue is occuring after the new feature has been added, it could be relevant to the new feature.
Enabling Cloudtrail will just monitor all the API calls of all services and will not benefit the cause.
The monitoring of CPU utilization will just reverify that there is an issue but will not help pinpoint the issue.
The Elastic Load Balancer logs will also just reverify that there is an issue but will not help pinpoint the issue.
For more information on custom Cloudwatch metrics, please refer to the below link:
* http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publis
hingMetrics.html
NEW QUESTION # 213
A Development team uses AWS CodeCommit for source code control. Developers apply their changes to various feature branches and create pull requests to move those changes to the master branch when they are ready for production. A direct push to the master branch should not be allowed. The team applied the AWS managed policy AWSCodeCommitPowerUser to the Developers' IAM role, but now members are able to push to the master branch directly on every repository in the AWS account.
What actions should be taken to restrict this?
- A. Modify the IAM policy and include a deny rule for the codecommit: GitPush action for the specific repositories in the resource statement with a condition for the master reference.
- B. Remove the IAM policy and add an AWSCodeCommitReadOnly policy. Add an allow rule for the codecommit: GitPush action for the specific repositories in the resource statement with a condition for the master reference.
- C. Create an additional policy to include a deny rule for the codecommit: GitPush action, and include a restriction for the specific repositories in the resource statement with a condition for the master reference.
- D. Create an additional policy to include an allow rule for the codecommit: GitPush action and include a restriction for the specific repositories in the resource statement with a condition for the feature branches reference.
Answer: A
NEW QUESTION # 214
A DevOps engineer is deploying a new version of a company's application in an AWS CodeDeploy deployment group associated with its Amazon EC2 instances. After some time, the deployment fails. The engineer realizes that all the events associated with the specific deployment ID are in a Skipped status, and code was not deployed in the instances associated with the deployment group.
What are valid reasons for this failure? (Choose two.)
- A. The IAM user who triggered the application deployment does not have permission to interact with the CodeDeploy endpoint.
- B. The appspec.yml file was not included in the application revision.
- C. The target EC2 instances were not properly registered with the CodeDeploy endpoint.
- D. An instance profile with proper permissions was not attached to the target EC2 instances.
- E. The networking configuration does not allow the EC2 instances to reach the internet via a NAT gateway or internet gateway, and the CodeDeploy endpoint cannot be reached.
Answer: D,E
Explanation:
https://docs.aws.amazon.com/codedeploy/latest/userguide/troubleshooting- deployments.html#troubleshooting-skipped-lifecycle-even
NEW QUESTION # 215
You have implemented a system to automate deployments of your configuration and application dynamically after an Amazon EC2 instance in an Auto Scaling group is launched. Your system uses a configuration management tool that works in a standalone configuration, where there is no master node. Due to the volatility of application load, new instances must be brought into service within three minutes of the launch of the instance operating system. The deployment stages take the following times to complete:
1) Installing configuration management agent: 2mins
2) Configuring instance using artifacts: 4mins
3) Installing application framework: 15mins
4) Deploying application code: 1min
What process should you use to automate the deployment using this type of standalone agent configuration?
- A. Createa web service that polls the Amazon EC2 API to check for new instances that arelaunched in an Auto Scaling group. When it recognizes a new instance, execute aremote script via SSH to install the agent, SCP the configuration artifacts andapplication code, and finally execute the agent to configure the system
- B. Builda custom Amazon Machine Image that includes all components pre-installed,including an agent, configuration artifacts, application frameworks, and code.Create a startup script that executes the agent to configure the system onstartup. *t
- C. Configureyour Auto Scaling launch configuration with an Amazon EC2 UserData script toinstall the agent, pull configuration artifacts and application code from anAmazon S3 bucket, and then execute the agent to configure the infrastructureand application.
- D. Builda custom Amazon Machine Image that includes the configuration management agentand application framework pre-installed.
Configure your Auto Scaling launchconfiguration with an Amazon EC2 UserData script to pull configurationartifacts and application code from an Amazon S3 bucket, and then execute theagent to configure the system.
Answer: B
Explanation:
Explanation
Since the new instances need to be brought up in 3 minutes, hence the best option is to pre-bake all the components into an AMI. If you try to user the User Data option, it will just take time, based on the time mentioned in the question to install and configure the various components.
For more information on AMI design please see the below link:
* https://aws.amazon.com/answers/configuration-management/aws-ami-design/
NEW QUESTION # 216
An EC2 instance has failed a health check. What will the ELB do?
- A. The ELB stops sending traffic to the instance that failed its health check
- B. The ELB will terminate the instance
- C. The ELB will replace the instance
- D. The ELB does nothing
Answer: A
Explanation:
Explanation
The AWS Documentation mentions
The load balancer routes requests only to the healthy instances. When the load balancer determines that an
instance is unhealthy, it stops routing requests to that instance. The load balancer resumes routing requests to
the instance when it has been restored to a healthy state.
For more information on ELB health checks, please refer to the below link:
* http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-healthchecks.html
NEW QUESTION # 217
You have enabled Elastic Load Balancing HTTP health checking. After looking at the AWS Management Console, you see that all instances are passing health checks, but your customers are reporting that your site is not responding.
What is the cause?
- A. The application is returning a positive health check too quickly for the AWS Management Console to respond.
- B. Latency in DNS resolution is interfering with Amazon EC2 metadata retrieval.
- C. The health check in place is not sufficiently evaluating the application function.
- D. The HTTP health checking system is misreporting due to latency in inter-instance metadata synchronization.
Answer: C
NEW QUESTION # 218
A publishing company used AWS Elastic Beanstalk, Amazon S3, and Amazon DynamoDB to develop a web application. The web application has increased dramatically in popularity, resulting in unpredictable spikes in traffic. A DevOps Engineer has noted that 90% of the requests are duplicate read requests.
How can the Engineer improve the performance of the website?
- A. Use DynamoDB Accelerator to cache repeated read requests to DynamoDB and Amazon CloudFront to cache images stored in S3.
- B. Use Amazon ElastiCache for Memcached to cache repeated read requests to DynamoDB and Varnish to cache images stored in S3.
- C. Use DynamoDB Streams to cache repeated read requests to DynamoDB and API Gateway to cache images stored in S3.
- D. Use Amazon ElastiCache for Redis to cache repeated read requests to DynamoDB and AWS Elemental MediaStore to cache images stored in S3.
Answer: D
NEW QUESTION # 219
A DevOps Engineer has a single Amazon DynamoDB table that received shipping orders and tracks inventory.
The Engineer has three AWS Lambda functions reading from a DymamoDB stream on that table. The Lambda functions perform various functions such as doing an item count, moving items to Amazon Kinesis Data Firehose, monitoring inventory levels, and creating vendor orders when parts are low.
While reviewing logs, the Engineer notices the Lambda functions occasionally fail under increased load, receiving a stream throttling error.
Which is the MOST cost-effective solution that requires the LEAST amount of operational management?
- A. Have the Lambda functions query the table directly and disable DynamoDB streams. Then have the Lambda functions query from a global secondary index.
- B. Use AWS Glue integration to ingest the DynamoDB stream, then migrate the Lambda code to an AWS Fargate task.
- C. Use Amazon Kinesis streams instead of DynamoDB streams, then use Kinesis analytics to trigger the Lambda functions.
- D. Create a fourth Lambda function and configure it to be the only Lambda reading from the stream. Then use this Lambda function to pass the payload to the other three Lambda functions.
Answer: D
Explanation:
Explanation/Reference:
NEW QUESTION # 220
You have a set of EC2 Instances running behind an ELB. These EC2 Instances are launched via an
Autoscaling Group. There is a requirement to ensure that the logs from the server are stored in a durable
storage layer. This is so that log data can be analyzed by staff in the future. Which of the following steps can
be implemented to ensure this requirement is fulfilled. Choose 2 answers from the options given below
- A. Onthe web servers, create a scheduled task that executes a script to rotate andtransmit the logs to an
Amazon S3 bucket. */ - B. UseAWS Data Pipeline to move log data from the Amazon S3 bucket to Amazon SQS inorder to
process and run reports - C. Onthe web servers, create a scheduled task that executes a script to rotate andtransmit the logs to
Amazon Glacier. - D. UseAWS Data Pipeline to move log data from the Amazon S3 bucket to Amazon Redshiftin order to
process and run reports V
Answer: A,D
Explanation:
Explanation
Amazon S3 is the perfect option for durable storage. The AWS Documentation mentions the following on S3
Storage
Amazon Simple Storage Service (Amazon S3) makes it simple and practical to collect, store, and analyze data
- regardless of format - all at massive scale. S3 is object
storage built to store and retrieve any amount of data from anywhere - web sites and mobile apps, corporate
applications, and data from loT sensors or devices.
For more information on Amazon S3, please refer to the below URL:
* https://aws.amazon.com/s3/
Amazon Redshift is a fast, fully managed data warehouse that makes it simple and cost-effective to analyze all
your data using standard SQL and your existing Business Intelligence (Bl) tools. It allows you to run complex
analytic queries against petabytes of structured data, using sophisticated query optimization, columnar storage
on high-performance local disks, and massively parallel query execution. Most results come back in seconds.
For more information on Amazon Redshift, please refer to the below URL:
* https://aws.amazon.com/redshift/
NEW QUESTION # 221
You are building a Ruby on Rails application for internal, non-production use which uses MySQL as a database. You want developers without very much AWS experience to be able to deploy new code with a single command line push. You also want to set this up as simply as possible.
Which tool is ideal for this setup?
- A. AWS CloudFormation
- B. AWS OpsWorks
- C. AWS ELB + EC2 with CLI Push
- D. AWS Elastic Beanstalk
Answer: D
Explanation:
Elastic Beanstalk's primary mode of operation exactly supports this use case out of the box. It is simpler than all the other options for this question.
With Elastic Beanstalk, you can quickly deploy and manage applications in the AWS cloud without worrying about the infrastructure that runs those applications. AWS Elastic Beanstalk reduces management complexity without restricting choice or control. You simply upload your application, and Elastic Beanstalk automatically handles the details of capacity provisioning, load balancing, scaling, and application health monitoring.
http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Ruby_rails.html
NEW QUESTION # 222
The company you work for has a huge amount of infrastructure built on AWS. However there has been some concerns recently about the security of this infrastructure, and an external auditor has been given the task of running a thorough check of all of your company's AWS assets. The auditor will be in the USA while your company's infrastructure resides in the Asia Pacific (Sydney) region on AWS. Initially, he needs to check all of your VPC assets, specifically, security groups and NACLs You have been assigned the task of providing the auditor with a login to be able to do this. Which of the following would be the best and most secure solution to provide the auditor with so he can begin his initial investigations? Choose the correct answer from the options below
- A. Givehim root access to your AWS Infrastructure, because he is an auditor he willneed access to every service.
- B. Createan 1AM usertied to an administrator role. Also provide an additional level ofsecurity with MFA.
- C. Createan 1AM user who will have read-only access to your AWS VPC infrastructure andprovide the auditor with those credentials.
- D. Createan 1AM user with full VPC access but set a condition that will not allow him tomodify anything if the request is from any IP other than his own.
Answer: C
Explanation:
Explanation
Generally you should refrain from giving high level permissions and give only the required permissions. In this case option C fits well by just providing the relevant access which is required.
For more information on 1AM please see the below link:
* https://aws.amazon.com/iam/
NEW QUESTION # 223
A DevOps Engineer has a single Amazon Dynamo DB table that received shipping orders and tracks inventory. The Engineer has three AWS Lambda functions reading from a DymamoDB stream on that table. The Lambda functions perform various functions such as doing an item count, moving items to Amazon Kinesis Data Firehose, monitoring inventory levels, and creating vendor orders when parts are low.
While reviewing logs, the Engineer notices the Lambda functions occasionally fail under increased load, receiving a stream throttling error.
Which is the MOST cost-effective solution that requires the LEAST amount of operational management?
- A. Have the Lambda functions query the table directly and disable DynamoDB streams. Then have the Lambda functions query from a global secondary index.
- B. Use AWS Glue integration to ingest the DynamoDB stream, then migrate the Lambda code to an AWS Fargate task.
- C. Use Amazon Kinesis streams instead of Dynamo DB streams, then use Kinesis analytics to trigger the Lambda functions.
- D. Create a fourth Lambda function and configure it to be the only Lambda reading from the stream.
Then use this Lambda function to pass the payload to the other three Lambda functions.
Answer: D
NEW QUESTION # 224
A company wants to create standard templates for deployment of their Infrastructure. Which AWS service can be used in this regard? Please choose one option.
- A. AmazonSimple Workflow Service
- B. AWSCIoudFormation
- C. AWSOpsWorks
- D. AWSEIastic Beanstalk
Answer: B
Explanation:
Explanation
AWS Cloud Formation gives developers and systems administrators an easy way to create and manage a collection of related AWS resources, provisioning and updating them in an orderly and predictable fashion.
You can use AWS Cloud Formation's sample templates or create your own templates to describe the AWS resources, and any associated dependencies or runtime parameters, required to run your application. You don't need to figure out the order for provisioning AWS services or the subtleties of making those dependencies work. Cloud Formation takes care of this for you. After the AWS resources are deployed, you can modify and update them in a controlled and predictable way, in effect applying version control to your AWS infrastructure the same way you do with your software. You can also visualize your templates as diagrams and edit them using a drag-and-drop interface with the AWS CloudFormation Designer.
For more information on Cloudformation, please visit the link:
* https://aws.amazon.com/cloudformation/
NEW QUESTION # 225
A company wants to adopt a methodology for handling security threats from leaked and compromised IAM access keys. The DevOps Engineer has been asked to automate the process of acting upon compromised access keys, which includes identifying users, revoking their permissions, and sending a notification to the Security team.
Which of the following would achieve this goal?
- A. Use AWS Trusted Advisor to identify compromised access keys. Create an Amazon CloudWatch Events rule with Trusted Advisor as the event source, and AWS Lambda and Amazon SNS as targets.
Use AWS Lambda to delete compromised IAM access keys and Amazon SNS to notify the Security team. - B. Use the AWS Trusted Advisor generated security report for access keys. Use Amazon EMR to run analytics on the report. Identify compromised IAM access keys and delete them. Use Amazon CloudWatch with an EMR Cluster State Change event to notify the Security team.
- C. Use the AWS Trusted Advisor generated security report for access keys. Use AWS Lambda to scan through the report. Use scan result inside AWS Lambda and delete compromised IAM access keys. Use Amazon SNS to notify the Security team.
- D. Use AWS Lambda with a third-party library to scan for compromised access keys. Use scan result inside AWS Lambda and delete compromised IAM access keys. Create Amazon CloudWatch custom metrics for compromised keys. Create a CloudWatch alarm on the metrics to notify the Security team.
Answer: A
NEW QUESTION # 226
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 CloudWatch:
Which type of events will match this event pattern?
- A. Approval actions across all the pipelines.
- B. Failed deploy and build actions across all the pipelines.
- C. All rejected or failed approval actions across all the pipelines.
- D. All the events across all pipelines.
Answer: A
NEW QUESTION # 227
Your company operates a website for promoters to sell tickets for entertainment events.
You are using a load balancer in front of an Auto Scaling group of web servers. Promotion of popular events can cause surges of website visitors.
During scaling-out at these times, newly launched instances are unable to complete configuration quickly enough, leading to user disappointment.
What options should you choose to improve scaling yet minimize costs? Choose 2 answers.
- A. Publish a custom CloudWatch memo from your application on the number of tickets sold, and create an Auto Scaling policy based on this.
- B. Create an AMI with the application pre-configured.
Create a new Auto Scaling launch configuration using this new AMI, and configure the Auto Scaling group to launch with this AMI. - C. Use the history of past scaling events for similar event sales to predict future scaling requirements.
Use the Auto Scaling scheduled scaling feature to vary the size of the fleet. - D. Use Auto Scaling pre-warming to launch instances before they are required.
Configure pre-warming to use the CPU trend CloudWatch metric for the group. - E. Configure an Amazon S3 bucket for website hosting. Upload into the bucket an HTML holding page with its x-amz-website-redirect-location' metadata property set to the load balancer endpoint.
Configure Elastic Load Balancing to redirect to the holding page when the load on web servers is above a certain level.
Answer: B,C
NEW QUESTION # 228
......
The DOP-C01 exam covers a wide range of topics related to DevOps practices and AWS services. This includes topics such as continuous integration and deployment, monitoring and logging, security and compliance, and automating infrastructure. Candidates for this certification should have experience with these topics in a professional setting and should be familiar with AWS services such as EC2, S3, and CloudFormation.
Free DOP-C01 Exam Questions DOP-C01 Actual Free Exam Questions: https://testking.exams-boost.com/DOP-C01-valid-materials.html