A company has a single developer writing code for an automated deployment pipeline. The developer is storing source code in an Amazon S3 bucket for each project. The company wants to add more developers to the team but is concerned about code conflicts and lost work The company also wants to build a test environment to deploy newer versions of code for testing and allow developers to automatically deploy to both environments when code is changed in the repository.
What is the MOST efficient way to meet these requirements?
A company is using AWS Organizations to create separate AWS accounts for each of its departments The company needs to automate the following tasks
* Update the Linux AMIs with new patches periodically and generate a golden image
* Install a new version to Chef agents in the golden image, is available
* Provide the newly generated AMIs to the department's accounts
Which solution meets these requirements with the LEAST management overhead'?
Amazon EC2 Image Builder is a service that automates the creation, management, and deployment of customized, secure, and up-to-date server images that are pre-installed with software and configuration settings tailored to meet specific IT standards. EC2 Image Builder simplifies the creation and maintenance of golden images, and makes it easy to generate images for multiple platforms, such as Amazon EC2 and on-premises. EC2 Image Builder also integrates with AWS Resource Access Manager, which allows you to share your images across accounts within your organization or with external AWS accounts. This solution meets the requirements of automating the tasks of updating the Linux AMIs, installing the Chef agent, and providing the images to the department's accounts with the least management overhead.Reference:
Sharing EC2 Image Builder images
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?
A company has a mobile application that makes HTTP API calls to an Application Load Balancer (ALB). The ALB routes requests to an AWS Lambda function. Many different versions of the application are in use at any given time, including versions that are in testing by a subset of users. The version of the application is defined in the user-agent header that is sent with all requests to the API.
After a series of recent changes to the API, the company has observed issues with the application. The company needs to gather a metric for each API operation by response code for each version of the application that is in use. A DevOps engineer has modified the Lambda function to extract the API operation name, version information from the user-agent header and response code.
Which additional set of actions should the DevOps engineer take to gather the required metrics?
A company uses AWS Organizations to manage its AWS accounts. The organization root has a child OU that is named Department. The Department OU has a child OU that is named Engineering. The default FullAWSAccess policy is attached to the root, the Department OU. and the Engineering OU.
The company has many AWS accounts in the Engineering OU. Each account has an administrative 1AM role with the AdmmistratorAccess 1AM policy attached. The default FullAWSAccessPolicy is also attached to each account.
A DevOps engineer plans to remove the FullAWSAccess policy from the Department OU The DevOps engineer will replace the policy with a policy that contains an Allow statement for all Amazon EC2 API operations.
What will happen to the permissions of the administrative 1AM roles as a result of this change'?
* Impact of Removing FullAWSAccess and Adding Policy for EC2 Actions:
The FullAWSAccess policy allows all actions on all resources by default. Removing this policy from the Department OU will limit the permissions that accounts within this OU inherit from the parent OU.
Adding a policy that allows only Amazon EC2 API operations will restrict the permissions to EC2 actions only.
* Permissions of Administrative IAM Roles:
The administrative IAM roles in the Engineering OU have the AdministratorAccess policy attached, which grants full access to all AWS services and resources.
Since SCPs are restrictions that apply at the organizational level, removing FullAWSAccess and replacing it with a policy allowing only EC2 actions means that for all accounts in the Engineering OU:
They will have full access to EC2 actions due to the new SCP.
They will be restricted in other actions that are not covered by the SCP, hence, non-EC2 API actions will be denied.
* Conclusion:
All API actions on EC2 resources will be allowed.
All other API actions will be denied due to the absence of a broader allow policy.
Grover
Beckie
29 days agoAlyce
2 months agoMelissia
4 months agoHaydee
5 months agoTruman
6 months agoNida
6 months agoArlean
6 months agoFelicidad
7 months agoSophia
7 months agoGeorgeanna
7 months agoIluminada
8 months agoMariann
8 months agoShelia
8 months agoHoney
9 months agoAshlyn
9 months agoKanisha
9 months agoMireya
10 months agoTyisha
10 months agoCasie
10 months agoCheryl
10 months agoLon
11 months agoEmeline
12 months agoElmer
1 years agoJustine
1 years agoJosefa
1 years agoVernice
1 years agoMilly
1 years agoCherilyn
1 years agoHerman
1 years ago