Chapter 9 - Developer Tools Management and Governance Flashcards
Which AWS service helps you enable governance, compliance, and operational and risk auditing of your AWS account and also records as events actions taken by a user, role, or an AWS service?
- AWS Cloudwatch
- AWS WAF
- AWS Shield
- AWS Cloudtrail
- AWS Cloudwatch
- AWS WAF
- AWS Shield
- AWS Cloudtrail
Where is Cloudtrail event logs stored?
- EBS
- RDS
- Redshift
- S3
- EMR
- EBS
- RDS
- Redshift
- S3
- EMR
Which AWS service you will use for continuous integration and continuous delivery for fast and reliable application and infrastructure updates?
- AWS CodePipeline
- AWS CodeBuild
- AWS CodeDeploy
- AWS CodeStar
- AWS CloudFormation
- AWS CodePipeline
- AWS CodeBuild
- AWS CodeDeploy
- AWS CodeStar
- AWS CloudFormation
Which AWS service is a fully managed build service that compiles source code, runs tests, and produces software packages that are ready to deploy?
- AWS CodePipeline
- AWS CodeBuild
- AWS CodeDeploy
- AWS CodeStar
- AWS CloudFormation
- AWS CodePipeline
- AWS CodeBuild
- AWS CodeDeploy
- AWS CodeStar
- AWS CloudFormation
Which AWS service automates code deployments to any instance, including Amazon EC2 instances and on-premises servers?
- AWS CodePipeline
- AWS CodeBuild
- AWS CodeDeploy
- AWS CodeStar
- AWS CloudFormation
- AWS CodePipeline
- AWS CodeBuild
- AWS CodeDeploy
- AWS CodeStar
- AWS CloudFormation
Which AWS service allows to model your entire infrastructure in a text file?
- AWS CodePipeline
- AWS CodeBuild
- AWS CodeDeploy
- AWS CodeStar
- AWS CloudFormation
- AWS CodePipeline
- AWS CodeBuild
- AWS CodeDeploy
- AWS CodeStar
- AWS CloudFormation
Which AWS configuration management service uses Chef?
- AWS CodePipeline
- AWS CodeBuild
- AWS CodeDeploy
- AWS OpsWorks
- AWS CloudFormation
- AWS CodePipeline
- AWS CodeBuild
- AWS CodeDeploy
- AWS OpsWorks
- AWS CloudFormation
Which AWS service helps you to continuously monitor and record configuration changes of your AWS resources and also inventory your AWS resources?
- AWS Cloudwatch
- AWS Config
- AWS SystemManager
- AWS OpsWorks
- AWS CloudFormation
- AWS Cloudwatch
- AWS Config
- AWS SystemManager
- AWS OpsWorks
- AWS CloudFormation
Which AWS service will you use to collect and track metrics, collect and monitor log files, set alarms, and automatically react to changes in your AWS resources?
- AWS Cloudwatch
- AWS Config
- AWS SystemManager
- AWS Cloudwatch
- AWS CloudFormation
- AWS Cloudwatch
- AWS Config
- AWS SystemManager
- AWS Cloudwatch
- AWS CloudFormation
As a developer which AWS service you will use to analyze and debug production, distributed applications built using a microservices architecture?
- AWS Cloudwatch
- AWS Config
- AWS SystemManager
- AWS Cloudwatch
- AWS X-Ray
- AWS Cloudwatch
- AWS Config
- AWS SystemManager
- AWS Cloudwatch
- AWS X-Ray
Which of the following format can be used to write CloudFormation ‘infrastructure as a code’ scripts?
- JSON only
- YAML only
- JSON and YAML
- JSON and XML
- XML Only
- JSON only
- YAML only
- JSON and YAML
- JSON and XML
- XML Only
You want to centralize operational data from multiple AWS services and automate tasks across your AWS resources. Which AWS service you should use?
- AWS Account Dashboard
- AWS System Manager
- AWS Trusted Advisor
- AWS Cloud Trail
- AWS Account Dashboard
- AWS System Manager
- AWS Trusted Advisor
- AWS Cloud Trail
Which of the following use case is not enabled by Cloudtrail?
- IT and Security administrators can perform security analysis
- DevOps engineers can model and provision AWS and third party application resources in your cloud environment
- IT Administrators and DevOps engineers can track changes to AWS resources
- DevOps engineers can troubleshoot operations issues
- IT Auditors can use log files as compliance aid
- IT and Security administrators can perform security analysis
- DevOps engineers can model and provision AWS and third party application resources in your cloud environment
- IT Administrators and DevOps engineers can track changes to AWS resources
- DevOps engineers can troubleshoot operations issues
- IT Auditors can use log files as compliance aid
What are the different use cases for AWS Config? Choose 4.
- To exercise better governance over your resource configurations and to detect resource misconfigurations.
- To have visibility and control of your infrastructure on AWS.
- Auditing and Compliance for data that requires frequent audits to ensure compliance with internal policies and best practices.
- Managing and Troubleshooting Configuration Changes.
- Detailed historical information about your AWS resource configurations to analyze potential security weaknesses.
- To exercise better governance over your resource configurations and to detect resource misconfigurations.
- To have visibility and control of your infrastructure on AWS.
- Auditing and Compliance for data that requires frequent audits to ensure compliance with internal policies and best practices.
- Managing and Troubleshooting Configuration Changes.
- Detailed historical information about your AWS resource configurations to analyze potential security weaknesses.
By default, what is the periodic interval in which Amazon EC2 sends metric data to CloudWatch?
- 1-minute
- 3-minute
- 5-minute
- 4-minute
- 1-minute
- 3-minute
- 5-minute
- 4-minute
What you should do to send metric data for your instance to CloudWatch in 1-minute periods?
- Disable detailed monitoring
- Enable detailed monitoring
- Write a lambda program to process CloudWatch events
- Change the value in Cloudwatch for periodic interval to 1 minute
- Disable detailed monitoring
- Enable detailed monitoring
- Write a lambda program to process CloudWatch events
- Change the value in Cloudwatch for periodic interval to 1 minute
You are the cloud infrastructure administrator for your company. The VPC created by different business unit development team have to following security guidelines:
- No security group should ingress from 0.0.0.0/0 to port 22 -
- VPC flow logs should be enabled -
- Default security group of every VPC should restricts all traffic.
How can you ensure that you are notified whenever there is a change in existing VPC or a new VPC is created which violates the above rules?
- Use AWS Cloudtrail and have a custom log analyzer to capture the settings and changes.
- Use Amazon Inspector to capture the settings and changes.
- Use Amazon Cloudwatch to capture the settings and changes.
- Use AWS Config to create above compliance rules for VPC
- Use AWS Cloudtrail and have a custom log analyzer to capture the settings and changes.
- Use Amazon Inspector to capture the settings and changes.
- Use Amazon Cloudwatch to capture the settings and changes.
- Use AWS Config to create above compliance rules for VPC
What are differences between AWS Config and AWS CloudTrail? Choose 2.
- AWS CloudTrail records user API activity on your account and allows you to access information about this activity. AWS Config records point-in-time configuration details for your AWS resources as Configuration Items (CIs).
- AWS CloudTrail get full details about API actions, such as identity of the caller, the time of the API call, the request parameters, and the response elements returned by the AWS service. You can use AWS Config to answer “What did my AWS resource look like?” at a point in time. You can use AWS CloudTrail to answer “Who made an API call to modify this resource?”
- AWS Config get full details about API actions, such as identity of the caller, the time of the API call, the request parameters, and the response elements returned by the AWS service. You can use AWS CloudTrail CI to answer “What did my AWS resource look like?” at a point in time. You can use AWS CloudTrail toanswer “Who made an API call to modify this resource?”
- AWS Config records user API activity on your account and allows you to access information about this activity. AWS CloudTrail records point-in-time configuration details for your AWS resources as Configuration Items (CIs).
- AWS CloudTrail records user API activity on your account and allows you to access information about this activity. AWS Config records point-in-time configuration details for your AWS resources as Configuration Items (CIs).
- AWS CloudTrail get full details about API actions, such as identity of the caller, the time of the API call, the request parameters, and the response elements returned by the AWS service. You can use AWS Config to answer “What did my AWS resource look like?” at a point in time. You can use AWS CloudTrail to answer “Who made an API call to modify this resource?”
- AWS Config get full details about API actions, such as identity of the caller, the time of the API call, the request parameters, and the response elements returned by the AWS service. You can use AWS CloudTrail CI to answer “What did my AWS resource look like?” at a point in time. You can use AWS CloudTrail toanswer “Who made an API call to modify this resource?”
- AWS Config records user API activity on your account and allows you to access information about this activity. AWS CloudTrail records point-in-time configuration details for your AWS resources as Configuration Items (CIs).
Which AWS service enables you to monitor your complete stack (applications, infrastructure, and services) and leverage alarms, logs, and events data to take automated actions?
- Account Dashboard
- Flow Logs
- CloudWatch
- Cloud Trail
- Account Dashboard
- Flow Logs
- CloudWatch
- Cloud Trail
You are the solution architect for a Healthcare Application developed on AWS platform. Because of the regulatory requirements you want an email to be sent to a distribution list whenever there is configuration changes that involve security groups and Network Access Control List (ACL). How can you achieve this?
- Configure VPC flow logs with CloudWatch Logs to monitor your trail logs and be notified when activity occurs through SNS email.
- Configure CloudTrail with CloudWatch Logs to monitor your trail logs and be notified when activity occurs through SNS email.
- Configure CloudTrail notify when activity occurs through SNS email.
- Configure CloudWatch to monitor and be notified when activity occurs through SNS email.
- Configure VPC flow logs with CloudWatch Logs to monitor your trail logs and be notified when activity occurs through SNS email.
- Configure CloudTrail with CloudWatch Logs to monitor your trail logs and be notified when activity occurs through SNS email.
- Configure CloudTrail notify when activity occurs through SNS email.
- Configure CloudWatch to monitor and be notified when activity occurs through SNS email.
What are the benefits of CloudFormation? Choose 3.
- Simplifies Infrastructure Management. AWS CloudFormation is a service that helps you model and set up your Amazon Web Services resources.
- Quickly Replicate Your Infrastructure. You can reuse your template to set up your resources consistently and repeatedly.
- Easily Control and Track Changes to Your Infrastructure.
- Provides an environment to easily deploy and run applications in the cloud.
- Simplifies Infrastructure Management. AWS CloudFormation is a service that helps you model and set up your Amazon Web Services resources.
- Quickly Replicate Your Infrastructure. You can reuse your template to set up your resources consistently and repeatedly.
- Easily Control and Track Changes to Your Infrastructure.
- Provides an environment to easily deploy and run applications in the cloud.
You are maintaining three environment for your web application in the US-East region: Production, Staging and QA. Production environment has 4 EC2 instances. Your DevOps team uses CloudFormation to manage the environment infrastructure provisioning. To do performance testing in a secluded environment you have requested your DevOps team to spin off another environment in US-East region which is replica of Production environment. The DevOps mentions that they will cross the EC2 instance quota for the region if they create 4 EC2 instances but will meet the total quota if they provision 3 instances. What will happen if the DevOps team executes the CloudFormation template to provision 4 instances?
- All four EC2 instances will be provisioned irrespective of regional total count exceeding the quota.
- The template execution will fail and not a single EC2 instance will be provisioned.
- The template execution will throw a warning, but provision three EC2 instance which will make the total equal to region quota.
- The template execution will provision three EC2 instance and raise AWS support request automatically for provision of one more EC2 instance.
- All four EC2 instances will be provisioned irrespective of regional total count exceeding the quota.
- The template execution will fail and not a single EC2 instance will be provisioned.
- The template execution will throw a warning, but provision three EC2 instance which will make the total equal to region quota.
- The template execution will provision three EC2 instance and raise AWS support request automatically for provision of one more EC2 instance.
What are the features of AWS X-Ray? Choose 4.
- Simplifies your compliance audits by automatically recording and storing event logs for actions made within your AWS account.
- You can analyze simple asynchronous event calls, three-tier web applications, or complex microservices applications consisting of thousands of services.
- Traces user requests as they travel through your entire application
- You can glean insights into how your application is performing identify performance bottlenecks and discover root causes.
- Can automatically highlight bugs or errors in your application code by analyzing the response code for each request made to your application.
- Simplifies your compliance audits by automatically recording and storing event logs for actions made within your AWS account.
- You can analyze simple asynchronous event calls, three-tier web applications, or complex microservices applications consisting of thousands of services.
- Traces user requests as they travel through your entire application
- You can glean insights into how your application is performing identify performance bottlenecks and discover root causes.
- Can automatically highlight bugs or errors in your application code by analyzing the response code for each request made to your application.
You company’s Cloud Center of Excellence has defined security policies for AWS services used for deployed applications. You have been tasked to create solution that will detect, inform and automatically react to non-compliant configuration changes within application microservices architecture. For example if a member of the development team has made a change to the API Gateway for a microservice to allow the endpoint to accept inbound HTTP traffic, rather than only allowing HTTPS requests. Your solution should identifies this change as a security violation, and performs two actions: creates a log of the detected change for auditing and send a notification. Which AWS services you will use to tackle this scenario so that it is scalable, reliable and cost effective?
- AWS Config, Amazon SNS, Amazon SQS, AWS Lambda
- AWS Config, Amazon SNS, Amazon SQS, Amazon EC2
- AWS Config, Amazon SQS, AWS Lambda
- AWS Config, Amazon SNS, Amazon SQS
- AWS Config, Amazon SNS
- AWS Config, Amazon SNS, Amazon SQS, AWS Lambda
- AWS Config, Amazon SNS, Amazon SQS, Amazon EC2
- AWS Config, Amazon SQS, AWS Lambda
- AWS Config, Amazon SNS, Amazon SQS
- AWS Config, Amazon SNS
Choose two correct statements regarding Cloudwatch metrics?
- Standard resolution, with data having a one-minute granularity
- High resolution, with data at a granularity of one second
- Standard resolution, with data having a one-second granularity
- High resolution, with data at a granularity of one minute
- Standard resolution, with data having a one-minute granularity
- High resolution, with data at a granularity of one second
- Standard resolution, with data having a one-second granularity
- High resolution, with data at a granularity of one minute
Your company has deployed lot of web applications on AWS running on Auto Scaling EC2 instances. You want to monitor the EC2 service limits continuously and also to be proactively notified when your AWS account has reached 60% of the EC2 On-Demand instance limit. How can you achieve this? Choose 2.
- Use the AWS Trusted Advisor Service Limits check to monitor service limits.
- Configure alarm in Cloudwatch using TrustedAdvisor servicelimit metrics.
- Configure alarm in Cloudtrail using TrustedAdvisor servicelimit metrics.
- Use the AWS System Manager to monitor service limits.
- Use the AWS Trusted Advisor Service Limits check to monitor service limits.
- Configure alarm in Cloudwatch using TrustedAdvisor servicelimit metrics.
- Configure alarm in Cloudtrail using TrustedAdvisor servicelimit metrics.
- Use the AWS System Manager to monitor service limits.
Which AWS services will help your company to enable compliance, and operational and risk auditing of your AWS account? Choose 2.
- CloudTrail
- CloudWatch
- Config
- CloudFormation
- CloudTrail
- CloudWatch
- Config
- CloudFormation
You are using AWS Config to keep track of the configuration of your S3 bucket ACLs and policies for violations which allows public read or public write access. If AWS Config finds a policy violation for noncompliant S3 bucket, how can you ensure it is remediated automatically?
- With AWS Config, use Amazon CloudWatch, Amazon SNS, and Lambda to overwrite a public bucket ACL.
- There is not automatic option in AWS Config to remediate a non-compliant resource.
- Use AWS Config auto remediation feature for AWS Config rules using existing S3 documents or custom S3 documents.
- Use AWS Config auto remediation feature for AWS Config rules using existing SSM documents or custom SSM documents.
- With AWS Config, use Amazon CloudWatch, Amazon SNS, and Lambda to overwrite a public bucket ACL.
- There is not automatic option in AWS Config to remediate a non-compliant resource.
- Use AWS Config auto remediation feature for AWS Config rules using existing S3 documents or custom S3 documents.
- Use AWS Config auto remediation feature for AWS Config rules using existing SSM documents or custom SSM documents.