Domain 4: Cloud Application Security Flashcards
Mikayla wants to validate a component of her software that she has downloaded from GitHub. How can she validate that the underlying software does not have security flaws when it is downloaded and included in her environment as part of her integration process?
A. Validate the checksum of the file.
B. Validate the signature of the file.
C. Validate the hash of the file.
D. Mikayla cannot ensure that there are no security flaws via the options described.
Answer: D. Mikayla cannot ensure that there are no security flaws via the options described.
Mikayla can’t validate third-party software’s lack of vulnerabilities or other security issues simply by validating that it is signed, that its hash matches an officially posted hash, or that the checksum matches ensuring the file is intact. She’ll need to test the software herself or identify a third party that she can rely on that does appropriate software testing. Even then, the software could still contain flaws.
Lin wants to allow her users to use existing credentials provided by a third-party identity provider when they access her service. What element will she have to provide from the following list?
A. User IDs
B. Authentication
C. Authorization
D. Identity proofing
Answer: C. Authorization
Lin will need to provide authorization to use her organization’s services. The third-party identity provider will supply user IDs and will authenticate them, then provide Lin with a token or validation that the user is who they claim to be. Identity proofing is not necessarily provided by either party in this scenario, which can make accepting third-party credentials challenging if verifying that someone is who they claim to be is important, instead of just allowing access to the service.
Joanna’s software vendor does not provide source code to their clients. In the following list, what is her best option to test the security of the vendor’s software package?
A. Perform static analysis of the software.
B. Implement pair-programming techniques.
C. Review the software for hard-coded secrets.
D. Perform dynamic testing.
Answer: D. Perform dynamic testing.
Joanna knows she can’t access the source code, meaning that static analysis isn’t an option, and that identifying secrets may be difficult.
What SDLC model is most frequently associated with cloud development processes?
A. Agile
B. RAD
C. Spiral
D. Waterfall
Answer: A. Agile
The Agile development model is most frequently associated with cloud services and development. Rapid application development, spiral, and waterfall methods are more frequently associated with traditional development environments, but can be used for cloud services and systems
Susan wants to avoid common pitfalls in cloud application development. Which of the following pitfalls is frequently associated with cloud environments?
A. Reliability of applications built in the cloud
B. Scalability of applications built in the cloud
C. Redundancy of applications built in the cloud
D. Security of applications built in the cloud
Answer: D. Security of applications built in the cloud
Susan knows that cloud services will allow her to build her applications on a reliable, scalable infrastructure that can leverage redundancy in multiple ways. She also knows that
Securing code remains a concern regardless of the environment in which it is built or run.
Susan wants to avoid issues with data integration. She is aware that the OWASP Cloud Top 10 includes service and data integration security issues, and is deploying a REST-based API for her customers to use when accessing her service. She is using API keys, but she is concerned about third parties intercepting and accessing the data. What should she include in her implementation to address this concern?
A. Data tokenization
B. Ensure encryption at rest
C. Ensure encryption in transit
D. Data masking
Answer: C. Ensure encryption in transit
Susan knows that encryption in transit, typically via TLS, is the right solution to prevent third parties from intercepting and accessing data that is sent to her customers via API calls. Tokenization and masking are used to protect data in applications, but they do not meet the need to prevent interception, and the data will be in transit rather than at rest in the scenario described.
Ben wants to gather business requirements for his software development effort and is using an Agile methodology. Which of the following is not a common means of gathering user requirements in an Agile process?
A. Brainstorming
B. Documentation review
C. User observation
D. Surveys
Answer: B. Documentation review
Brainstorming, surveys, workshops, user observation, and many other techniques are commonly used to gather business requirements. Documentation, however, doesn’t involve user
requirements or feedback.
Encryption at rest is a protective design element included in SDLCs for cloud environments due to what common cloud design motif?
A. Rapid elasticity
B. Multitenancy
C. Measured services
D. Scalability
Answer: B. Multitenancy
Since multiple tenants share the same underlying infrastructure, encryption at rest provides protection against inadvertent data exposure or remnant data on reused infrastructure. Elasticity, measured services, and scalability do not require encryption at rest and may in fact result in slightly higher costs due to encryption overhead.
Nick wants to avoid common pitfalls in his CI/CD pipeline. Which of the following is a common CI/CD pitfall that can harm cloud development efforts?
A. Automation of processes
B. Use of metrics
C. Using multiple deployment paths
D. Reliance on a version control system
Answer: C. Using multiple deployment paths
Having multiple deployment paths means that elements or processes in a CI/CD system can be avoided. A single path with an emergency process backing it up helps to avoid this
problem. Automation, use of metrics, and use of version control are all recommended best practices for CI/CD pipelines.
Maria wants to integrate her existing identity provider with her cloud provider’s services. What common standard is used for most cloud identity provider integration?
A. IDPL
B. OpenLDAP
C. SAML
D. ConnectID
Answer: C. SAML
Maria knows that IdPs typically integrate with either OpenID Connect or SAML. OpenLDAP is an open source implementation of LDAP, but it isn’t used for this type of integration since it is a directory service. ConnectID and IDPL were made up for this question.
Jack wants to enable his team to develop cloud-native applications. Which of the following is not a common element in a cloud-native application design?
A. Optimized assembly code
B. Automated release pipelines
C. Containers
D. Microservices
Answer: A. Optimized assembly code
Jack knows that languages that best fit cloud applications make the most sense and that assembly language isn’t likely to fit his CI/CD environment. Use of automated release
pipelines, containers, and microservices is a common element in cloud application development and design.
At which phase of the software development life cycle (SDLC) is user involvement most crucial?
A. Define
B. Design
C. Development
D. Test
Answer: A. Define
While some development models allow for user involvement in the entirety of the process, user input is most necessary in the Define phase, where developers can understand
the business/user requirements— what the system/software is actually supposed to produce, in terms of function and performance. Involvement throughout the process is helpful, but without user input in Define, the entire process won’t have the right starting point.
Brian wants to ensure that he takes the OWASP Top 10 Cloud risks into account in his development process. He knows that regulatory compliance is on the list, and he wants to include it in the SDLC. During what phase of the SDLC would it make the most sense to consider regulatory compliance?
A. Analysis and requirements definition
B. Design
C. Implementation
D. Testing
Answer: A. Analysis and requirements definition
Brian needs to bring up regulatory compliance during the Requirements Gathering phase of the SDLC. If it isn’t a requirement, it won’t make it into the design and implementation.
Testing for regulatory compliance can be challenging as not all compliance can be tested for by technical means.
The testing process that Angie is using for her organization includes access to the design specifications, source code, and running applications. What type of security testing methodology is she using?
A. White box
B. Gray box
C. Red box
D. Black box
Answer: A. White box
Angie is using a white box, or full knowledge, testing methodology. Gray box, or partial knowledge, testing provides some but not all access to an environment or system. Black box, or zero knowledge, testing requires testers to act like attackers without insider knowledge of the systems. Red-box was made up for this question.
The CWE/SANS Top 25 most dangerous software errors includes the use of hard-coded credentials. What common cloud service component can be used to avoid this problem for cloud-hosted software and applications?
A. An MFA token
B. A TPM
C. A KMS
D. An API key
Answer: A. KMS
KMSs, or key management services, are used to securely store and access secrets, allowing them to be used when needed without hard-coding them. TPMs are used to store secrets for hardware devices, MFA tokens are used for multifactor authentication, and API keys are used to securely authenticate to and access APIs, but none of them provides the functionality needed to avoid hard-coded credentials in cloud applications.
Dana’s organization requires an SBOM for each application it deploys. What OWASP Top 10 item does an SBOM help to avoid?
A. Vulnerable and outdated components
B. Broken access control
C. Injection
D. Security misconfiguration
Answer: A. Vulnerable and outdated components
A software bill of materials (SBOM) is used to identify each component in a software package. Dana knows that having a SBOM will help her to track the versions and updates available for each component of her software stack.
A Software Bill of Materials (SBOM) is a detailed inventory of all the components, libraries, and dependencies that make up a software product. It’s like a list of ingredients for a software application, including details like component names, versions, licenses, and dependencies. SBOMs are crucial for understanding software composition, managing dependencies, mitigating security risks, and ensuring compliance.
The company that Yun works for provides API access to customers. Yun wants to rate-limit API access and gather billing information while using a central authorization and access management system. What type of tool should Yun put in place to meet these requirements?
A. An API gateway
B. An API proxy
C. An API firewall
D. A next-generation API manager
Answer: A. An API gateway
API gateways are designed to aggregate API access, provide authentication for API use, rate-limit, and gather statistics and data about API usage. API proxies are used to decouple software components, API firewalls are purpose-built firewalls for APIs that protect specific APIs, and next-generation API managers were made up for this question.
What phase of the SDLC is IAST typically associated with?
A. Design
B. Testing
C. Implementation
D. Deployment
Answer: B. Testing
Interactive application security testing (IAST) uses software instrumentation to monitor applications as they run and to gather information about what occurs and how the software performs. It is normally implemented during the QA or Testing phase of the SDLC.
IAST is a crucial application security testing method for identifying vulnerabilities in web applications, particularly in cloud environments. For CCSP professionals, understanding IAST is vital for developing a strong cloud security strategy. It enables faster vulnerability remediation, improved DevSecOps practices, and enhanced security for cloud applications.
Gary’s cloud service provides customers with access to APIs. Which of the following is a common security flaw in APIs?
A. Use of unstructured data
B. Lack of authentication
C. Use of semi-structured data
D. Lack of encryption
Answer: B. Lack of authentication
Unsecured APIs are a common issue, and lack of authentication is a major problem.
How data is provided— structured, unstructured, or semi-structured— is not a security issue.
Encryption is typically not provided by the API and is instead provided by the web server or underlying service.
Dan wants to encrypt data at rest in his cloud environment. What encryption standard should he look for when encrypting data at rest?
A. TLS
B. AES- 256
C. SSL
D. Blowfish
Answer: B. AES- 256
AES-256 is a commonly accepted and used standard for encrypting data at rest. TLS is used for encrypting data in transit. SSL is outmoded, and Blowfish has known vulnerabilities, including birthday attacks.
Mark wants to ensure that his software vendor is using industry best practices as part of their software validation process. He knows that NIST defines a number of recommended minimums for verification of code by developers. Which of the following is not a NIST recommended minimum standard for vendor or developer verification of code?
A. Use automated testing.
B. Perform code-based (static) analysis.
C. Only check internally developed software.
D. Conduct threat modeling.
Answer: C. Only check internally developed software.
Checking whether the included software is internally or externally developed is a
best practice, and only checking your own components will often leave a lot
of unchecked software in a package. You can find the full list at www.nist
.gov/itl/executive-order-improving-nations-cybersecurity/
recommended-minimum-standard-vendor-or-developer.
Lori wants to ensure that the included software components provided by her vendor are secure. What type of process should she use to conduct an assessment of those packages?
A. A web application vulnerability scan
B. A software composition analysis
C. A vulnerability scan
D. A version number validation process
Answer: B. A software composition analysis
Lori’s best option is to conduct a software composition analysis (SCA) process using an SCA tool that can identify open source libraries and other components. Vulnerability scans won’t identify all of the components associated with software, and a version number validation process was made up for this question.
Christine has documented a software testing user story that states: “As an attacker, I will upload malicious software as part of my form submission, which will exploit the parsing software that reads user submissions.” What type of testing is Christine preparing for?
A. Abuse case testing
B. Static testing
C. QA testing
D. SCA testing
Answer: A. Abuse case testing
Christine is preparing for abuse case testing, which documents abuse of software functionality. Static testing reviews source code, QA testing validates the quality of software, and SCA is software composition analysis, which looks at the underlying components of software.
OWASP’S Application Security Verification Standard (ASVS) has three primary usage models. Which of the following is not an intended usage model based on its design objectives?
A. To be used as a metric
B. To be used for auditing
C. To be used as guidance
D. To be used during procurement
Answer: B. To be used for auditing
ASVS is intended to be used as a metric to assess the degree of trust that can be placed in web applications, to provide guidance to developers on how to build in security controls, and as part of procurement processes to specify application security validation requirements in contracts. It isn’t designed as an audit standard.