3.1
Question 1
A company needs to create an Amazon EC2 test instance one time for a developer. The developer is unfamiliar with command-line tools and wants to use a graphical interface. Which option is most appropriate?
A. AWS Management Console
B. AWS CLI
C. AWS SDK
D. AWS CloudFormation
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** The AWS Management Console provides a web-based graphical interface for performing one-time AWS operations. * **Why distractors are incorrect:** * **B (AWS CLI):** Provides command-line access and is more appropriate when commands need to be scripted or automated. * **C (AWS SDK):** Provides programmatic access to AWS services from application code. * **D (AWS CloudFormation):** Defines and provisions AWS resources using infrastructure as code, which is better suited to repeatable deployments.Question 2
A company frequently deploys identical development environments containing multiple AWS resources. The company wants the deployments to be consistent and repeatable. Which AWS service should it use?
A. AWS CloudFormation
B. AWS Management Console
C. AWS Systems Manager
D. AWS Elastic Beanstalk
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** AWS CloudFormation uses infrastructure as code templates to define, provision, and update collections of AWS resources consistently and repeatedly. * **Why distractors are incorrect:** * **B (AWS Management Console):** Is useful for interactive, one-time operations but is less efficient for repeatedly creating identical environments. * **C (AWS Systems Manager):** Helps operate and manage AWS and hybrid resources but is not primarily an infrastructure provisioning service. * **D (AWS Elastic Beanstalk):** Simplifies application deployment and management but is not the general-purpose infrastructure-as-code service for deploying arbitrary resource collections.Question 3
A systems administrator must perform the same AWS operation every night as part of a scheduled script. Which method provides the most appropriate access to AWS services?
A. AWS CLI
B. AWS Management Console
C. AWS CloudFormation
D. AWS Elastic Beanstalk
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** The AWS CLI provides command-line access that can be incorporated into scripts and automated operational processes. * **Why distractors are incorrect:** * **B (AWS Management Console):** Requires interactive browser-based actions and is not suitable for unattended scheduled scripts. * **C (AWS CloudFormation):** Is designed primarily for repeatable infrastructure provisioning rather than running arbitrary nightly operational commands. * **D (AWS Elastic Beanstalk):** Deploys and operates applications but does not provide general-purpose command-line automation for AWS operations.Question 4
A software company is building a custom application that must call AWS services directly from its application code. Which option should the developers use?
A. AWS SDKs
B. AWS Management Console
C. AWS Systems Manager
D. AWS CloudFormation
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** AWS SDKs provide programming language-specific libraries that allow applications to access AWS service APIs. * **Why distractors are incorrect:** * **B (AWS Management Console):** Is a web-based interface intended for interactive human access, not application integration. * **C (AWS Systems Manager):** Provides resource management and operational capabilities rather than general-purpose application development libraries. * **D (AWS CloudFormation):** Provisions infrastructure from templates and does not replace SDKs for application code integration.Question 5
A company wants to deploy a web application without manually managing the underlying infrastructure. The development team wants AWS to handle common deployment and capacity-management tasks while the team focuses on the application code. Which service is most appropriate?
A. AWS Elastic Beanstalk
B. AWS CloudFormation
C. AWS CLI
D. AWS Systems Manager
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** AWS Elastic Beanstalk simplifies application deployment and management by handling aspects of the underlying environment while allowing developers to focus on application code. * **Why distractors are incorrect:** * **B (AWS CloudFormation):** Provides infrastructure as code and requires the company to define the resources and configuration in templates. * **C (AWS CLI):** Provides command-line access but does not itself provide a managed application deployment platform. * **D (AWS Systems Manager):** Helps manage and operate resources but is not primarily a managed application deployment service.Question 6
An organization has servers running both in AWS and in its corporate data center. The operations team wants a centralized way to perform management tasks across this mixed environment. Which AWS service is most appropriate?
A. AWS Systems Manager
B. AWS Elastic Beanstalk
C. AWS Management Console
D. AWS CloudFormation
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** AWS Systems Manager provides operational management capabilities for AWS resources and hybrid environments, including managed servers outside AWS. * **Why distractors are incorrect:** * **B (AWS Elastic Beanstalk):** Focuses on deploying and managing applications on AWS rather than centrally managing a hybrid server fleet. * **C (AWS Management Console):** Provides a graphical interface but is not itself the centralized hybrid operations service. * **D (AWS CloudFormation):** Provisions AWS infrastructure through templates and is not primarily a cross-environment operational management service.Question 7
A company keeps its database in its on-premises data center but runs its application servers in AWS. The company wants to connect and operate resources across both environments. Which cloud deployment model does this scenario represent?
A. Hybrid cloud
B. Cloud deployment
C. On-premises deployment
D. AWS Management Console deployment
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** A hybrid cloud deployment combines on-premises infrastructure with resources running in the AWS Cloud. * **Why distractors are incorrect:** * **B (Cloud deployment):** Describes an environment hosted entirely in the cloud and does not capture the continued use of on-premises infrastructure. * **C (On-premises deployment):** Describes infrastructure hosted entirely within the company’s facilities. * **D (AWS Management Console deployment):** The console is an access method, not a cloud deployment model.Question 8
A company wants to create repeatable environments and also automate operational commands against those environments. Which two approaches meet these requirements? (Select TWO)
A. Use AWS CloudFormation templates to define the infrastructure
B. Use AWS CLI commands in scripts for operational tasks
C. Perform every operation manually in the AWS Management Console
D. Use AWS Elastic Beanstalk only for all infrastructure types
Click to view Answer & Explanation
**Correct Answer:** A and B **Explanation:** * **Why A is correct:** AWS CloudFormation templates provide a repeatable infrastructure-as-code method for provisioning and updating resources. * **Why B is correct:** AWS CLI commands can be placed in scripts to automate repeatable operational tasks. * **Why distractors are incorrect:** * **C (AWS Management Console):** Is well suited for interactive operations but manual actions are more difficult to repeat consistently and automatically. * **D (AWS Elastic Beanstalk):** Simplifies deployment of supported applications but is not a general-purpose solution for all infrastructure types or operational commands.Question 9
A startup wants all of its application resources to run in AWS and does not plan to maintain servers in its own data center. Which deployment model is being used?
A. Cloud deployment
B. Hybrid cloud deployment
C. On-premises deployment
D. AWS Systems Manager deployment
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** A cloud deployment model hosts the organization’s workloads and infrastructure resources in a cloud environment such as AWS. * **Why distractors are incorrect:** * **B (Hybrid cloud deployment):** Requires a combination of cloud resources and on-premises infrastructure. * **C (On-premises deployment):** Uses infrastructure located in the organization’s own facilities. * **D (AWS Systems Manager deployment):** AWS Systems Manager is an operations service, not a deployment model.Question 10
A company has a repeatable application deployment process. Developers want to trigger deployments from their own programs, while the operations team wants to run the same process from scripts. Which two access methods can provide programmatic access to AWS services? (Select TWO)
A. AWS SDKs
B. AWS CLI
C. AWS Management Console
D. AWS Systems Manager
Click to view Answer & Explanation
**Correct Answer:** A and B **Explanation:** * **Why A is correct:** AWS SDKs allow developers to call AWS service APIs from application code. * **Why B is correct:** The AWS CLI provides command-line access that can be used in scripts and automation workflows. * **Why distractors are incorrect:** * **C (AWS Management Console):** Provides interactive browser-based access rather than programmatic access. * **D (AWS Systems Manager):** Provides operational management capabilities, but it is not an access method equivalent to an SDK or the AWS CLI for general programmatic service calls.Question 11
A company needs to create the same network, compute, and database architecture consistently across development, test, and production environments. Which AWS service is best suited for this requirement?
A. AWS CloudFormation
B. AWS Management Console
C. AWS Systems Manager Session Manager
D. AWS Elastic Beanstalk
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** AWS CloudFormation uses templates to define and provision AWS resources in a repeatable and consistent manner. This is an infrastructure as code (IaC) approach. * **Why B is incorrect:** The AWS Management Console is useful for manual operations but does not provide the same level of repeatability as a template. * **Why C is incorrect:** AWS Systems Manager Session Manager provides secure access to managed instances; it is not primarily used to define complete infrastructure architectures. * **Why D is incorrect:** AWS Elastic Beanstalk simplifies deploying applications but is not the general-purpose service for defining an entire multi-service infrastructure environment.Question 12
A developer needs to make a one-time change to the configuration of an Amazon EC2 instance and prefers a graphical interface. Which method should the developer use?
A. AWS Management Console
B. AWS CloudFormation
C. AWS SDK
D. AWS CLI
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** The AWS Management Console provides a graphical user interface that is well suited for one-time administrative operations. * **Why B is incorrect:** AWS CloudFormation is designed primarily for repeatable infrastructure provisioning through templates. * **Why C is incorrect:** An AWS SDK is generally used by application code to call AWS services programmatically. * **Why D is incorrect:** The AWS CLI is a command-line tool and is not a graphical interface.Question 13
A company wants to automate the launch of AWS resources from scripts running in its deployment pipeline. Which option provides programmatic access to AWS services through command-line commands?
A. AWS CLI
B. AWS Management Console
C. AWS CloudFormation Designer
D. AWS Elastic Beanstalk console
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** The AWS Command Line Interface (AWS CLI) enables users and scripts to interact with AWS services by using command-line commands. * **Why B is incorrect:** The AWS Management Console is a browser-based graphical interface and is less suitable for automated scripts. * **Why C is incorrect:** CloudFormation Designer helps users visualize and edit templates but is not the command-line interface for general AWS service operations. * **Why D is incorrect:** The Elastic Beanstalk console is a graphical management interface for Elastic Beanstalk environments, not a general command-line tool.Question 14
A software company is developing a custom application that must create Amazon S3 buckets and upload objects automatically. The application is written in Python. Which option should the company use?
A. AWS SDK for Python
B. AWS Management Console
C. AWS CloudFormation console
D. AWS Systems Manager Session Manager
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** AWS SDKs provide programming libraries that applications can use to call AWS service APIs. The AWS SDK for Python is commonly known as Boto3. * **Why B is incorrect:** The AWS Management Console is intended for interactive browser-based access rather than application code. * **Why C is incorrect:** The CloudFormation console is used to manage CloudFormation stacks and templates, not to provide application libraries. * **Why D is incorrect:** Session Manager provides secure interactive access to managed nodes and does not provide the standard application interface for creating S3 buckets.Question 15
A company wants to deploy a web application without manually provisioning servers, configuring operating systems, or setting up load balancing. The company wants AWS to manage much of the underlying application environment. Which service is most appropriate?
A. AWS Elastic Beanstalk
B. AWS CLI
C. AWS Systems Manager
D. AWS CloudFormation
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** AWS Elastic Beanstalk simplifies application deployment by provisioning and managing resources such as compute instances, load balancing, and scaling for supported applications. * **Why B is incorrect:** The AWS CLI provides command-line access but does not itself provide a managed application platform. * **Why C is incorrect:** AWS Systems Manager helps operate and manage AWS resources but is not primarily a platform for deploying web applications. * **Why D is incorrect:** AWS CloudFormation can provision infrastructure, but the company would typically need to define and manage more of the infrastructure configuration itself.Question 16
A global organization has a standard infrastructure design that must be deployed repeatedly in multiple AWS Regions. Which two approaches can help create repeatable deployments? (Select TWO)
A. Use AWS CloudFormation templates
B. Use scripts with the AWS CLI
C. Perform every deployment manually in the AWS Management Console
D. Open a separate Systems Manager Session Manager session for each deployment
E. Use a different undocumented configuration for each Region
Click to view Answer & Explanation
**Correct Answers:** A, B **Explanation:** * **Why A is correct:** CloudFormation templates define infrastructure declaratively and can be reused across Regions. * **Why B is correct:** AWS CLI commands can be placed in scripts to automate repeatable provisioning and configuration tasks. * **Why C is incorrect:** Manual console operations are more difficult to repeat consistently and can introduce configuration differences. * **Why D is incorrect:** Session Manager provides access to managed nodes but does not by itself define and reproduce complete infrastructure deployments. * **Why E is incorrect:** Undocumented, inconsistent configurations make deployments difficult to reproduce and manage.Question 17
A systems administrator needs to run the same shell command on a large group of managed EC2 instances without logging in to each instance individually. Which AWS service feature should the administrator use?
A. AWS Systems Manager Run Command
B. AWS Elastic Beanstalk
C. AWS CloudFormation
D. AWS Management Console billing dashboard
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** Systems Manager Run Command allows administrators to execute commands remotely on one or more managed nodes without requiring individual interactive logins. * **Why B is incorrect:** Elastic Beanstalk is an application deployment service, not a general-purpose remote command execution service. * **Why C is incorrect:** CloudFormation provisions and updates infrastructure; it is not designed primarily for running arbitrary operational commands across instances. * **Why D is incorrect:** The billing dashboard provides cost information and does not execute commands on EC2 instances.Question 18
A company wants to store configuration values centrally and retrieve them securely from applications and operational tools. Which AWS Systems Manager capability is designed for this purpose?
A. Parameter Store
B. Session Manager
C. Run Command
D. AWS Elastic Beanstalk
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** Systems Manager Parameter Store provides centralized storage and retrieval of configuration data and parameters, including sensitive values when appropriately configured. * **Why B is incorrect:** Session Manager provides secure shell or command-line access to managed instances. * **Why C is incorrect:** Run Command executes commands on managed nodes but is not primarily a centralized configuration-value store. * **Why D is incorrect:** Elastic Beanstalk deploys and manages applications rather than serving as the general-purpose Systems Manager parameter store.Question 19
A company currently operates its customer database in an on-premises data center but deploys its web and application tiers in AWS. Which cloud deployment model does this describe?
A. Hybrid deployment
B. Cloud-only deployment
C. On-premises deployment
D. AWS Management Console deployment
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** A hybrid deployment combines on-premises infrastructure with resources running in the AWS Cloud. * **Why B is incorrect:** A cloud-only deployment would place the relevant workloads entirely in the cloud. * **Why C is incorrect:** An on-premises deployment would keep the workloads in the company’s own data center rather than using AWS for part of the architecture. * **Why D is incorrect:** The AWS Management Console is an access method, not a cloud deployment model.Question 20
A startup has no existing data center and deploys all of its application resources in AWS. Which deployment model is the startup using?
A. Cloud deployment
B. Hybrid deployment
C. On-premises deployment
D. AWS CLI deployment
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** A cloud deployment uses cloud infrastructure for the workload instead of relying on the organization’s own data center. * **Why B is incorrect:** A hybrid deployment uses both on-premises and cloud infrastructure. * **Why C is incorrect:** An on-premises deployment places workloads in infrastructure owned or operated in the organization’s data center. * **Why D is incorrect:** The AWS CLI is a method of accessing AWS services, not a deployment model.Question 21
A company wants to ensure that a collection of related AWS resources is created and updated together. The company also wants to delete the collection as a unit when a project ends. Which AWS service should it use?
A. AWS CloudFormation
B. AWS SDKs
C. AWS Systems Manager Run Command
D. AWS Elastic Beanstalk application logs
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** CloudFormation manages related resources as a stack, allowing them to be created, updated, and deleted together according to a template. * **Why B is incorrect:** SDKs allow application code to call AWS APIs but do not automatically provide stack-based lifecycle management. * **Why C is incorrect:** Run Command executes commands on managed nodes and does not manage a complete collection of infrastructure resources as a stack. * **Why D is incorrect:** Elastic Beanstalk application logs provide application and environment information; they do not manage arbitrary infrastructure collections.Question 22
A developer is testing a new Amazon EC2 configuration and needs to inspect and modify a resource interactively. The developer does not expect to repeat the operation. Which access method is most appropriate?
A. AWS Management Console
B. AWS CloudFormation template
C. AWS CLI automation script
D. AWS SDK application integration
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** The AWS Management Console is appropriate for interactive, one-time inspection and modification of AWS resources. * **Why B is incorrect:** A CloudFormation template is better suited to repeatable, template-based infrastructure management. * **Why C is incorrect:** An AWS CLI script is useful for automation and repeatability, which are not required in this scenario. * **Why D is incorrect:** An SDK is generally used when software needs to access AWS programmatically, not for a one-time interactive change.Question 23
A company needs a repeatable process to deploy the same application version to development, test, and production. The process should be initiated by automation code rather than by a user clicking through a browser. Which two options meet the access requirement? (Select TWO)
A. AWS CLI commands in an automation script
B. An AWS SDK used by deployment software
C. Manual actions in the AWS Management Console
D. A local interactive Systems Manager Session Manager session
E. A paper-based deployment checklist
Click to view Answer & Explanation
**Correct Answers:** A, B **Explanation:** * **Why A is correct:** The AWS CLI can be invoked by scripts and automation tools to perform repeatable deployment operations. * **Why B is correct:** AWS SDKs allow deployment software to call AWS service APIs programmatically. * **Why C is incorrect:** Manual console actions depend on user interaction and are less suitable for automated repeatable processes. * **Why D is incorrect:** An interactive Session Manager session is primarily for operational access to a managed node, not automated application deployment across environments. * **Why E is incorrect:** A checklist can document a process but cannot programmatically access AWS services.Question 24
A company wants its operations team to connect to EC2 instances without opening inbound SSH ports or maintaining bastion hosts. Which AWS service should the company use?
A. AWS Systems Manager Session Manager
B. AWS Elastic Beanstalk
C. AWS CloudFormation
D. AWS CLI
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** Systems Manager Session Manager provides secure instance access without requiring inbound SSH ports or bastion hosts, when the instances and environment are configured appropriately. * **Why B is incorrect:** Elastic Beanstalk manages application environments but does not provide the primary secure shell access capability described. * **Why C is incorrect:** CloudFormation provisions resources but is not an interactive instance-access service. * **Why D is incorrect:** The AWS CLI can be used to invoke AWS APIs, including Systems Manager operations, but it is not itself the managed instance access capability.Question 25
A company wants developers to deploy application code while minimizing the amount of infrastructure configuration they must manage. Which two characteristics describe a suitable use of AWS Elastic Beanstalk? (Select TWO)
A. It simplifies application deployment
B. It can provision and manage supporting AWS resources for an application environment
C. It requires the company to define every infrastructure resource in a CloudFormation template
D. It is used only to provide command-line access to EC2 instances
E. It is an on-premises deployment model
Click to view Answer & Explanation
**Correct Answers:** A, B **Explanation:** * **Why A is correct:** Elastic Beanstalk is designed to simplify deploying applications. * **Why B is correct:** Elastic Beanstalk can provision and manage resources associated with an application environment, such as compute capacity and load balancing. * **Why C is incorrect:** Requiring every resource to be defined in a CloudFormation template describes a different infrastructure management approach. * **Why D is incorrect:** Command-line access to instances is an operational function that can be provided through Systems Manager and other tools. * **Why E is incorrect:** Elastic Beanstalk is an AWS Cloud service and is not an on-premises deployment model.Question 26
A financial services company requires all infrastructure changes to be reviewed, versioned, and repeatable. Which approach best supports these requirements?
A. Store AWS CloudFormation templates in a version control system
B. Make changes manually in the AWS Management Console
C. Use a separate interactive Session Manager session for every change
D. Ask administrators to remember the required CLI commands
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** CloudFormation templates can be stored in version control, reviewed before deployment, and reused to create consistent infrastructure. * **Why B is incorrect:** Manual console changes are difficult to review, track, and reproduce reliably. * **Why C is incorrect:** Session Manager sessions provide operational access but do not inherently provide version-controlled infrastructure definitions. * **Why D is incorrect:** Relying on memory does not create a reliable or auditable deployment process.Question 27
An application running on an EC2 instance must retrieve information about AWS services by using programming libraries rather than shell commands. Which option should the developers choose?
A. AWS SDKs
B. AWS CLI
C. AWS Management Console
D. AWS CloudFormation Designer
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** AWS SDKs provide language-specific libraries that application code can use to call AWS service APIs. * **Why B is incorrect:** The AWS CLI is a command-line interface, typically used by users and scripts rather than embedded directly as programming libraries. * **Why C is incorrect:** The AWS Management Console is a browser-based interface for interactive users. * **Why D is incorrect:** CloudFormation Designer is a visual tool for working with CloudFormation templates and is not a general programming library.Question 28
A company must perform a single emergency update on one managed EC2 instance. The administrator wants to run a command remotely and record the operation. Which option is most appropriate?
A. AWS Systems Manager Run Command
B. AWS CloudFormation stack creation
C. AWS Elastic Beanstalk environment creation
D. AWS Management Console home page
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** Systems Manager Run Command can execute an operational command remotely on a managed instance and provide command status and output. * **Why B is incorrect:** Creating a CloudFormation stack is intended for resource provisioning, not a one-time operational command on an instance. * **Why C is incorrect:** Creating an Elastic Beanstalk environment is an application deployment activity, not an instance maintenance operation. * **Why D is incorrect:** The console home page provides access to AWS services but does not itself execute the required command.Question 29
A company has an existing application in its data center but wants to gradually move selected application components to AWS while keeping other components on-premises during the transition. Which two statements correctly describe this approach? (Select TWO)
A. It is a hybrid deployment
B. It can allow workloads to remain distributed between on-premises infrastructure and AWS
C. It is an entirely on-premises deployment
D. It requires all workloads to be moved to AWS immediately
E. It refers to using only the AWS Management Console
Click to view Answer & Explanation
**Correct Answers:** A, B **Explanation:** * **Why A is correct:** Combining AWS resources with on-premises infrastructure is a hybrid deployment. * **Why B is correct:** A hybrid architecture can keep some components on-premises while other components run in AWS. * **Why C is incorrect:** An entirely on-premises deployment does not use AWS for any part of the workload. * **Why D is incorrect:** A hybrid deployment does not require all workloads to be migrated immediately. * **Why E is incorrect:** The AWS Management Console is an access method, not a deployment model.Question 30
A company is creating a standardized environment for a large number of development teams. Each environment must use the same resource configuration and be easy to recreate after deletion. Which two solutions are appropriate? (Select TWO)
A. AWS CloudFormation templates
B. Automated AWS CLI scripts
C. Manual resource creation through the console for each team
D. Individual Session Manager sessions
E. Separate undocumented settings chosen by each developer
Click to view Answer & Explanation
**Correct Answers:** A, B **Explanation:** * **Why A is correct:** CloudFormation templates provide a declarative, repeatable way to create standardized environments. * **Why B is correct:** AWS CLI scripts can automate resource creation and configuration consistently. * **Why C is incorrect:** Manual console creation for every team is time-consuming and increases the risk of configuration differences. * **Why D is incorrect:** Session Manager sessions are used to access managed instances, not to recreate complete development environments. * **Why E is incorrect:** Undocumented individual settings prevent standardization and make environments difficult to reproduce.Question 31
A company has a deployment team that prefers to use a browser-based interface for occasional application releases. The team wants AWS to handle much of the underlying environment management. Which option is most appropriate?
A. AWS Elastic Beanstalk through the AWS Management Console
B. AWS Systems Manager Run Command only
C. AWS SDK for Java only
D. AWS CloudFormation without an application platform
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** Elastic Beanstalk supports application deployments and environment management, and it can be operated through the AWS Management Console. * **Why B is incorrect:** Run Command executes commands on managed nodes but is not a complete managed application deployment platform. * **Why C is incorrect:** An SDK is a programmatic access method and would require deployment software to be written or used. * **Why D is incorrect:** CloudFormation can provision infrastructure, but it does not by itself provide the same application-focused deployment experience as Elastic Beanstalk.Question 32
A company wants an operations application to start and stop AWS resources based on an internal schedule. Which method provides programmatic access from application code?
A. AWS SDK
B. AWS Management Console
C. AWS Systems Manager Session Manager interactive access
D. Manual AWS CloudFormation template editing
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** An AWS SDK allows application code to call AWS service APIs and perform operations programmatically. * **Why B is incorrect:** The Management Console is designed for interactive browser-based actions and is not intended for application automation. * **Why C is incorrect:** Session Manager provides interactive access to managed instances rather than a general application programming interface. * **Why D is incorrect:** Editing a CloudFormation template manually does not itself provide the application with runtime programmatic access.Question 33
A company has a stable infrastructure design and wants to reduce errors caused by administrators manually selecting resource settings. Which AWS service can define the desired infrastructure configuration in a template?
A. AWS CloudFormation
B. AWS Systems Manager Session Manager
C. AWS Elastic Beanstalk application dashboard
D. AWS Management Console resource search
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** CloudFormation templates define the desired AWS resources and their configuration, helping reduce manual provisioning errors. * **Why B is incorrect:** Session Manager provides access to managed nodes and does not define the desired state of an entire infrastructure environment. * **Why C is incorrect:** The Elastic Beanstalk dashboard manages application environments but is not the general-purpose template service for infrastructure definitions. * **Why D is incorrect:** Resource search helps locate resources but does not define or provision infrastructure.Question 34
A company wants to use a command-line tool to inspect the status of an AWS CloudFormation stack from a build server. Which option should the company use?
A. AWS CLI
B. AWS Management Console
C. AWS Systems Manager Parameter Store
D. AWS Elastic Beanstalk environment URL
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** The AWS CLI can be installed on a build server and used to query and manage CloudFormation stacks through commands. * **Why B is incorrect:** The Management Console provides a browser-based interface and is not the preferred command-line method for a build server. * **Why C is incorrect:** Parameter Store stores configuration parameters and does not provide the general command-line interface described. * **Why D is incorrect:** An Elastic Beanstalk environment URL is an application endpoint, not a tool for inspecting CloudFormation stack status.Question 35
A company wants to maintain a small set of servers in its data center but deploy new customer-facing services in AWS. Which two facts are consistent with this deployment strategy? (Select TWO)
A. The strategy is a hybrid deployment
B. The company can use AWS services while retaining some on-premises resources
C. The strategy is cloud-only because it uses AWS
D. The strategy requires the company to eliminate its data center
E. The strategy can be managed only through the AWS Management Console
Click to view Answer & Explanation
**Correct Answers:** A, B **Explanation:** * **Why A is correct:** A deployment that combines on-premises resources with AWS resources is hybrid. * **Why B is correct:** Hybrid deployments allow an organization to continue operating selected on-premises systems while using AWS for other workloads. * **Why C is incorrect:** Cloud-only means that the relevant workloads are fully deployed in the cloud; retaining data center resources makes the strategy hybrid. * **Why D is incorrect:** A hybrid strategy does not require immediate elimination of the data center. * **Why E is incorrect:** AWS resources can be accessed through the console, CLI, SDKs, and other methods; the console is not the only option.Question 36
A development team needs to deploy the same application package repeatedly and wants a service that automatically manages the application environment. Which service is the best fit?
A. AWS Elastic Beanstalk
B. AWS Systems Manager Parameter Store
C. AWS CLI help command
D. AWS Management Console account settings
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** Elastic Beanstalk is designed to deploy applications and manage their underlying environments, making it suitable for repeated application deployments. * **Why B is incorrect:** Parameter Store manages configuration values and parameters, not complete application environments. * **Why C is incorrect:** The AWS CLI is an access tool and does not itself manage an application environment. * **Why D is incorrect:** Account settings are administrative configuration options and are not an application deployment service.Question 37
An administrator wants to automate a repeatable server configuration task across many managed instances. Which two methods can be used to initiate the operation programmatically? (Select TWO)
A. AWS CLI commands that invoke Systems Manager
B. An AWS SDK application that invokes Systems Manager
C. Manually selecting each instance in the AWS Management Console
D. Using an Elastic Beanstalk application URL
E. Editing an instance through a web browser without saving the procedure
Click to view Answer & Explanation
**Correct Answers:** A, B **Explanation:** * **Why A is correct:** The AWS CLI can invoke Systems Manager operations from scripts or automation tools. * **Why B is correct:** An AWS SDK can be used by application code to call Systems Manager APIs programmatically. * **Why C is incorrect:** Manual console actions are interactive and are less suitable for repeatable automation across many instances. * **Why D is incorrect:** An application URL provides access to an application and does not initiate Systems Manager operations. * **Why E is incorrect:** An unsaved browser operation does not create a repeatable or programmatic process.Question 38
A company is evaluating how users and applications will interact with AWS services. Which two options are valid methods of accessing AWS services? (Select TWO)
A. AWS Management Console
B. AWS SDKs
C. An on-premises deployment model
D. A hybrid deployment model
E. An AWS Region as an access tool
Click to view Answer & Explanation
**Correct Answers:** A, B **Explanation:** * **Why A is correct:** The AWS Management Console provides browser-based access to AWS services. * **Why B is correct:** AWS SDKs provide programmatic access to AWS services from application code. * **Why C is incorrect:** An on-premises deployment model describes where workloads run, not how AWS services are accessed. * **Why D is incorrect:** A hybrid deployment model describes an architecture that combines cloud and on-premises resources. * **Why E is incorrect:** An AWS Region is a geographic area containing AWS infrastructure; it is not an access method.Question 39
A company is choosing between manual and automated provisioning. The company expects to create hundreds of nearly identical environments over several years. Which approach is most appropriate?
A. Use infrastructure as code with AWS CloudFormation
B. Create each environment manually in the AWS Management Console
C. Use individual Session Manager sessions to build every environment
D. Ask developers to configure each environment differently
Click to view Answer & Explanation
**Correct Answer:** A **Explanation:** * **Why A is correct:** Infrastructure as code with CloudFormation supports repeatable, standardized, and scalable provisioning of many similar environments. * **Why B is incorrect:** Manual provisioning is inefficient at this scale and can result in inconsistent configurations. * **Why C is incorrect:** Session Manager is intended for managed-node access and operations, not complete environment provisioning. * **Why D is incorrect:** Different configurations prevent standardization and make environments harder to operate and troubleshoot.Question 40
A company wants to quickly test a resource setting in a nonproduction account and does not need to preserve the procedure for future use. Which option is most suitable?
A. Make the change using the AWS Management Console
B. Build a CloudFormation template and version-control it
C. Develop an AWS SDK application
D. Create an automated AWS CLI deployment pipeline